Ignore:
Timestamp:
04/19/07 16:11:02 (17 years ago)
Author:
x07vasba
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.uml.sysml.diagram2/src/org/modelica/uml/sysml/diagram2/part/SysmlInheritanceDiagramAction.java

    r498 r499  
    309309
    310310            //Get the children list before creation
    311             List oldChildrenList = editPart.getChildren();
    312 
     311             List oldChildrenList = new LinkedList();
     312             oldChildrenList.addAll(editPart.getChildren());
     313             
    313314            // Create the new element
    314315            DiagramCommandStack commandStack = editPart.getDiagramEditDomain()
     
    317318            //Get the children list after creation
    318319            //and remove the old ones
    319             List newChildrenList = editPart.getChildren();
     320            List newChildrenList = new LinkedList();
     321            newChildrenList = editPart.getChildren();;
    320322            newChildrenList.removeAll(oldChildrenList);
    321323
Note: See TracChangeset for help on using the changeset viewer.