public abstract class IlrRuleProjectWizardTemplateController
extends java.lang.Object
IlrRuleProjectWizardTemplateController in order to
provide the code logic necessary to generate a rule project for a given
wizard template.| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.jface.wizard.IWizardPage[] |
templateWizardPages
Stores the template wizard pages managed by this controller.
|
| Constructor and Description |
|---|
IlrRuleProjectWizardTemplateController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureRuleProject(IlrRuleProject ruleProject,
org.eclipse.core.runtime.IProgressMonitor monitor) |
protected org.eclipse.jface.wizard.IWizard |
createWizard(ilog.rules.studio.ui.dialogs.wizards.IlrMainNewRuleProjectWizard mainWizard)
Allows implementation classes to directly provide a wizard instead
of relying on IlrRuleProjectWizardTemplate to provide one from the
pages registered on the corresponding plugin extention.
|
java.lang.String |
getCategory() |
protected java.lang.String |
getDescription()
Allows overriding the description set on the plugin extension configuration element.
|
protected com.ibm.icu.util.ULocale |
getEclipseLocale()
Returns the locale of the running Eclipse instance.
|
protected java.lang.String |
getName()
Allows overriding the name set on the plugin extension configuration element.
|
java.lang.String |
getRootFolder()
Retrieves the location of the template resources.
|
org.eclipse.jface.wizard.IWizardPage[] |
getTemplateWizardPages()
Returns the template wizard pages stored by the controller.
|
protected void |
initPages(org.eclipse.jface.wizard.IWizardPage[] templateWizardPages)
Allows the controller class to perform any necessary initialization on
the wizard pages.
|
abstract boolean |
performCancel(org.eclipse.core.runtime.IProgressMonitor monitor)
Executes cancellation logic at the end of the rule project wizard.
|
abstract boolean |
performFinish(org.eclipse.core.runtime.IProgressMonitor monitor)
Executes the rule project generation logic at the end of the rule
project wizard.
|
void |
setRootFolder(java.lang.String rootFolder)
Sets the location of the template resources.
|
protected void |
updateNature(org.eclipse.core.resources.IProject projectHandle) |
protected org.eclipse.jface.wizard.IWizardPage[] templateWizardPages
public IlrRuleProjectWizardTemplateController()
public java.lang.String getRootFolder()
public void setRootFolder(java.lang.String rootFolder)
rootFolder - The location of the template resources.public abstract boolean performFinish(org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException - if there is a failure in the platform.monitor - The progress monitor.public abstract boolean performCancel(org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException - if there is a failure in the platform.monitor - The progress monitor.public org.eclipse.jface.wizard.IWizardPage[] getTemplateWizardPages()
protected void initPages(org.eclipse.jface.wizard.IWizardPage[] templateWizardPages)
templateWizardPages field
is initialized.templateWizardPages - The wizard pages to add.protected com.ibm.icu.util.ULocale getEclipseLocale()
public java.lang.String getCategory()
protected void configureRuleProject(IlrRuleProject ruleProject, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionprotected void updateNature(org.eclipse.core.resources.IProject projectHandle)
protected java.lang.String getDescription()
protected java.lang.String getName()
protected org.eclipse.jface.wizard.IWizard createWizard(ilog.rules.studio.ui.dialogs.wizards.IlrMainNewRuleProjectWizard mainWizard)
© Copyright IBM Corp. 1987, 2017