Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor.editparts.impl
Class SystemConnectionEditPart

java.lang.Object
  extended by ConnectionNodeEditPart
      extended by com.ibm.etools.systems.application.visual.editor.editparts.impl.SystemConnectionEditPart
All Implemented Interfaces:
INamedEditPart
Direct Known Subclasses:
AggregateConnectionEditPart, BoundConnectionEditPart, CallsConnectionEditPart, IncludesConnectionEditPart, InvokesConnectionEditPart

public class SystemConnectionEditPart
extends ConnectionNodeEditPart
implements INamedEditPart

The base connection edit part for Application Diagram.


Field Summary
static String copyright
           
 
Constructor Summary
SystemConnectionEditPart(View view)
          Constructor.
 
Method Summary
protected  Connection createConnectionFigure()
          Creates connection figure for this edit part.
protected  void createDefaultEditPolicies()
          Create default edit policies.
protected  String createTooltipText()
          Create tooltip text.
protected  AccessibleEditPart getAccessibleEditPart()
           
 Command getCommand(Request request)
          Get command.
 String getDisplayName()
          Get display name.
protected  void handlePropertyChangeEvent(PropertyChangeEvent event)
          Handle property change event.
protected  void installRouter()
          installes a router on the edit part, depending on the RoutingStyle
protected  void installRouter(ConnectionRouter newRouter)
          Install new router.
 void setSource(EditPart editPart)
          Sets the source EditPart of this connection.
 void setTarget(EditPart editPart)
          Sets the target EditPart of this connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

SystemConnectionEditPart

public SystemConnectionEditPart(View view)
Constructor.

Method Detail

createDefaultEditPolicies

protected void createDefaultEditPolicies()
Create default edit policies.


createConnectionFigure

protected Connection createConnectionFigure()
Creates connection figure for this edit part.


setSource

public void setSource(EditPart editPart)
Sets the source EditPart of this connection.

Parameters:
editPart - EditPart which is the source.

setTarget

public void setTarget(EditPart editPart)
Sets the target EditPart of this connection.

Parameters:
editPart - EditPart which is the source.

createTooltipText

protected String createTooltipText()
Create tooltip text.


handlePropertyChangeEvent

protected void handlePropertyChangeEvent(PropertyChangeEvent event)
Handle property change event.


installRouter

protected void installRouter(ConnectionRouter newRouter)
Install new router.


installRouter

protected void installRouter()
installes a router on the edit part, depending on the RoutingStyle


getDisplayName

public String getDisplayName()
Description copied from interface: INamedEditPart
Get display name.

Specified by:
getDisplayName in interface INamedEditPart

getCommand

public Command getCommand(Request request)
Get command.


getAccessibleEditPart

protected AccessibleEditPart getAccessibleEditPart()

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.