Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24044/src/net/sourceforge/bprocessor/gui/treeview
Modified Files:
GenericTreeView.java
Log Message:
Implemented a "Relate" command that creates a relation between a new coordinate-system and the selected objects.
Changed alt-move to also be able to move a coordinate-system
Index: GenericTreeView.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview/GenericTreeView.java,v
retrieving revision 1.73
retrieving revision 1.74
diff -C2 -d -r1.73 -r1.74
*** GenericTreeView.java 4 Mar 2007 23:14:50 -0000 1.73
--- GenericTreeView.java 6 Mar 2007 10:41:29 -0000 1.74
***************
*** 725,728 ****
--- 725,729 ----
CoordinateSystem system = (CoordinateSystem) constructor;
add(new ContainerNode("Relations", system.relations()));
+ update(system);
}
}
***************
*** 740,743 ****
--- 741,745 ----
*/
public void update(Object o) {
+
if (o instanceof Constructor) {
if (updated == o) {
|