|
@@ -332,7 +332,7 @@ public class FlexWindow extends JFrame {
|
|
|
listOfAllSelectedHolonObjects.removeAllChildren();
|
|
|
//Init with HolonObjects
|
|
|
for(AbstractCpsObject aCps: model.getSelectedCpsObjects()) {
|
|
|
- DefaultMutableTreeNode newObjectChild = new DefaultMutableTreeNode(aCps.getName());
|
|
|
+ DefaultMutableTreeNode newObjectChild = new DefaultMutableTreeNode(aCps.getName() + " ID:" + aCps.getId());
|
|
|
if(aCps instanceof HolonObject) expandTreeHolonObject((HolonObject)aCps, newObjectChild);
|
|
|
if(aCps instanceof CpsUpperNode)expandTreeUpperNode((CpsUpperNode)aCps, newObjectChild);
|
|
|
listOfAllSelectedHolonObjects.add(newObjectChild);
|
|
@@ -369,7 +369,7 @@ public class FlexWindow extends JFrame {
|
|
|
|
|
|
private void expandTreeUpperNode(CpsUpperNode groupNode, DefaultMutableTreeNode root) {
|
|
|
for(AbstractCpsObject aCps: groupNode.getNodes()) {
|
|
|
- DefaultMutableTreeNode newObjectChild = new DefaultMutableTreeNode(aCps.getName() + "ID:" + aCps.getId());
|
|
|
+ DefaultMutableTreeNode newObjectChild = new DefaultMutableTreeNode(aCps.getName() + " ID:" + aCps.getId());
|
|
|
if(aCps instanceof HolonObject) expandTreeHolonObject((HolonObject)aCps, newObjectChild);
|
|
|
if(aCps instanceof CpsUpperNode)expandTreeUpperNode((CpsUpperNode)aCps, newObjectChild);
|
|
|
root.add(newObjectChild);
|