|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.uniba.euromath.editor.wizards.BaseWizardPage sk.uniba.euromath.editor.wizards.document.CreateAttributeListWizardPage
public class CreateAttributeListWizardPage
Manages the process of creating new attributes into newly created element. Attributes themselves are not created, their names and values are returned instead.
Field Summary | |
---|---|
NamespaceManager |
currentManager
the current manager. |
List<AttributeListRule> |
listRules
the list of lists of attribute. |
String |
parentName
the name of the parent element. |
XMLAccess |
xmlAccess
The document instance. |
Fields inherited from class sk.uniba.euromath.editor.wizards.BaseWizardPage |
---|
name |
Constructor Summary | |
---|---|
CreateAttributeListWizardPage(List<AttributeListRule> listRules,
String parentName,
XMLAccess xmlAccess,
NamespaceManager currentManager)
Constructor. |
Method Summary | |
---|---|
CreateAttributeList |
getWidget()
Returns the widget. |
Control |
handleCreateControl(Composite parent)
Creates the top level control for this dialog page under the given parent composite. |
protected void |
handleDispose()
Disposes the resources allocated by this dialog page. |
protected boolean |
validatePage()
Validates the page and shows appropriate error message if necessary. |
Methods inherited from class sk.uniba.euromath.editor.wizards.BaseWizardPage |
---|
getContext, hasErrors, setMessages, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final List<AttributeListRule> listRules
public final String parentName
public final XMLAccess xmlAccess
public final NamespaceManager currentManager
Constructor Detail |
---|
public CreateAttributeListWizardPage(List<AttributeListRule> listRules, String parentName, XMLAccess xmlAccess, NamespaceManager currentManager)
listRules
- the list of lists of attribute. Exactly one list will be
chosen.parentName
- the name of the parent element. Used only to display
the name on the shell.xmlAccess
- the xml document instance.currentManager
- the current manager. It won't get modified.Method Detail |
---|
public CreateAttributeList getWidget()
public Control handleCreateControl(Composite parent)
BaseWizardPage
Creates the top level control for this dialog page under the given parent composite.
This method is called only once.
handleCreateControl
in class BaseWizardPage
parent
- the parent composite
protected boolean validatePage()
true
if page is OK.protected void handleDispose()
BaseWizardPage
handleDispose
in class BaseWizardPage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |