Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor.srcinfo.editparts
Class SourceContainerCompartmentEditPart.SourceContainerConnectionRefreshMgr

java.lang.Object
  extended by ConnectionRefreshMgr
      extended by com.ibm.etools.systems.application.visual.editor.srcinfo.editparts.SourceContainerCompartmentEditPart.SourceContainerConnectionRefreshMgr
Enclosing class:
SourceContainerCompartmentEditPart

public static class SourceContainerCompartmentEditPart.SourceContainerConnectionRefreshMgr
extends ConnectionRefreshMgr


Constructor Summary
SourceContainerCompartmentEditPart.SourceContainerConnectionRefreshMgr()
           
 
Method Summary
protected  Collection getAggregateConnections()
          Return aggregate connections
protected  Set getConnectionNodes(ShapeCompartmentEditPart scep)
          Return the set of ConnectionNodeEditParts contained in the supplied shape compartment.
protected  void refreshAggregateConnections(Collection aggregateConnections, ShapeCompartmentEditPart scep)
          Refresh aggregate connections which have a child of the compartment as an end point, ie, aggregate connection reachs inside of the compartment.
protected  void refreshAttachedConnections(ConnectionEditPart cep)
          Refresh attached connections for the given connection.
protected  void refreshConnections(ShapeCompartmentEditPart scep)
          Refresh connections.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceContainerCompartmentEditPart.SourceContainerConnectionRefreshMgr

public SourceContainerCompartmentEditPart.SourceContainerConnectionRefreshMgr()
Method Detail

getConnectionNodes

protected Set getConnectionNodes(ShapeCompartmentEditPart scep)
Return the set of ConnectionNodeEditParts contained in the supplied shape compartment.

Parameters:
scep - a shape compartment.
Returns:
a Set of ConnectionNodeEditPart.

getAggregateConnections

protected Collection getAggregateConnections()
Return aggregate connections


refreshAggregateConnections

protected void refreshAggregateConnections(Collection aggregateConnections,
                                           ShapeCompartmentEditPart scep)
Refresh aggregate connections which have a child of the compartment as an end point, ie, aggregate connection reachs inside of the compartment. The aggregate connection in source container level will be managed by source container compartment canonical editpolicy.

Parameters:
aggregateConnections -
scep -

refreshConnections

protected void refreshConnections(ShapeCompartmentEditPart scep)
Refresh connections. Override to refresh aggregate connections which have a child of the compartment as one endpoint.


refreshAttachedConnections

protected void refreshAttachedConnections(ConnectionEditPart cep)
Refresh attached connections for the given connection.

Parameters:
cep -

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.