asv [Thu, 27 Jan 2005 08:17:22 +0000 (08:17 +0000)]
Fix for PAL7823 (checking for if study is locked before doing New Dataflow command).
Also some re-engineering of the code: new function createDataflow() is introduced, it combines functionality of the 3 commands: newDataflow(), importDataflow(), modifyDataflow(). These 3 functions did basically the same thing, with slight differences, which are implemented in createDataflow() using 'mode' parameter.
asv [Thu, 27 Jan 2005 06:13:30 +0000 (06:13 +0000)]
The graph is modified in order to be executable. Invalid link from the first node (some obj_ref out-port) to a Gate port of the second node is removed.
asv [Wed, 26 Jan 2005 13:38:37 +0000 (13:38 +0000)]
Fix for PAL7164: after analysis of the bug, it was found out that PublishInStudy() in GEOM was called twice from Supervisor. It was done from CanvasPort::sync() function. Since sync() is an asinchronious function, it is called when a signal comes, and in other occasions, it was decided to move the put_in_study functionality to another place - to execute() function of Main, which handles events coming from Engine.
If an event is "Node has successfully finished execution", then its CanvasOutPorts are analized, and if some port has "myIsInStudy" flag - then value of this port is put into study.
It fixes the bug, since execute() is called exactly once on every event (controlled by Supervisor Engine).
asv [Wed, 26 Jan 2005 13:33:35 +0000 (13:33 +0000)]
Changes in getPopupMenu() memthod:
myDeleteItem was removed from the class, it was deactivated in CanvasCellNode - successor of CanvasNode, now it is not even added to CanvasNode's menu if the view_type is TABLE.
asv [Wed, 26 Jan 2005 13:31:48 +0000 (13:31 +0000)]
Commented out setNodeName() methods of CanvasCellNode and CanvasCellEndNodes, and getPopupMenu() method of CanvasCellNode.
setNodeName() : decided to remove all node "edition" operations from CellNodes (delete node, rename node), becase it produces bugs in unsynchronization between CanvasNode-s and CanvasCellNode-s.
getPopupMenu() : before myDeleteItem was deactivated in CanvasCellNode, now it is not even added to CanvasNode's menu if the view_type is TABLE.
asv [Mon, 24 Jan 2005 13:12:34 +0000 (13:12 +0000)]
FindContainer() method does not exist any more. FindOrLoad_Component() starts the container for us. If it fails to start the container, then it returns nil component. We don't need to check for if the container was successfully started.