Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor.ui.figures.impl
Class FeedbackStateManager

java.lang.Object
  extended by com.ibm.etools.systems.application.visual.editor.ui.figures.impl.FeedbackStateManager
All Implemented Interfaces:
IFeedbackStateManager

public class FeedbackStateManager
extends Object
implements IFeedbackStateManager

This class managers the feedback state of a given figure. The FeedbackStateManager uses a stack to manage the association feedback states.


Field Summary
static String copyright
           
protected  String feedbackState
           
protected  FeedbackEntry obsoletedRequest
           
protected  Stack stateStack
           
 
Constructor Summary
FeedbackStateManager()
          Constructor.
 
Method Summary
 String getFeedbackState()
          Get state.
 String getRestoreFeedbackState()
          Get state to be restored.
 FeedbackEntry getRestoreFeedbackStateEntry()
          Get state entry to be restored.
 boolean hasRestoredState()
          Return true if there is no saved state.
 void restoreState()
          Restore saved state.
 void setFeedbackState(String state, EditPart requester)
          Set state.
 
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

stateStack

protected Stack stateStack

obsoletedRequest

protected FeedbackEntry obsoletedRequest

feedbackState

protected String feedbackState
Constructor Detail

FeedbackStateManager

public FeedbackStateManager()
Constructor.

Method Detail

setFeedbackState

public void setFeedbackState(String state,
                             EditPart requester)
Set state.

Specified by:
setFeedbackState in interface IFeedbackStateManager

getFeedbackState

public String getFeedbackState()
Get state.

Specified by:
getFeedbackState in interface IFeedbackStateManager

getRestoreFeedbackStateEntry

public FeedbackEntry getRestoreFeedbackStateEntry()
Get state entry to be restored.

Specified by:
getRestoreFeedbackStateEntry in interface IFeedbackStateManager

getRestoreFeedbackState

public String getRestoreFeedbackState()
Get state to be restored.

Specified by:
getRestoreFeedbackState in interface IFeedbackStateManager

restoreState

public void restoreState()
Restore saved state.

Specified by:
restoreState in interface IFeedbackStateManager

hasRestoredState

public boolean hasRestoredState()
Return true if there is no saved state.

Specified by:
hasRestoredState in interface IFeedbackStateManager

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.