com.ptc.windchill.upgrade.tool
Class AddConstraintsCompleted

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

public class AddConstraintsCompleted
extends AbstractStateWithThreadedWork


Nested Class Summary
static class AddConstraintsCompleted.AddConstraintsCanceled
           
static class AddConstraintsCompleted.AllowNextStep
           
 
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  Color bgColor_
           
private  SimpleAttributeSet boldStep_
           
private  int bottom_
           
(package private)  CancellationMonitor cancellationMonitor_
           
private  UpgradeContext context_
           
private  Document document_
           
private  JTextPane jTextPane_
           
private  int left_
           
private  File notNullDebugSpoolStandard_
           
private  URL notNullDebugSpoolUrl_
           
private  File notNullTestSpoolStandard_
           
private  URL notNullTestSpoolUrl_
           
private  File notNullWorkSpoolStandard_
           
private  URL notNullWorkSpoolUrl_
           
private  UpgradePhaseType phaseJustExecuted_
           
private  int right_
           
private  SchemaResults schemaResults_
           
private  String stringPhaseJustExecuted_
           
private  int top_
           
private  File uniqueDebugSpoolStandard_
           
private  URL uniqueDebugSpoolUrl_
           
private  File uniqueTestSpoolStandard_
           
private  URL uniqueTestSpoolUrl_
           
private  File uniqueWorkSpoolStandard_
           
private  URL uniqueWorkSpoolUrl_
           
private  UpgradeToolStateMachine upgradeToolStateMachine_
           
private  JComponent viewComponent_
           
 
Fields inherited from class com.ptc.windchill.upgrade.tool.AbstractStateWithThreadedWork
 
Fields inherited from class com.ptc.windchill.upgrade.util.fsm.State
 
Constructor Summary
AddConstraintsCompleted(StateMachine sm, StateDefinition def)
           
 
Method Summary
protected  void activate(Event activating_event)
          IF YOU OVERRIDE, YOU MUST CALL, super.activate(...); Already overwrites due to: extends AbstractState -to- State
 boolean canceled()
           
private  void defaultLook(GridBagConstraints gbc, int i)
           
private  URL getNotNullWorkSpoolUrl()
           
 UpgradePhaseType getTheUpgradePhaseType()
           
private  URL getUniqueWorkSpoolUrl()
           
 JComponent getViewComponent()
           
protected  AbstractStateWithThreadedWork.Outcome runThreadedWork()
          Subtypes must implement to perform work upon state activation.
private  JComponent updateViewWithResults()
           
 
Methods inherited from class com.ptc.windchill.upgrade.tool.AbstractStateWithThreadedWork
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

upgradeToolStateMachine_

private UpgradeToolStateMachine upgradeToolStateMachine_

context_

private UpgradeContext context_

viewComponent_

private JComponent viewComponent_

phaseJustExecuted_

private UpgradePhaseType phaseJustExecuted_

stringPhaseJustExecuted_

private String stringPhaseJustExecuted_

uniqueTestSpoolStandard_

private File uniqueTestSpoolStandard_

uniqueTestSpoolUrl_

private URL uniqueTestSpoolUrl_

uniqueDebugSpoolStandard_

private File uniqueDebugSpoolStandard_

uniqueDebugSpoolUrl_

private URL uniqueDebugSpoolUrl_

uniqueWorkSpoolStandard_

private File uniqueWorkSpoolStandard_

uniqueWorkSpoolUrl_

private URL uniqueWorkSpoolUrl_

notNullTestSpoolStandard_

private File notNullTestSpoolStandard_

notNullTestSpoolUrl_

private URL notNullTestSpoolUrl_

notNullDebugSpoolStandard_

private File notNullDebugSpoolStandard_

notNullDebugSpoolUrl_

private URL notNullDebugSpoolUrl_

notNullWorkSpoolStandard_

private File notNullWorkSpoolStandard_

notNullWorkSpoolUrl_

private URL notNullWorkSpoolUrl_

schemaResults_

private SchemaResults schemaResults_

top_

private int top_

left_

private int left_

bottom_

private int bottom_

right_

private int right_

jTextPane_

private JTextPane jTextPane_

document_

private Document document_

boldStep_

private SimpleAttributeSet boldStep_

bgColor_

private Color bgColor_

cancellationMonitor_

CancellationMonitor cancellationMonitor_
Constructor Detail

AddConstraintsCompleted

public AddConstraintsCompleted(StateMachine sm,
                               StateDefinition def)
Method Detail

getViewComponent

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

activate

protected void activate(Event activating_event)
Description copied from class: AbstractStateWithThreadedWork
IF YOU OVERRIDE, YOU MUST CALL, super.activate(...); Already overwrites due to: extends AbstractState -to- State

Overrides:
activate in class AbstractStateWithThreadedWork

runThreadedWork

protected AbstractStateWithThreadedWork.Outcome runThreadedWork()
                                                         throws Throwable
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
Throws:
Throwable

updateViewWithResults

private JComponent updateViewWithResults()
                                  throws IUHException
Throws:
IUHException

defaultLook

private void defaultLook(GridBagConstraints gbc,
                         int i)

getTheUpgradePhaseType

public UpgradePhaseType getTheUpgradePhaseType()

getUniqueWorkSpoolUrl

private URL getUniqueWorkSpoolUrl()

getNotNullWorkSpoolUrl

private URL getNotNullWorkSpoolUrl()

canceled

public boolean canceled()