ilog.rules.studio.res.ui.generator.impl.wizard.page
Class IlrFileGeneratorWizardPage
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.wizard.WizardPage
-
- ilog.rules.studio.res.ui.generator.impl.wizard.page.IlrFileGeneratorWizardPage
-
- All Implemented Interfaces:
- org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage
- Direct Known Subclasses:
- IlrProjectReference, IlrRuleAppReference, IlrRulesetParameterWizardPage, IlrTraceFilterWizardPage
public abstract class IlrFileGeneratorWizardPage extends org.eclipse.jface.wizard.WizardPage
Extends WizardPage to set the Client Project for RuleApps contextual help on the pages of the nested wizard.- Since:
- JRules 6.0
-
-
Constructor Summary
Constructors Constructor and Description IlrFileGeneratorWizardPage(java.lang.String name)
Creates a new wizard page with the given name, and with no title or image.
-
Method Summary
Methods Modifier and Type Method and Description protected abstract void
addContent(org.eclipse.swt.widgets.Composite parent)
Called by the redefinedcreateControl
final method to create the controls.void
createControl(org.eclipse.swt.widgets.Composite parent)
Redefines thecreateControl
method, which creates a composite and sets the contextual help.void
dispose()
TheIlrFileGeneratorWizardPage
implementation of aDialogPage
method that gets the control.protected java.lang.String
getHelpContextId()
Gets the help context id declared in the documentation plug-in associated with this page.protected boolean
isPageCompleteAtCreation()
Deprecated.useisValidatedPageAtCreation()
insteadprotected boolean
isValidatedPageAtCreation()
Called by the redefinedcreateControl
final method to know if the page is complete when it is created.void
setVisible(boolean visible)
TheIlrRulesetParameterWizardPage
implementation of thisIDialogPage
method fills the table with the ruleset parameter name and type.-
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
-
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage
-
-
-
-
Constructor Detail
-
IlrFileGeneratorWizardPage
public IlrFileGeneratorWizardPage(java.lang.String name)
Creates a new wizard page with the given name, and with no title or image.- Parameters:
name
- The name of the page.
-
-
Method Detail
-
getHelpContextId
protected java.lang.String getHelpContextId()
Gets the help context id declared in the documentation plug-in associated with this page.- Since:
- JRules 6.5
- Returns:
- The help context id.
-
setVisible
public void setVisible(boolean visible)
TheIlrRulesetParameterWizardPage
implementation of thisIDialogPage
method fills the table with the ruleset parameter name and type. Subclasses may extend.- Specified by:
setVisible
in interfaceorg.eclipse.jface.dialogs.IDialogPage
- Overrides:
setVisible
in classorg.eclipse.jface.dialogs.DialogPage
-
createControl
public final void createControl(org.eclipse.swt.widgets.Composite parent)
Redefines thecreateControl
method, which creates a composite and sets the contextual help.To set your content, define the
addContent
method.By default, the page is complete when it is created. If you do not want it, you can redefine the
isValidatedPageAtCreation
method and return false.
-
addContent
protected abstract void addContent(org.eclipse.swt.widgets.Composite parent)
Called by the redefinedcreateControl
final method to create the controls.- Parameters:
parent
- The composite created in thecreateControl
method.
-
isValidatedPageAtCreation
protected boolean isValidatedPageAtCreation()
Called by the redefinedcreateControl
final method to know if the page is complete when it is created.- Returns:
- True, if the page is complete at creation. Otherwise, false.
-
isPageCompleteAtCreation
protected boolean isPageCompleteAtCreation()
Deprecated. useisValidatedPageAtCreation()
insteadCalled by the redefinedcreateControl
final method to know if the page is complete when it is created.- Returns:
- True, if the page is complete at creation. Otherwise, false.
-
dispose
public void dispose()
TheIlrFileGeneratorWizardPage
implementation of aDialogPage
method that gets the control.- Specified by:
dispose
in interfaceorg.eclipse.jface.dialogs.IDialogPage
- Overrides:
dispose
in classorg.eclipse.jface.dialogs.DialogPage
- Since:
- JRules 6.5
-
-