ilog.rules.studio.res.ui.generator.impl.wizard.page

Class 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 the IlrFileGeneratorWizardPage class to request the ruleset parameter values for each ruleset of the RuleApp.
    Since:
    JRules 6.0
    • Field Summary

      • Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider

        ERROR, INFORMATION, NONE, WARNING
    • 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)
      The IlrRulesetParameterWizardPage implementation of this IlrFileGeneratorWizardPage 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. 
      protected boolean isValidatedPageAtCreation()
      The IlrRulesetParameterWizardPage implementation of this IlrFileGeneratorWizardPage method returns true if all lines of the table are filled.
      void setVisible(boolean visible)
      The IlrRulesetParameterWizardPage implementation of this IDialogPage 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 the setCompletePage method.
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage

        getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp
    • 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)
        The IlrRulesetParameterWizardPage implementation of this IDialogPage method fills the table with the ruleset parameter name and type. Subclasses may extend.
        Specified by:
        setVisible in interface org.eclipse.jface.dialogs.IDialogPage
        Overrides:
        setVisible in class IlrFileGeneratorWizardPage
      • 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.
      • validatePage

        protected boolean validatePage()
        Gets the state of the page to put the value as the parameter of the setCompletePage method.
        Returns:
        True if the page is complete.

© Copyright IBM Corp. 1987, 2020