com.ptc.windchill.upgrade.tool
Class PromptForExpressMode

java.lang.Object
  extended bycom.ptc.windchill.upgrade.util.fsm.State
      extended bycom.ptc.windchill.upgrade.tool.AbstractState
          extended bycom.ptc.windchill.upgrade.tool.PromptForExpressMode

public class PromptForExpressMode
extends AbstractState


Nested Class Summary
(package private) static class AbstractState.NonExpressPhaseDone
           
 
Field Summary
private  UpgradeContext context_
           
private  UpgradeStep currentStep_
           
private  UpgradeToolStateMachine upgStateMachine_
           
 
Fields inherited from class com.ptc.windchill.upgrade.util.fsm.State
 
Constructor Summary
PromptForExpressMode(StateMachine sm, StateDefinition def)
          Creates a new PromptForExpressMode object.
 
Method Summary
protected  void clearStatus()
           
protected static UpgradeManager getApplication()
           
 String getTitle()
           
 JComponent getViewComponent()
          This is the view displayed to the user.
(package private)  void setApplication(UpgradeManager x)
           
protected  void setStatus(String status_message)
          Displays the messgae provided by some of the phases of what is currently being done.
protected  boolean shouldBeEnclosed()
          Can be overriden by sub-classes.
 String toString()
           
 
Methods inherited from class com.ptc.windchill.upgrade.util.fsm.State
activate, deactivate, getStateMachine, getStateMachine, isStartState, isStopState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

currentStep_

private UpgradeStep currentStep_

upgStateMachine_

private UpgradeToolStateMachine upgStateMachine_

context_

private final UpgradeContext context_
Constructor Detail

PromptForExpressMode

public PromptForExpressMode(StateMachine sm,
                            StateDefinition def)
Creates a new PromptForExpressMode object.

Parameters:
sm - StateMachine which is required for a class that extends AbstractState
def - StateMachineDefinition which is required for a class that extends AbstractState
Method Detail

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.