|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.uniba.euromath.editor.wizards.document.FillNewElementWizardProvider.CreateElementContentsWS
protected class FillNewElementWizardProvider.CreateElementContentsWS
Creates new elements or text nodes in new element. This element should already contain attributes, to select correct rule amongst similar rules.
Field Summary | |
---|---|
protected Element |
e
the new element. |
protected List<InsertList> |
insertLists
User may select between these insertlists. |
protected NamespaceManager |
nsManager
current namespace manager. |
protected NewElementRule |
rule
rule for this new element. |
protected InsertListChooserWizard |
wizard
The wizard instance. |
Constructor Summary | |
---|---|
protected |
FillNewElementWizardProvider.CreateElementContentsWS(NewElementRule rule,
Element e,
NamespaceManager nsManager)
Constructor. |
Method Summary | |
---|---|
Element |
getContextElement()
Returns element where this step creates contents. |
IWizard |
getWizard()
Returns wizard that allows user to enter data required for this step to be finished succesfully. |
boolean |
hasNextSteps()
Checks whether moveToNextStep() will return non-empty
list. |
List<FillNewElementWizardProvider.AbstractStepFactory> |
moveToNextStep()
Finishes this step and moves to the next step. |
void |
rollbackFromNextStep()
May be called after call to moveToNextStep() if user
wishes to rollback next step and return to this one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final NewElementRule rule
protected final Element e
protected final NamespaceManager nsManager
protected InsertListChooserWizard wizard
protected List<InsertList> insertLists
Constructor Detail |
---|
protected FillNewElementWizardProvider.CreateElementContentsWS(NewElementRule rule, Element e, NamespaceManager nsManager)
rule
- rule for this new element.e
- the new element. Must not contain any elements nor
attributes.nsManager
- current namespace manager. won't get modified.Method Detail |
---|
public IWizard getWizard()
FillNewElementWizardProvider.WizardStep
getWizard
in interface FillNewElementWizardProvider.WizardStep
public Element getContextElement()
FillNewElementWizardProvider.WizardStep
getContextElement
in interface FillNewElementWizardProvider.WizardStep
public boolean hasNextSteps()
FillNewElementWizardProvider.WizardStep
moveToNextStep()
will return non-empty
list. It does not finish this step. May be called multiple times.
getWizard().canFinish()
is granted to be
true
, and getWizard()
has already been
invoked.
hasNextSteps
in interface FillNewElementWizardProvider.WizardStep
true
if there are still more steps.public List<FillNewElementWizardProvider.AbstractStepFactory> moveToNextStep()
FillNewElementWizardProvider.WizardStep
getWizard().canFinish()
is granted to be
true
, and getWizard()
has already been
invoked.
moveToNextStep
in interface FillNewElementWizardProvider.WizardStep
null
.public void rollbackFromNextStep()
FillNewElementWizardProvider.WizardStep
moveToNextStep()
if user
wishes to rollback next step and return to this one.
rollbackFromNextStep
in interface FillNewElementWizardProvider.WizardStep
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |