|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object PolylineConnectionEx com.ibm.etools.systems.application.visual.editor.ui.figures.impl.SystemConnectionFigure
public class SystemConnectionFigure
Base connection figure for relationship lines on Application Diagram.
Field Summary | |
---|---|
static String |
copyright
|
protected FeedbackStateManager |
feedbackManager
|
Fields inherited from interface com.ibm.etools.systems.application.visual.editor.ui.figures.IFeedbackFigure |
---|
STATE_ASSOCIATED_CLEAR, STATE_ASSOCIATED_SOURCE, STATE_ASSOCIATED_TARGET, STATE_HOVER, STATE_NONE, STATE_SELECTED, STATE_TARGET, STATE_TARGET_HOVER |
Constructor Summary | |
---|---|
SystemConnectionFigure(IMapMode mapMode,
IGraphicalEditPart editPart)
Constructor. |
Method Summary | |
---|---|
protected Color |
getAssociatedSourceColor()
Get associated source color. |
protected Color |
getAssociatedTargetColor()
Get associated target color. |
IGraphicalEditPart |
getEditPart()
Get editpart. |
Rectangle |
getFeedbackFigureBounds()
Return feedback figure bound. |
String |
getFeedbackState()
Return feedback state. |
Color |
getLineColor()
Get line color. |
int |
getLineStyle()
Get line style. |
void |
init()
Initialize the figure. |
protected void |
outlineShape(Graphics g)
Override the figure method "outlineShape" to draw the actual polyline connection shape. |
protected void |
setChildrenFeedbackStates(String state,
EditPart requester)
Set children's states. |
void |
setFeedbackState(String state,
EditPart requester)
Set feedback state which is requested by the requester. |
void |
setForegroundColor(Color color)
Set ForegroundColor. |
void |
setLineColor(Color lineColor)
Set line color. |
void |
setLineStyle(int lineStyle)
Set line style. |
protected void |
setupGraphics(Graphics g,
String feedbackState)
Setup the properties of graphics for drawing the line. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
protected FeedbackStateManager feedbackManager
Constructor Detail |
---|
public SystemConnectionFigure(IMapMode mapMode, IGraphicalEditPart editPart)
Method Detail |
---|
public void init()
public void setForegroundColor(Color color)
public void setLineColor(Color lineColor)
public Color getLineColor()
public IGraphicalEditPart getEditPart()
protected void outlineShape(Graphics g)
protected void setupGraphics(Graphics g, String feedbackState)
g
- feedbackState
- public Rectangle getFeedbackFigureBounds()
IFeedbackFigure
getFeedbackFigureBounds
in interface IFeedbackFigure
public String getFeedbackState()
IFeedbackFigure
getFeedbackState
in interface IFeedbackFigure
public void setFeedbackState(String state, EditPart requester)
IFeedbackFigure
setFeedbackState
in interface IFeedbackFigure
protected void setChildrenFeedbackStates(String state, EditPart requester)
protected Color getAssociatedSourceColor()
protected Color getAssociatedTargetColor()
public void setLineStyle(int lineStyle)
public int getLineStyle()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |