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

Class IlrTraceFilterWizardPage

  • All Implemented Interfaces:
    org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage


    public class IlrTraceFilterWizardPage
    extends IlrFileGeneratorWizardPage
    Extends the IlrFileGeneratorWizardPage class to request the values of the trace filters.
    Since:
    JRules 6.5
    • Field Summary

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

        ERROR, INFORMATION, NONE, WARNING
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrTraceFilterWizardPage(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 IlrTraceFilter implementation of this IlrFileGeneratorWizardPage method.
      protected java.lang.String getDefaultFilterMessage()
      Gets the message to display.
      protected java.lang.String getRedefineFilterMessage()
      Gets the message to display.
      protected boolean isRedefinitionAllowed()
      Returns true if the radio button must be visible in the page.
      void saveProperties(IlrFileGenerator filegenerator)
      Stores the values of the parameter properties in the file generator.
      • 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

      • IlrTraceFilterWizardPage

        public IlrTraceFilterWizardPage(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

      • saveProperties

        public void saveProperties(IlrFileGenerator filegenerator)
        Stores the values of the parameter properties in the file generator. The type of the file generator must be a derived type of the IlrTraceFileGenerator class.
        Parameters:
        filegenerator - The file generator to complete.
      • isRedefinitionAllowed

        protected boolean isRedefinitionAllowed()
        Returns true if the radio button must be visible in the page. If false is returned, only the properties will be visible in the page.
        Returns:
        True if the radio buttons must be visible.
      • getDefaultFilterMessage

        protected java.lang.String getDefaultFilterMessage()
        Gets the message to display. Selecting the first radio button will not (re)generate the trace filter properties file.

        If the isRedefinitionAllowed() method returns false, this method will not be called.

        Returns:
        The message to display.
      • getRedefineFilterMessage

        protected java.lang.String getRedefineFilterMessage()
        Gets the message to display. Selecting the second radio button will (re)generate the trace filter properties file.

        If the isRedefinitionAllowed() method returns false, this method will not be called.

        Returns:
        The message to display.

© Copyright IBM Corp. 1987, 2020