Rule Execution Server API

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

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by ilog.rules.studio.res.ui.generator.impl.wizard.page.IlrFileGeneratorWizardPage
              extended by ilog.rules.studio.res.ui.generator.impl.wizard.page.IlrRuleAppReference
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage
Direct Known Subclasses:
IlrCompleteRuleAppReference

public class IlrRuleAppReference
extends IlrFileGeneratorWizardPage

Extends the IlrFileGeneratorWizardPage class to request the RuleApp project to work with during the code generation.

Since:
JRules 6.5

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
IlrRuleAppReference(String name)
          Creates a new wizard page with the given name, and with no title or image.
 
Method Summary
 void addContent(org.eclipse.swt.widgets.Composite parent)
          Adds content to the page.
protected  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.IlrFileGeneratorWizardPage
createControl, dispose, isPageCompleteAtCreation, 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
 
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

IlrRuleAppReference

public IlrRuleAppReference(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 String getHelpContextId()
Gets the help context id declared in the documentation plug-in associated with this page.

Overrides:
getHelpContextId in class IlrFileGeneratorWizardPage
Returns:
the help context id.

addContent

public void addContent(org.eclipse.swt.widgets.Composite parent)
Adds content to the page. Called by the redefined createControl final method.

Specified by:
addContent in class IlrFileGeneratorWizardPage
Parameters:
parent - The composite created in the createControl method.

isValidatedPageAtCreation

protected boolean isValidatedPageAtCreation()
Checks to verify whether the newly created page is complete. Called by the redefined createControl final method.

Overrides:
isValidatedPageAtCreation in class IlrFileGeneratorWizardPage
Returns:
true if the page is complete at creation, and false if the page is not.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013