Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31493/src/net/sourceforge/bprocessor/gl/tool
Modified Files:
CreateSpaceActionListener.java
Log Message:
Fixed types so the id field is now correct aswell. Also added so types are saved and loaded.
Index: CreateSpaceActionListener.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/CreateSpaceActionListener.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** CreateSpaceActionListener.java 17 Dec 2006 20:24:50 -0000 1.14
--- CreateSpaceActionListener.java 6 Jan 2007 21:11:08 -0000 1.15
***************
*** 22,26 ****
import java.awt.event.MouseListener;
- import net.sourceforge.bprocessor.model.Attribute;
import net.sourceforge.bprocessor.model.Project;
import net.sourceforge.bprocessor.model.Surface;
--- 22,25 ----
***************
*** 114,118 ****
if (functional) {
dialog = new JDialog(GUI.getInstance(), "Create Functional Space", true);
! cta = new ClassificationTextAttribute(
new Attribute("Classification", Project.getInstance().getFunctionalClas(), null, 1));
} else {
--- 113,117 ----
if (functional) {
dialog = new JDialog(GUI.getInstance(), "Create Functional Space", true);
! /*cta = new ClassificationTextAttribute(
new Attribute("Classification", Project.getInstance().getFunctionalClas(), null, 1));
} else {
***************
*** 120,123 ****
--- 119,123 ----
cta = new ClassificationTextAttribute(
new Attribute("Classification", Project.getInstance().getConstructionClas(), null, 1));
+ */
}
Container dialogContent = dialog.getContentPane();
|