Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor.ui.figures
Interface IFeedbackFigure

All Known Implementing Classes:
AbstractCollapsableFigure, AbstractFeedbackNodeFigure, ArrowDecoration, BinaryContainerFigure, CallableBlockFigure, CircleDecoration, DefaultArtifactNodeFigure, DefaultSingleEntryFigure, SolidArrowDecoration, SourceContainerFigure, SystemConnectionFigure

public interface IFeedbackFigure

Interface for figure that can provide feedback.


Field Summary
static String copyright
           
static String STATE_ASSOCIATED_CLEAR
           
static String STATE_ASSOCIATED_SOURCE
           
static String STATE_ASSOCIATED_TARGET
           
static String STATE_HOVER
           
static String STATE_NONE
           
static String STATE_SELECTED
           
static String STATE_TARGET
           
static String STATE_TARGET_HOVER
           
 
Method Summary
 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.
 

Field Detail

copyright

static final String copyright
See Also:
Constant Field Values

STATE_HOVER

static final String STATE_HOVER
See Also:
Constant Field Values

STATE_SELECTED

static final String STATE_SELECTED
See Also:
Constant Field Values

STATE_TARGET

static final String STATE_TARGET
See Also:
Constant Field Values

STATE_TARGET_HOVER

static final String STATE_TARGET_HOVER
See Also:
Constant Field Values

STATE_ASSOCIATED_SOURCE

static final String STATE_ASSOCIATED_SOURCE
See Also:
Constant Field Values

STATE_ASSOCIATED_TARGET

static final String STATE_ASSOCIATED_TARGET
See Also:
Constant Field Values

STATE_ASSOCIATED_CLEAR

static final String STATE_ASSOCIATED_CLEAR
See Also:
Constant Field Values

STATE_NONE

static final String STATE_NONE
See Also:
Constant Field Values
Method Detail

setFeedbackState

void setFeedbackState(String state,
                      EditPart requester)
Set feedback state which is requested by the requester.

Parameters:
requester: - the editpart that requests the state. If the state is requested by the figure's host editpart itself, requester can be set as null.

getFeedbackState

String getFeedbackState()
Return feedback state.


getFeedbackFigureBounds

Rectangle getFeedbackFigureBounds()
Return feedback figure bound.


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.