Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4819/src/net/sourceforge/bprocessor/gl/tool
Modified Files:
SelectStrategy.java
Log Message:
create union, displays net, detail renamed to edit, doubleclick edits union
Index: SelectStrategy.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/SelectStrategy.java,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** SelectStrategy.java 24 Jan 2008 10:35:31 -0000 1.30
--- SelectStrategy.java 13 Feb 2008 08:43:07 -0000 1.31
***************
*** 296,299 ****
--- 296,308 ----
Geometric.connected(Selection.primary(), false);
Selection.primary().set(geometrics);
+ if (Selection.primary().size() == 1) {
+ Geometric leader = Selection.primary().iterator().next();
+ if (leader instanceof Container) {
+ Container space = (Container) leader;
+ if (space.isUnion()) {
+ space.edit();
+ }
+ }
+ }
}
} else {
|