From: <jsa...@us...> - 2009-01-11 19:08:59
|
Revision: 116 http://flexotask.svn.sourceforge.net/flexotask/?rev=116&view=rev Author: jsauerbach Date: 2009-01-11 19:08:55 +0000 (Sun, 11 Jan 2009) Log Message: ----------- Give the GlobalTiming model element an explicit parent (the TaskDiagram) to aid in navigating the model. Modified Paths: -------------- trunk/flexotask-editor/src/com/ibm/realtime/flexotask/editor/model/TaskDiagram.java Modified: trunk/flexotask-editor/src/com/ibm/realtime/flexotask/editor/model/TaskDiagram.java =================================================================== --- trunk/flexotask-editor/src/com/ibm/realtime/flexotask/editor/model/TaskDiagram.java 2009-01-11 12:13:09 UTC (rev 115) +++ trunk/flexotask-editor/src/com/ibm/realtime/flexotask/editor/model/TaskDiagram.java 2009-01-11 19:08:55 UTC (rev 116) @@ -408,6 +408,7 @@ } // Set the new value setTiming(timing); + timing.setParent(this); // Ensure the controller knows of the new value (which may be null) if (timing != null && children.add(timing)) { firePropertyChange(CHILD_ADDED_PROP, null, timing); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |