|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.argouml.cognitive.critics.Wizard
org.argouml.uml.cognitive.critics.UMLWizard
org.argouml.uml.cognitive.critics.WizBreakCircularComp
public class WizBreakCircularComp
A non-modal wizard to help the user change select an association to make non-aggregate.
| Constructor Summary | |
|---|---|
WizBreakCircularComp()
The constructor. |
|
| Method Summary | |
|---|---|
boolean |
canFinish()
|
boolean |
canGoNext()
Return true iff the "Next>" button should be enabled. |
void |
doAction(int oldStep)
Take action at the completion of a step. |
int |
getNumSteps()
Preset the number of steps to 1. |
protected java.util.List<java.lang.String> |
getOptions1()
|
protected java.util.List<java.lang.String> |
getOptions2()
|
javax.swing.JPanel |
makePanel(int newStep)
Create a new panel for the given step. |
| Methods inherited from class org.argouml.uml.cognitive.critics.UMLWizard |
|---|
getModelElement, getSuggestion, offerSuggestion, setSuggestion |
| Methods inherited from class org.argouml.cognitive.critics.Wizard |
|---|
back, canGoBack, 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 |
| Constructor Detail |
|---|
public WizBreakCircularComp()
| Method Detail |
|---|
public int getNumSteps()
UMLWizard
getNumSteps in class UMLWizardprotected java.util.List<java.lang.String> getOptions1()
protected java.util.List<java.lang.String> getOptions2()
public javax.swing.JPanel makePanel(int newStep)
WizardTODO: It might be convient to make a reusable subclass of Wizard that shows all textual steps to guide the user without any automation. Such a Wizard could be easily authored, stored in an XML file, and efficiently presented by reusing a single panel with a single JTextArea.
makePanel in class WizardnewStep - the number of the step to make a panel for.
public void doAction(int oldStep)
Wizard
doAction in class WizardoldStep - the given steppublic boolean canGoNext()
Wizard
canGoNext in class Wizardtrue iff the "Next>" button should be enabled.public boolean canFinish()
canFinish in class Wizard
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |