org.argouml.uml.cognitive.critics
Class WizNavigable

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

public class WizNavigable
extends Wizard

A non-modal wizard to help the user change navigability of an association.

See Also:
Serialized Form

Field Summary
protected  java.lang.String _instructions
           
protected  java.lang.String _option0
           
protected  java.lang.String _option1
           
protected  java.lang.String _option2
           
protected  WizStepChoice _step1
           
protected static Category cat
           
 
Fields inherited from class org.argouml.kernel.Wizard
_finished, _item, _panels, _started, _step
 
Constructor Summary
WizNavigable()
           
 
Method Summary
 boolean canFinish()
           
 void doAction(int oldStep)
          Take action at the completion of a step.
 MModelElement getModelElement()
           
 int getNumSteps()
          Get the number of steps in this wizard.
 java.util.Vector getOptions()
           
 javax.swing.JPanel makePanel(int newStep)
          Create a new panel for the given step.
 void setInstructions(java.lang.String s)
           
 
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

cat

protected static Category cat

_instructions

protected java.lang.String _instructions

_option0

protected java.lang.String _option0

_option1

protected java.lang.String _option1

_option2

protected java.lang.String _option2

_step1

protected WizStepChoice _step1
Constructor Detail

WizNavigable

public WizNavigable()
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 MModelElement getModelElement()

getOptions

public java.util.Vector getOptions()

setInstructions

public void setInstructions(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

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

canFinish

public boolean canFinish()
Overrides:
canFinish in class Wizard


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