org.argouml.uml.cognitive.critics
Class WizManyNames

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

public class WizManyNames
extends Wizard

A non-modal wizard to help the user change the name of a MModelElement to a better name.

See Also:
Serialized Form

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

_label

protected java.lang.String _label

_mes

public java.util.Vector _mes

_step1

protected WizStepManyTextFields _step1
Constructor Detail

WizManyNames

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

setMEs

public void setMEs(java.util.Vector mes)

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


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