org.argouml.uml.cognitive.critics
Class WizBreakCircularComp
java.lang.Object
org.argouml.cognitive.ui.Wizard
org.argouml.uml.cognitive.critics.UMLWizard
org.argouml.uml.cognitive.critics.WizBreakCircularComp
- All Implemented Interfaces:
- Serializable
- public class WizBreakCircularComp
- extends UMLWizard
A non-modal wizard to help the user change select an association
to make non-aggregate.
- See Also:
- Serialized Form
Fields inherited from class org.argouml.uml.cognitive.critics.UMLWizard |
|
Fields inherited from class org.argouml.cognitive.ui.Wizard |
|
Methods inherited from class org.argouml.cognitive.ui.Wizard |
back, canGoBack, doAction, finish, getCurrentPanel, getPanel, getProgress, getStep, getToDoItem, isFinished, isStarted, next, removePanel, setToDoItem, undoAction, undoAction |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
private static final Logger LOG
instructions1
private String instructions1
instructions2
private String instructions2
instructions3
private String instructions3
step1
private WizStepChoice step1
step2
private WizStepChoice step2
step3
private WizStepConfirm step3
selectedCls
private Object selectedCls
selectedAsc
private Object selectedAsc
WizBreakCircularComp
public WizBreakCircularComp()
- The constructor.
getNumSteps
public int getNumSteps()
- Description copied from class:
UMLWizard
- Preset the number of steps to 1. You need to override this
method, in case your Wizard requires a different number of steps.
This method is a convenience implementation.
- Overrides:
getNumSteps
in class UMLWizard
- See Also:
Wizard.getNumSteps()
getOptions1
protected Vector getOptions1()
- Returns:
- The choices for this step.
getOptions2
protected Vector getOptions2()
- Returns:
- The choices for this step.
makePanel
public JPanel makePanel(int newStep)
- Create a new panel for the given step.
- Specified by:
makePanel
in class Wizard
- Parameters:
newStep
- the number of the step to make a panel for.
- Returns:
- a new panel for the given step
- See Also:
Wizard.makePanel(int)
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
- Parameters:
oldStep
- the given step- See Also:
Wizard.doAction(int)
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
- Returns:
true
iff the "Next>" button should be enabled.- See Also:
Wizard.canGoNext()
canFinish
public boolean canFinish()
- Overrides:
canFinish
in class Wizard
- Returns:
- true if we can finish (i.e. the finish button is not downlighted)
- See Also:
Wizard.canFinish()