|
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 NodeFigure com.ibm.etools.systems.application.visual.editor.ui.figures.impl.AbstractFeedbackNodeFigure
public abstract class AbstractFeedbackNodeFigure
The base node figure that supports feedback rendering. Supported feedback states are defined in IFeedbackFigure.
Field Summary | |
---|---|
static String |
copyright
|
protected IGraphicalEditPart |
editPart
|
protected IFeedbackStateManager |
feedbackStateManager
|
protected IMapMode |
mapMode
|
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 | |
---|---|
AbstractFeedbackNodeFigure(IMapMode mapMode,
IGraphicalEditPart editPart)
Constructor. |
Method Summary | |
---|---|
protected Color |
blendColor(Color originalColor,
int ratio)
Blend color to make it look better in diagram. |
protected Color |
getAssociatedSourceColor()
Getter of associated source color. |
protected Color |
getAssociatedTargetColor()
Getter of associated target color. |
abstract Rectangle |
getFeedbackFigureBounds()
Return feedback figure bound. |
String |
getFeedbackState()
Return feedback state. |
void |
setFeedbackState(String state,
EditPart requester)
Set feedback state which is requested by the requester. |
void |
setFeedbackStateManager(IFeedbackStateManager feedbackStateManager)
Set FeedbackStateManager. |
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 IMapMode mapMode
protected IGraphicalEditPart editPart
protected IFeedbackStateManager feedbackStateManager
Constructor Detail |
---|
public AbstractFeedbackNodeFigure(IMapMode mapMode, IGraphicalEditPart editPart)
Method Detail |
---|
public void setFeedbackStateManager(IFeedbackStateManager feedbackStateManager)
protected Color blendColor(Color originalColor, int ratio)
public String getFeedbackState()
IFeedbackFigure
getFeedbackState
in interface IFeedbackFigure
public void setFeedbackState(String state, EditPart requester)
IFeedbackFigure
setFeedbackState
in interface IFeedbackFigure
protected Color getAssociatedSourceColor()
protected Color getAssociatedTargetColor()
public abstract Rectangle getFeedbackFigureBounds()
IFeedbackFigure
getFeedbackFigureBounds
in interface IFeedbackFigure
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |