com.ptc.windchill.upgrade.tool
Class ReportCanceled

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

public class ReportCanceled
extends AbstractStateWithThreadedWork


Nested Class Summary
 
Nested classes inherited from class com.ptc.windchill.upgrade.tool.AbstractStateWithThreadedWork
AbstractState.NonExpressPhaseDone, AbstractStateWithThreadedWork.Cancel, AbstractStateWithThreadedWork.IsStateWithThreadedWorkDone, AbstractStateWithThreadedWork.IsThreadedWorkRunningAndNotCanceled, AbstractStateWithThreadedWork.Outcome, AbstractStateWithThreadedWork.WasThreadedWorkOutcomeSuccessful
 
Field Summary
private  UpgradePhaseType canceledPhase_
           
private static String LINE_SEPARATOR
           
private static UpgradeStep MODE_CONFIRMATION
           
private static UpgradeStep RELEASE_CONFIRMATION
           
 
Fields inherited from class com.ptc.windchill.upgrade.tool.AbstractStateWithThreadedWork
 
Fields inherited from class com.ptc.windchill.upgrade.util.fsm.State
 
Constructor Summary
ReportCanceled(StateMachine sm, StateDefinition def)
           
 
Method Summary
private  UpgradePhaseType getCanceledPhase()
           
 JComponent getViewComponent()
           
protected  AbstractStateWithThreadedWork.Outcome runThreadedWork()
          Subtypes must implement to perform work upon state activation.
private  void setCurrentPhase(UpgradePhaseType canceled_phase)
           
 
Methods inherited from class com.ptc.windchill.upgrade.tool.AbstractStateWithThreadedWork
activate, clearStatus, deactivate, getApplication, getCancellationMonitor, getCancelPromptMessage, getCancelPromptTitle, getTitle, onCancelRequested, setApplication, setStatus, shouldBeEnclosed, toString
 
Methods inherited from class com.ptc.windchill.upgrade.util.fsm.State
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

RELEASE_CONFIRMATION

private static final UpgradeStep RELEASE_CONFIRMATION

MODE_CONFIRMATION

private static final UpgradeStep MODE_CONFIRMATION

canceledPhase_

private UpgradePhaseType canceledPhase_
Constructor Detail

ReportCanceled

public ReportCanceled(StateMachine sm,
                      StateDefinition def)
Method Detail

getViewComponent

public JComponent getViewComponent()
Specified by:
getViewComponent in class AbstractState

runThreadedWork

protected AbstractStateWithThreadedWork.Outcome runThreadedWork()
Description copied from class: AbstractStateWithThreadedWork
Subtypes must implement to perform work upon state activation.

Specified by:
runThreadedWork in class AbstractStateWithThreadedWork
Returns:
MUST BE NON-NULL

setCurrentPhase

private void setCurrentPhase(UpgradePhaseType canceled_phase)

getCanceledPhase

private UpgradePhaseType getCanceledPhase()