com.ptc.windchill.upgrade.tool
Class NoIusToBeAppliedState

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.NoIusToBeAppliedState

public class NoIusToBeAppliedState
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
(package private)  CancellationMonitor cancellationMonitor_
           
 
Fields inherited from class com.ptc.windchill.upgrade.tool.AbstractStateWithThreadedWork
 
Fields inherited from class com.ptc.windchill.upgrade.util.fsm.State
 
Constructor Summary
NoIusToBeAppliedState(StateMachine sm, StateDefinition def)
          Creates a new NoIusToBeAppliedState object.
 
Method Summary
 JComponent getViewComponent()
          The look of the component for this screen.
protected  AbstractStateWithThreadedWork.Outcome runThreadedWork()
          If user cancels out the step is not marked as completed.
 
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

cancellationMonitor_

CancellationMonitor cancellationMonitor_
Constructor Detail

NoIusToBeAppliedState

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

Parameters:
sm - StateMachine
def - StateDefinition
Method Detail

getViewComponent

public JComponent getViewComponent()
The look of the component for this screen. It is only displayed when there are no migrators for a step to be executed. If the user feels that this is incorrect user can cancel out, however in Express Mode this screeen will go by very fast.

Specified by:
getViewComponent in class AbstractState
Returns:
panel

runThreadedWork

protected AbstractStateWithThreadedWork.Outcome runThreadedWork()
                                                         throws CanceledException
If user cancels out the step is not marked as completed. It will proceed to a screen that tells them which step it will start again at.

Specified by:
runThreadedWork in class AbstractStateWithThreadedWork
Returns:
Outcome
Throws:
CanceledException