com.ptc.windchill.upgrade.tool
Class AbstractState

java.lang.Object
  extended bycom.ptc.windchill.upgrade.util.fsm.State
      extended bycom.ptc.windchill.upgrade.tool.AbstractState
Direct Known Subclasses:
AbstractStateWithThreadedWork, CorrectDatabaseState, Introduction, LaunchViewState, PromptForExpressMode, ReportComplete, ReportError

abstract class AbstractState
extends State


Nested Class Summary
(package private) static class AbstractState.NonExpressPhaseDone
           
 
Field Summary
private static UpgradeManager application_
           
private  String title_
           
 
Fields inherited from class com.ptc.windchill.upgrade.util.fsm.State
 
Constructor Summary
AbstractState(StateMachine sm, StateDefinition def)
           
AbstractState(StateMachine sm, StateDefinition def, String title)
           
 
Method Summary
protected  void clearStatus()
           
protected static UpgradeManager getApplication()
           
 String getTitle()
           
(package private) abstract  JComponent getViewComponent()
           
(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

title_

private String title_

application_

private static UpgradeManager application_
Constructor Detail

AbstractState

public AbstractState(StateMachine sm,
                     StateDefinition def)

AbstractState

public AbstractState(StateMachine sm,
                     StateDefinition def,
                     String title)
Method Detail

getViewComponent

abstract JComponent getViewComponent()

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.