com.ptc.windchill.upgrade.tool
Class LaunchViewState

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

public class LaunchViewState
extends AbstractState


Nested Class Summary
(package private) static class AbstractState.NonExpressPhaseDone
           
 
Field Summary
private  JComponent viewComponent_
           
 
Fields inherited from class com.ptc.windchill.upgrade.util.fsm.State
 
Constructor Summary
LaunchViewState(StateMachine sm, StateDefinition def)
          Create a new instance.
 
Method Summary
protected  void clearStatus()
           
protected static UpgradeManager getApplication()
           
 String getTitle()
           
private  UpgradeToolStateMachine getUpgradeToolStateMachine()
           
 JComponent getViewComponent()
          Creates the panel to be seen by users when in Non-Express Mode.
(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

viewComponent_

private JComponent viewComponent_
Constructor Detail

LaunchViewState

public LaunchViewState(StateMachine sm,
                       StateDefinition def)
Create a new instance. Package-visible so that you cannot create it from outside this package.

Method Detail

getUpgradeToolStateMachine

private UpgradeToolStateMachine getUpgradeToolStateMachine()

getViewComponent

public JComponent getViewComponent()
Creates the panel to be seen by users when in Non-Express Mode. At this screen if the name is selected/highlighted, if there is a description fro the migrator it will be displayed on the right of the name.

Specified by:
getViewComponent in class AbstractState
Returns:
viewComponent_ the screen displayed to the user

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.