org.argouml.uml.cognitive.critics
Class WizCueCards

java.lang.Object
  extended byorg.argouml.kernel.Wizard
      extended byorg.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

Field Summary
protected  java.util.Vector _cues
           
protected  WizStepCue[] _steps
           
 
Fields inherited from class org.argouml.kernel.Wizard
_finished, _item, _panels, _started, _step
 
Constructor Summary
WizCueCards()
           
 
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.
 ru.novosoft.uml.foundation.core.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
 

Field Detail

_cues

protected java.util.Vector _cues

_steps

protected WizStepCue[] _steps
Constructor Detail

WizCueCards

public WizCueCards()
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

getModelElement

public ru.novosoft.uml.foundation.core.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


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