org.eclipse.mtj.ui.templates
Class AbstractTemplateWizardPage
java.lang.Object
WizardPage
org.eclipse.mtj.ui.templates.AbstractTemplateWizardPage
-
public abstract class AbstractTemplateWizardPage
- extends WizardPage
AbstractTemplateWizardPage class is intended to be extended by template
implementations to add a custom template page to the New MIDlet Wizard.
The custom template page contains fields for template customization that
will setup some template specific values.
-
Since:
- 1.0
Method Summary
|
abstract void
|
createControl
(Composite parent)
Creates the Wizard Template custom page under the given
parent composite. |
abstract
Map<
String,
String>
|
getDictionary
()
Gets the template dictionary of tags
and it's corresponding values according
to the page's custom fields. |
abstract boolean
|
isPageComplete
()
Returns whether this page is complete or not. |
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
AbstractTemplateWizardPage
protected AbstractTemplateWizardPage(
String name)
- Creates an AbstractTemplateWizardPage instance. This abstract
page is intended to be extended by template providers in order
to add template specific fields.
-
Parameters:
-
name
- page name.
AbstractTemplateWizardPage
protected AbstractTemplateWizardPage()
- Creates an AbstractTemplateWizardPage instance. This abstract
page is intended to be extended by template providers in order
to add template specific fields.
getDictionary
public abstract
Map<
String,
String> getDictionary()
- Gets the template dictionary of tags
and it's corresponding values according
to the page's custom fields.
-
-
Returns:
- template's dictionary.
createControl
public abstract void createControl(Composite parent)
- Creates the Wizard Template custom page under the given
parent composite.
-
-
Parameters:
-
parent
- the parent composite.
isPageComplete
public abstract boolean isPageComplete()
- Returns whether this page is complete or not.
This information is typically used by the wizard to decide
when it is okay to finish.
-
-
Returns:
-
true
if this page is complete, and
false
otherwise