Rule Execution Server API

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

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.eclipse.ui.dialogs.WizardNewProjectCreationPage
              extended by ilog.rules.studio.res.ui.generator.impl.wizard.page.IlrProjectName
All Implemented Interfaces:
IDialogPage, IMessageProvider, IWizardPage

public class IlrProjectName
extends WizardNewProjectCreationPage

Extends the WizardNewProjectCreationPage class to request the name of the new project.

Since:
JRules 6.5

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
IlrProjectName(String pageName)
          Creates a new project creation wizard page.
 
Method Summary
 void createControl(Composite parent)
          Redefines the createControl method, which creates a composite and sets the contextual help.
protected  String getHelpContextId()
          Gets the help context id declared in the documentation plug-in associated with this page.
protected  boolean validatePage()
           
 
Methods inherited from class org.eclipse.ui.dialogs.WizardNewProjectCreationPage
createWorkingSetGroup, getLocationPath, getLocationURI, getProjectHandle, getProjectName, getSelectedWorkingSets, setInitialProjectName, setVisible, useDefaults
 
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, dispose, 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
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp
 

Constructor Detail

IlrProjectName

public IlrProjectName(String pageName)
Creates a new project creation wizard page.

Parameters:
pageName - the name of this page
Method Detail

createControl

public void createControl(Composite parent)
Redefines the createControl method, which creates a composite and sets the contextual help.

The contextual help is set by using the returned value of the getHelpContextId method.

Specified by:
createControl in interface IDialogPage
Overrides:
createControl in class WizardNewProjectCreationPage

getHelpContextId

protected String getHelpContextId()
Gets the help context id declared in the documentation plug-in associated with this page.

Returns:
the help context id.

validatePage

protected boolean validatePage()
Overrides:
validatePage in class WizardNewProjectCreationPage

Rule Execution Server API

© Copyright IBM Corp. 1987, 2012