|
||||||||||
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
public abstract class BaseWizardPage
Extends the WizardPage
class and adds some functionality.
Field Summary | |
---|---|
protected String |
name
This page's name. |
Constructor Summary | |
---|---|
protected |
BaseWizardPage(String pageName,
String title,
Image titleImage)
Creates a new wizard page with the given name, title, and image. |
Method Summary | |
---|---|
IWizardPageContext |
getContext()
Returns the context instance. |
protected abstract Control |
handleCreateControl(Composite parent)
Creates the top level control for this dialog page under the given parent composite. |
protected abstract void |
handleDispose()
Disposes the resources allocated by this dialog page. |
boolean |
hasErrors()
Determines by current validity messages if this page contains error or not. |
protected void |
setMessages(ValidityMessages messages)
Updates messages on this page. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final String name
Constructor Detail |
---|
protected BaseWizardPage(String pageName, String title, Image titleImage)
pageName
- the name of the pagetitle
- the title for this wizard page, or null
if
none. It should be a command, something like 'Please configure the foo
properties'.titleImage
- the image descriptor for the title of this wizard page,
or null
if none.Method Detail |
---|
public final boolean hasErrors()
true
if the page is satisfied with its data.protected final void setMessages(ValidityMessages messages)
info
part is ignored
and always rewritten by the title
.
messages
- validity messages. If null
then all
messages are cleared.public final IWizardPageContext getContext()
public String toString()
toString
in class Object
protected abstract Control handleCreateControl(Composite parent)
Creates the top level control for this dialog page under the given parent composite.
This method is called only once.
parent
- the parent composite
protected abstract void handleDispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |