ilog.rules.studio.res.ui.generator.impl.wizard.page
Class IlrRulesetReference
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.wizard.WizardPage
-
- org.eclipse.jface.wizard.WizardSelectionPage
-
- ilog.rules.studio.res.ui.generator.impl.wizard.page.IlrFileGeneratorWizardSelectionPage
-
- ilog.rules.studio.res.ui.generator.impl.wizard.page.IlrRulesetReference
-
- All Implemented Interfaces:
- org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage
- Direct Known Subclasses:
- IlrCompleteRulesetReference
public class IlrRulesetReference extends IlrFileGeneratorWizardSelectionPage
Extends theIlrFileGeneratorWizardSelectionPage
class. TheIlrFileGeneratorWizardSelectionPage
class requests the rulesets inside the RuleApp project to manage.- Since:
- JRules 6.5
-
-
Constructor Summary
Constructors Constructor and Description IlrRulesetReference(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 void
addContent(org.eclipse.swt.widgets.Composite parent)
Adds content to the page.boolean
canFlipToNextPage()
Returnstrue
if the selected generator has declared a nested wizard.protected java.lang.String
getHelpContextId()
Gets the help context id declared in the documentation plug-in associated with this page.protected boolean
isValidatedPageAtCreation()
Checks to verify whether the newly created page is complete.-
Methods inherited from class ilog.rules.studio.res.ui.generator.impl.wizard.page.IlrFileGeneratorWizardSelectionPage
createControl, dispose, setVisible
-
Methods inherited from class org.eclipse.jface.wizard.WizardSelectionPage
getNextPage, getSelectedNode, setSelectedNode
-
Methods inherited from class org.eclipse.jface.wizard.WizardPage
getContainer, getDialogSettings, getImage, getName, 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
-
IlrRulesetReference
public IlrRulesetReference(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.- Overrides:
getHelpContextId
in classIlrFileGeneratorWizardSelectionPage
- Returns:
- The help context id.
-
isValidatedPageAtCreation
protected boolean isValidatedPageAtCreation()
Checks to verify whether the newly created page is complete. Called by the redefinedcreateControl
final method.- Overrides:
isValidatedPageAtCreation
in classIlrFileGeneratorWizardSelectionPage
- Returns:
true
if the page is complete at creation, and false if the page is not.
-
addContent
public void addContent(org.eclipse.swt.widgets.Composite parent)
Adds content to the page. Called by the redefinedcreateControl
final method.- Specified by:
addContent
in classIlrFileGeneratorWizardSelectionPage
- Parameters:
parent
- The composite created in thecreateControl
method.
-
canFlipToNextPage
public boolean canFlipToNextPage()
Returnstrue
if the selected generator has declared a nested wizard.- Specified by:
canFlipToNextPage
in interfaceorg.eclipse.jface.wizard.IWizardPage
- Overrides:
canFlipToNextPage
in classorg.eclipse.jface.wizard.WizardSelectionPage
-
-