Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30990/src/net/sourceforge/bprocessor/gui/treeview
Modified Files:
SpacesTreeView.java
Log Message:
Removed some usage of ConstructionSpace/FunctionalSpace
Index: SpacesTreeView.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview/SpacesTreeView.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** SpacesTreeView.java 11 Dec 2005 17:27:54 -0000 1.10
--- SpacesTreeView.java 12 Dec 2005 10:06:21 -0000 1.11
***************
*** 10,15 ****
import net.sourceforge.bprocessor.kernel.notification.NotificationListener;
import net.sourceforge.bprocessor.kernel.notification.Notifier;
- import net.sourceforge.bprocessor.model.ConstructionSpace;
- import net.sourceforge.bprocessor.model.FunctionalSpace;
import net.sourceforge.bprocessor.model.Project;
import net.sourceforge.bprocessor.model.Space;
--- 10,13 ----
***************
*** 69,73 ****
if (type.equals(Notification.FUNCTIONAL_SPACE_CREATED)) {
! FunctionalSpace fs = Project.getInstance().findFunctionalSpaceById(n.getObject());
RootNode rn = (RootNode)getModel().getRoot();
--- 67,71 ----
if (type.equals(Notification.FUNCTIONAL_SPACE_CREATED)) {
! Space fs = Project.getInstance().findFunctionalSpaceById(n.getObject());
RootNode rn = (RootNode)getModel().getRoot();
***************
*** 109,113 ****
} else if (type.equals(Notification.CONSTRUCTION_SPACE_CREATED)) {
! ConstructionSpace cs = Project.getInstance().findConstructionSpaceById(n.getObject());
RootNode rn = (RootNode)getModel().getRoot();
--- 107,111 ----
} else if (type.equals(Notification.CONSTRUCTION_SPACE_CREATED)) {
! Space cs = Project.getInstance().findConstructionSpaceById(n.getObject());
RootNode rn = (RootNode)getModel().getRoot();
|