ilog.rules.studio.res.ui.generator.impl.wizard.page
Class IlrRulesetParameterWizardPage
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.wizard.WizardPage
-
- ilog.rules.studio.res.ui.generator.impl.wizard.page.IlrFileGeneratorWizardPage
-
- ilog.rules.studio.res.ui.generator.impl.wizard.page.IlrRulesetParameterWizardPage
-
- All Implemented Interfaces:
- org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage
public class IlrRulesetParameterWizardPage extends IlrFileGeneratorWizardPage
Extends theIlrFileGeneratorWizardPage
class to request the ruleset parameter values for each ruleset of the RuleApp.- Since:
- JRules 6.0
-
-
Constructor Summary
Constructors Constructor and Description IlrRulesetParameterWizardPage(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)
TheIlrRulesetParameterWizardPage
implementation of thisIlrFileGeneratorWizardPage
method creates a table with the ruleset name and the ruleset parameter name and type.IlrSignature[]
getSignatures()
Gets an array with the list of in or inout ruleset parameters name, type, and values for each ruleset of the RuleApp.protected boolean
isPageCompleteAtCreation()
Deprecated.useisValidatedPageAtCreation()
insteadprotected boolean
isValidatedPageAtCreation()
TheIlrRulesetParameterWizardPage
implementation of thisIlrFileGeneratorWizardPage
method returns true if all lines of the table are filled.void
setVisible(boolean visible)
TheIlrRulesetParameterWizardPage
implementation of thisIDialogPage
method fills the table with the ruleset parameter name and type.protected boolean
validatePage()
Gets the state of the page to put the value as the parameter of thesetCompletePage
method.-
Methods inherited from class ilog.rules.studio.res.ui.generator.impl.wizard.page.IlrFileGeneratorWizardPage
createControl, dispose, getHelpContextId
-
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
-
IlrRulesetParameterWizardPage
public IlrRulesetParameterWizardPage(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
-
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 classIlrFileGeneratorWizardPage
-
getSignatures
public IlrSignature[] getSignatures()
Gets an array with the list of in or inout ruleset parameters name, type, and values for each ruleset of the RuleApp.- Returns:
- An array of the signature of the ruleset parameters.
-
addContent
public void addContent(org.eclipse.swt.widgets.Composite parent)
TheIlrRulesetParameterWizardPage
implementation of thisIlrFileGeneratorWizardPage
method creates a table with the ruleset name and the ruleset parameter name and type. Subclasses may extend.- Specified by:
addContent
in classIlrFileGeneratorWizardPage
- Parameters:
parent
- The composite created in thecreateControl
method.- See Also:
IlrFileGeneratorWizardPage.addContent(org.eclipse.swt.widgets.Composite)
-
isPageCompleteAtCreation
protected boolean isPageCompleteAtCreation()
Deprecated. useisValidatedPageAtCreation()
insteadTheIlrRulesetParameterWizardPage
implementation of thisIlrFileGeneratorWizardPage
method returns true if all lines of the table are filled. Subclasses may extend.- Overrides:
isPageCompleteAtCreation
in classIlrFileGeneratorWizardPage
- Returns:
- True, if the page is complete at creation. Otherwise, false.
- See Also:
IlrFileGeneratorWizardPage.isPageCompleteAtCreation()
-
isValidatedPageAtCreation
protected boolean isValidatedPageAtCreation()
TheIlrRulesetParameterWizardPage
implementation of thisIlrFileGeneratorWizardPage
method returns true if all lines of the table are filled. Subclasses may extend.- Overrides:
isValidatedPageAtCreation
in classIlrFileGeneratorWizardPage
- Returns:
- True, if the page is complete at creation. Otherwise, false.
- See Also:
IlrFileGeneratorWizardPage.isPageCompleteAtCreation()
-
validatePage
protected boolean validatePage()
Gets the state of the page to put the value as the parameter of thesetCompletePage
method.- Returns:
- True if the page is complete.
-
-