[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/tool SelectTool.java,1.46,1.47
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2005-12-12 10:06:00
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30874/src/net/sourceforge/bprocessor/gl/tool Modified Files: SelectTool.java Log Message: Removed some usage of ConstructionSpace/FunctionalSpace Index: SelectTool.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/SelectTool.java,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** SelectTool.java 11 Dec 2005 17:58:32 -0000 1.46 --- SelectTool.java 12 Dec 2005 10:05:52 -0000 1.47 *************** *** 19,24 **** import net.sourceforge.bprocessor.model.Vertex; import net.sourceforge.bprocessor.model.Surface; - import net.sourceforge.bprocessor.model.FunctionalSpace; - import net.sourceforge.bprocessor.model.ConstructionSpace; import net.sourceforge.bprocessor.model.Space; --- 19,22 ---- *************** *** 244,248 **** side.equals("front")); domainItem.addActionListener(ml); ! if (domain instanceof FunctionalSpace) { funcMenu.add(domainItem); } else { --- 242,246 ---- side.equals("front")); domainItem.addActionListener(ml); ! if (domain.isFunctionalSpace()) { funcMenu.add(domainItem); } else { *************** *** 429,433 **** } } else if (n.getType().equals(Notification.FUNCTIONAL_SPACE_SELECTED)) { ! FunctionalSpace fs = Project.getInstance().findFunctionalSpaceById(n.getObject()); Set s = fs.getSurfaces(); --- 427,431 ---- } } else if (n.getType().equals(Notification.FUNCTIONAL_SPACE_SELECTED)) { ! Space fs = Project.getInstance().findFunctionalSpaceById(n.getObject()); Set s = fs.getSurfaces(); *************** *** 440,444 **** } } else if (n.getType().equals(Notification.FUNCTIONAL_SPACE_DESELECTED)) { ! FunctionalSpace fs = Project.getInstance().findFunctionalSpaceById(n.getObject()); Set s = fs.getSurfaces(); --- 438,442 ---- } } else if (n.getType().equals(Notification.FUNCTIONAL_SPACE_DESELECTED)) { ! Space fs = Project.getInstance().findFunctionalSpaceById(n.getObject()); Set s = fs.getSurfaces(); *************** *** 451,455 **** } } else if (n.getType().equals(Notification.CONSTRUCTION_SPACE_SELECTED)) { ! ConstructionSpace cs = Project.getInstance().findConstructionSpaceById(n.getObject()); Set s = cs.getSurfaces(); --- 449,453 ---- } } else if (n.getType().equals(Notification.CONSTRUCTION_SPACE_SELECTED)) { ! Space cs = Project.getInstance().findConstructionSpaceById(n.getObject()); Set s = cs.getSurfaces(); *************** *** 462,466 **** } } else if (n.getType().equals(Notification.CONSTRUCTION_SPACE_DESELECTED)) { ! ConstructionSpace cs = Project.getInstance().findConstructionSpaceById(n.getObject()); Set s = cs.getSurfaces(); --- 460,464 ---- } } else if (n.getType().equals(Notification.CONSTRUCTION_SPACE_DESELECTED)) { ! Space cs = Project.getInstance().findConstructionSpaceById(n.getObject()); Set s = cs.getSurfaces(); |