public interface INewObjectPreparator
INewObjectPreparator
configured therein is then
instantiated via
IConfigurationElement.createExecutableExtension(String)
, i.e. using
the zero-argument constructor.setWizard(ITextGridWizard)
.ITextGridWizardPage
s defined in the
extension point (if any). Each new wizard page is
initialized with the wizard and the preparator.initializeObject(TextGridObject)
is called to allow the
preparator to, well, initialize the object before any other wizard page is
shown.MetadataPage
and the content type
specific wizard pages.performFinish(TextGridObject)
is called.Modifier and Type | Method and Description |
---|---|
void |
initializeObject(TextGridObject textGridObject)
This method is called after
setWizard(ITextGridWizard) , but
before the metadata page or the first content page is shown. |
boolean |
performFinish(TextGridObject textGridObject)
Does whatever should be done after finishing the dialog.
|
void |
setWizard(ITextGridWizard wizard)
Notifies this new object preparator of the wizard in which it runs.
|
void setWizard(ITextGridWizard wizard)
void initializeObject(TextGridObject textGridObject)
setWizard(ITextGridWizard)
, but
before the metadata page or the first content page is shown. It may be
used to initialize certain data in the object, e.g. that should be loaded
into the metadata page.textGridObject
- The TextGridObject to create. This would typically be
new and contain just
project and content type.boolean performFinish(TextGridObject textGridObject)
textGridObject
- The TextGridObject
as it has been set up by the
wizard.NewObjectWizard#defaultPerformFinish(),
{@link IWizard#performFinish()}