org.argouml.uml.cognitive.critics
Class WizBreakCircularComp

java.lang.Object
  |
  +--org.argouml.kernel.Wizard
        |
        +--org.argouml.uml.cognitive.critics.WizBreakCircularComp
All Implemented Interfaces:
java.io.Serializable

public class WizBreakCircularComp
extends Wizard

A non-modal wizard to help the user change select an association to make non-aggregate.

See Also:
Serialized Form

Field Summary
protected  java.lang.String _instructions1
           
protected  java.lang.String _instructions2
           
protected  java.lang.String _instructions3
           
protected  MAssociation _selectedAsc
           
protected  MClassifier _selectedCls
           
protected  WizStepChoice _step1
           
protected  WizStepChoice _step2
           
protected  WizStepConfirm _step3
           
protected static Category cat
           
 
Fields inherited from class org.argouml.kernel.Wizard
_finished, _item, _panels, _started, _step
 
Constructor Summary
WizBreakCircularComp()
           
 
Method Summary
 boolean canFinish()
           
 boolean canGoNext()
          Return true iff the "Next>" button should be enabled.
 void doAction(int oldStep)
          Take action at the completion of a step.
 int getNumSteps()
          Get the number of steps in this wizard.
protected  java.util.Vector getOptions1()
           
protected  java.util.Vector getOptions2()
           
 javax.swing.JPanel makePanel(int newStep)
          Create a new panel for the given step.
 
Methods inherited from class org.argouml.kernel.Wizard
back, canGoBack, doAction, finish, getCurrentPanel, getPanel, getProgress, getToDoItem, isFinished, isStarted, next, setToDoItem, undoAction, undoAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cat

protected static Category cat

_instructions1

protected java.lang.String _instructions1

_instructions2

protected java.lang.String _instructions2

_instructions3

protected java.lang.String _instructions3

_step1

protected WizStepChoice _step1

_step2

protected WizStepChoice _step2

_step3

protected WizStepConfirm _step3

_selectedCls

protected MClassifier _selectedCls

_selectedAsc

protected MAssociation _selectedAsc
Constructor Detail

WizBreakCircularComp

public WizBreakCircularComp()
Method Detail

getNumSteps

public int getNumSteps()
Description copied from class: Wizard
Get the number of steps in this wizard. Subclasses should override to return a constant, or compute based on context.

Specified by:
getNumSteps in class Wizard

getOptions1

protected java.util.Vector getOptions1()

getOptions2

protected java.util.Vector getOptions2()

makePanel

public javax.swing.JPanel makePanel(int newStep)
Create a new panel for the given step.

Specified by:
makePanel in class Wizard

doAction

public void doAction(int oldStep)
Take action at the completion of a step. For example, when the given step is 0, do nothing; and when the given step is 1, do the first action. Argo non-modal wizards should take action as they do along, as soon as possible, they should not wait until the final step.

Specified by:
doAction in class Wizard

canGoNext

public boolean canGoNext()
Description copied from class: Wizard
Return true iff the "Next>" button should be enabled. Subclasses should override to first check super.nextEnabled() and then check for legal context values.

Overrides:
canGoNext in class Wizard

canFinish

public boolean canFinish()
Overrides:
canFinish in class Wizard


ArgoUML © 1996-2003 (20040229)ArgoUML Project HomeArgoUML Cookbook