org.argouml.uml.cognitive.critics
Class WizAddOperation
java.lang.Object
org.argouml.cognitive.ui.Wizard
org.argouml.uml.cognitive.critics.UMLWizard
org.argouml.uml.cognitive.critics.WizAddOperation
- All Implemented Interfaces:
- Serializable
- public class WizAddOperation
- extends UMLWizard
A wizard to add operations to a classifier.
- Since:
- Created on December 4, 2003, 1:55 PM
- See Also:
- Serialized Form
Fields inherited from class org.argouml.uml.cognitive.critics.UMLWizard |
|
Fields inherited from class org.argouml.cognitive.ui.Wizard |
|
Constructor Summary |
WizAddOperation()
Creates a new instance of WizAddOperation. |
Methods inherited from class org.argouml.cognitive.ui.Wizard |
back, canFinish, canGoBack, canGoNext, 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 |
step1
private WizStepTextField step1
label
private String label
instructions
private String instructions
WizAddOperation
public WizAddOperation()
- Creates a new instance of WizAddOperation.
doAction
public void doAction(int oldStep)
- Description copied from class:
Wizard
- 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. Also, if the user pressed "Finish" doAction may
be called for steps that never constructored or displayed their
panels.
- Specified by:
doAction
in class Wizard
- Parameters:
oldStep
- the given step- See Also:
Wizard.doAction(int)
setInstructions
public void setInstructions(String s)
- Parameters:
s
- the new instructions
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)