org.argouml.uml.cognitive.critics
Class WizCueCards
java.lang.Object
|
+--org.argouml.kernel.Wizard
|
+--org.argouml.uml.cognitive.critics.WizCueCards
- All Implemented Interfaces:
- java.io.Serializable
- public class WizCueCards
- extends Wizard
A non-modal wizard to help the user change navigability
of an association.
- See Also:
- Serialized Form
Method Summary |
void |
addCue(java.lang.String s)
|
boolean |
canFinish()
This wizard cannot automatically finish the task. |
void |
doAction(int oldStep)
This wizard never takes action, it just displays step by step
instructions. |
MModelElement |
getModelElement()
|
int |
getNumSteps()
Get the number of steps in this wizard. |
javax.swing.JPanel |
makePanel(int newStep)
Create a new panel for the given step. |
Methods inherited from class org.argouml.kernel.Wizard |
back, canGoBack, canGoNext, 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 |
_cues
protected java.util.Vector _cues
_steps
protected WizStepCue[] _steps
WizCueCards
public WizCueCards()
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
getModelElement
public MModelElement getModelElement()
addCue
public void addCue(java.lang.String s)
makePanel
public javax.swing.JPanel makePanel(int newStep)
- Create a new panel for the given step.
- Specified by:
makePanel
in class Wizard
- Returns:
- a newly created panel or null if there isn't that many steps.
doAction
public void doAction(int oldStep)
- This wizard never takes action, it just displays step by step
instructions.
- Specified by:
doAction
in class Wizard
canFinish
public boolean canFinish()
- This wizard cannot automatically finish the task. It can only be
finished when the user is on the last step.
- Overrides:
canFinish
in class Wizard