|
||||||||||
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.CreateAttributesWS
protected class FillNewElementWizardProvider.CreateAttributesWS
Step that allows user to create attributes in newly created element.
Field Summary | |
---|---|
protected List<AttributeListRule> |
attrRules
Rules for possible new attributes, as required by the schema. |
protected Element |
e
the new element. |
protected NamespaceManager |
nsManager
current namespace manager. |
protected NewElementRule |
rule
rule for this new element. |
protected CreateAttributeListWizard |
wizard
The wizard instance. |
Constructor Summary | |
---|---|
protected |
FillNewElementWizardProvider.CreateAttributesWS(NewElementRule rule,
Element e,
NamespaceManager nsManager)
Constructor. |
Method Summary | |
---|---|
Element |
getContextElement()
Returns element where this step creates contents. |
CreateAttributeListWizard |
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 List<AttributeListRule> attrRules
protected final Element e
protected final NamespaceManager nsManager
protected CreateAttributeListWizard wizard
Constructor Detail |
---|
protected FillNewElementWizardProvider.CreateAttributesWS(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 CreateAttributeListWizard 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 |