com.ptc.windchill.upgrade.tool
Class Introduction

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

public class Introduction
extends AbstractState


Nested Class Summary
(package private) static class AbstractState.NonExpressPhaseDone
           
 
Field Summary
private static String LINE_SEPARATOR
           
 
Fields inherited from class com.ptc.windchill.upgrade.util.fsm.State
 
Constructor Summary
Introduction(StateMachine sm, StateDefinition def)
          Creates a new Introduction object.
 
Method Summary
protected  void clearStatus()
           
private  void displayStatus()
           
protected static UpgradeManager getApplication()
           
 String getTitle()
           
 JComponent getViewComponent()
          The message to be displayed to users when they first enter the UpgradeManager
(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

LINE_SEPARATOR

private static String LINE_SEPARATOR
Constructor Detail

Introduction

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

Parameters:
sm - StateMachine
def - StateDefinition
Method Detail

getViewComponent

public JComponent getViewComponent()
The message to be displayed to users when they first enter the UpgradeManager

Specified by:
getViewComponent in class AbstractState
Returns:
panel

displayStatus

private void displayStatus()

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.