QString getHashCode()
{ return myHashCode; };
-
+
+ bool isDataflowInStudy() const;
bool isEditable()
{ if (SUPERV_isNull(dataflow)) return false;
return !dataflow->IsReadOnly(); };
- bool isFromStudy() { return myIsFromStudy; }
- void setAsFromStudy(bool theToStudy);
- void checkIsInStudy();
-
void addComputeNode(SUPERV_CNode theNode);
void addControlNode(SUPERV_CNode theStartNode, SUPERV_CNode theEndNode, bool Update);
void addGOTONode(SUPERV_CNode theNode);
void Editing(); // any Editing operation is to be performed ->
// activate Editors data model in Engine
+ bool ReadyToModify(); // must be called before any modification
+ // operation - asks to kill execution of dataflow. If returns false -
+ // modification (==Editing() ) is not allowed.
void removeArrayChild(SUPERV::CNode_ptr theNode);
void execute(char * theNodeNode, SUPERV::GraphState theNodeState);
void sync();
void syncAsync();
- bool addStudy();
+ void addDataflowToStudy();
void insertFile();
void addNode();
void changeInformation();
QAD_ObjectBrowser* objectBrowser;
QAD_Message* message;
- GraphViewType myCurrentView;
+ GraphViewType myCurrentView;
SUPERVGUI_CanvasArray* myArray;
SUPERVGUI_ArrayView* myArrayView;
SUPERVGUI_Canvas* myCanvas;
QPtrList< char * > myEventNodes ;
QPtrList< SUPERV::GraphState > myStates ;
QTimer* myTimer;
-
- bool myExecuted; // asv 02.02.05 : set to true on first dataflow execution
- // is needed for correct publishing objects in Study
};
class SUPERVGUI_Thread : public QObject, public QThread {