Changeset 2177

Show
Ignore:
Timestamp:
05/22/08 14:05:05 (6 months ago)
Author:
apatel
Message:

oops...! fixed for all types of the network shape.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/framework-plugin/src/com/tresys/framework/plugin/wizards/shape/NetworkResourceShapePropertyWizard.java

    r2176 r2177  
    7474                //set the rdef 
    7575                component.Add (rdef, new Token (rdef.GetName (), getShape ().getErrorHandler ())); 
     76                // Network only contains one system resource. 
     77                component.ClearSystemResources (rdef); 
    7678 
    7779                String shape_name = m_page1.getShapeName (); 
     
    8688                        NetworkInfo info = new NetworkInfo (null, m_page1.localIPAddress, null, ports); 
    8789                        LabeledNetworkResource ip_lab = new LabeledNetworkResource (info, rdef); 
    88                         component.ClearSystemResources (rdef); 
    8990                        component.AddSystemResource (rdef, ip_lab); 
    9091