ilog.rules.studio.res.ui.generator.impl.wizard.page
Class IlrTraceFilterWizardPage
- 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.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 theIlrFileGeneratorWizardPage
class to request the values of the trace filters.- Since:
- JRules 6.5
-
-
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)
TheIlrTraceFilter
implementation of thisIlrFileGeneratorWizardPage
method.protected java.lang.String
getDefaultFilterMessage()
Gets the message to display.protected java.lang.String
getRedefineFilterMessage()
Gets the message to display.protected boolean
isRedefinitionAllowed()
Returnstrue
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 ilog.rules.studio.res.ui.generator.impl.wizard.page.IlrFileGeneratorWizardPage
createControl, dispose, getHelpContextId, isPageCompleteAtCreation, isValidatedPageAtCreation, setVisible
-
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
-
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 theIlrTraceFileGenerator
class.- Parameters:
filegenerator
- The file generator to complete.
-
isRedefinitionAllowed
protected boolean isRedefinitionAllowed()
Returnstrue
if the radio button must be visible in the page. Iffalse
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 returnsfalse
, 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 returnsfalse
, this method will not be called.- Returns:
- The message to display.
-
addContent
public void addContent(org.eclipse.swt.widgets.Composite parent)
TheIlrTraceFilter
implementation of thisIlrFileGeneratorWizardPage
method. Creates two radio buttons and the check list for all trace properties.- Specified by:
addContent
in classIlrFileGeneratorWizardPage
- Parameters:
parent
- The composite created in thecreateControl
method.- See Also:
IlrFileGeneratorWizardPage.addContent(org.eclipse.swt.widgets.Composite)
-
-