com.ptc.windchill.upgrade.tool
Class PromptForExpressMode
java.lang.Object
com.ptc.windchill.upgrade.util.fsm.State
com.ptc.windchill.upgrade.tool.AbstractState
com.ptc.windchill.upgrade.tool.PromptForExpressMode
- public class PromptForExpressMode
- extends AbstractState
Fields inherited from class com.ptc.windchill.upgrade.util.fsm.State |
|
currentStep_
private UpgradeStep currentStep_
upgStateMachine_
private UpgradeToolStateMachine upgStateMachine_
context_
private final UpgradeContext context_
PromptForExpressMode
public PromptForExpressMode(StateMachine sm,
StateDefinition def)
- Creates a new PromptForExpressMode object.
- Parameters:
sm
- StateMachine which is required for a class that extends
AbstractStatedef
- StateMachineDefinition which is required for a class that extends
AbstractState
getViewComponent
public JComponent getViewComponent()
- This is the view displayed to the user.
- Specified by:
getViewComponent
in class AbstractState
- Returns:
- viewComponent_
setApplication
void setApplication(UpgradeManager x)
getApplication
protected static UpgradeManager getApplication()
setStatus
protected final void setStatus(String status_message)
- Displays the messgae provided by some of the phases of what is currently being done. Nice to have
when a lot of time is being taken.
clearStatus
protected final void clearStatus()
getTitle
public String getTitle()
toString
public String toString()
shouldBeEnclosed
protected boolean shouldBeEnclosed()
- Can be overriden by sub-classes. super does not need to be called because no
code in here needs to be executed.