uci.uml.critics
Class WizMEName
java.lang.Object
|
+--uci.argo.kernel.Wizard
|
+--uci.uml.critics.WizMEName
- public class WizMEName
- extends Wizard
A non-modal wizard to help the user change the name of a
ModelElement to a better name.
- See Also:
- Serialized Form
| Methods inherited from class uci.argo.kernel.Wizard |
back,
canFinish,
canGoBack,
doAction,
finish,
getCurrentPanel,
getPanel,
getProgress,
getToDoItem,
isFinsished,
isStarted,
next,
redoAction,
redoAction,
setToDoItem,
undoAction,
undoAction |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
_instructions
protected String _instructions
_label
protected String _label
_suggestion
protected String _suggestion
_origSuggest
protected String _origSuggest
_mustEdit
protected boolean _mustEdit
_step1
protected WizStepTextField _step1
WizMEName
public WizMEName()
getNumSteps
public int getNumSteps()
- Overrides:
- getNumSteps in class Wizard
getModelElement
public ModelElement getModelElement()
getSuggestion
public String getSuggestion()
setSuggestion
public void setSuggestion(String s)
setInstructions
public void setInstructions(String s)
setMustEdit
public void setMustEdit(boolean b)
makePanel
public JPanel makePanel(int newStep)
- Create a new panel for the given step.
- Overrides:
- makePanel in class Wizard
canGoNext
public boolean canGoNext()
- Return false iff the user has not edited the text and they were
required to.
- Overrides:
- canGoNext 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.
- Overrides:
- doAction in class Wizard