Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23568/src/net/sourceforge/bprocessor/gui/treeview
Modified Files:
DBKTreeView.java
Log Message:
load of types works
Index: DBKTreeView.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview/DBKTreeView.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** DBKTreeView.java 9 Aug 2007 16:07:48 -0000 1.5
--- DBKTreeView.java 10 Aug 2007 09:26:57 -0000 1.6
***************
*** 38,42 ****
root.add(new ClassificationContainer(Project.getConstructionClas()));
root.add(new ClassificationContainer(Project.getFunctionalClas()));
! root.add(new ClassificationTypeContainer(Project.getClassificatioTypes()));
model.nodeStructureChanged(root);
}
--- 38,42 ----
root.add(new ClassificationContainer(Project.getConstructionClas()));
root.add(new ClassificationContainer(Project.getFunctionalClas()));
! root.add(new ClassificationTypeContainer(Project.getClassificationTypes()));
model.nodeStructureChanged(root);
}
***************
*** 49,53 ****
((GenericNode)root.getChildAt(0)).update(Project.getConstructionClas());
((GenericNode)root.getChildAt(1)).update(Project.getFunctionalClas());
! ((GenericNode)root.getChildAt(2)).update(Project.getClassificatioTypes());
}
}
--- 49,53 ----
((GenericNode)root.getChildAt(0)).update(Project.getConstructionClas());
((GenericNode)root.getChildAt(1)).update(Project.getFunctionalClas());
! ((GenericNode)root.getChildAt(2)).update(Project.getClassificationTypes());
}
}
|