Changeset 500 for trunk/org.modelica.uml.sysml.diagram2
- Timestamp:
- 04/19/07 18:50:45 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.uml.sysml.diagram2/src/org/modelica/uml/sysml/diagram2/part/SysmlInheritanceDiagramAction.java
r499 r500 3 3 import java.util.List; 4 4 import java.util.LinkedList; 5 import java.util.ArrayList; 5 6 import java.util.Iterator; 6 7 … … 51 52 this.label = label; 52 53 this.actionType = actionType; 53 createdNodes = new LinkedList<CustomNode>();54 createdNodes = new ArrayList<CustomNode>(); 54 55 } 55 56 … … 141 142 classType = classType.substring(1, classType.length()-1); 142 143 144 //Out of memory debugging 145 if(createdNodes.size()== 88){ 146 int breakp = 0; 147 } 148 143 149 createdEditPart = createEmptyNodeEditPart(classType); 144 150 createdNode = new CustomNode(classType.trim(),classes[i],createdEditPart); 151 145 152 createdNodes.add(createdNode); 146 153 … … 319 326 //and remove the old ones 320 327 List newChildrenList = new LinkedList(); 321 newChildrenList = editPart.getChildren();;328 newChildrenList.addAll(editPart.getChildren()); 322 329 newChildrenList.removeAll(oldChildrenList); 323 330
Note: See TracChangeset
for help on using the changeset viewer.