ilog.rules.studio.res.ui.generator.impl.wizard.page
Class IlrProjectName
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.wizard.WizardPage
-
- org.eclipse.ui.dialogs.WizardNewProjectCreationPage
-
- ilog.rules.studio.res.ui.generator.impl.wizard.page.IlrProjectName
-
- All Implemented Interfaces:
- org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage
public class IlrProjectName extends org.eclipse.ui.dialogs.WizardNewProjectCreationPage
Extends theWizardNewProjectCreationPage
class to request the name of the new project.- Since:
- JRules 6.5
-
-
Constructor Summary
Constructors Constructor and Description IlrProjectName(java.lang.String pageName)
Creates a new project creation wizard page.
-
Method Summary
Methods Modifier and Type Method and Description void
createControl(org.eclipse.swt.widgets.Composite parent)
Redefines thecreateControl
method, which creates a composite and sets the contextual help.protected java.lang.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
-
-
-
-
Constructor Detail
-
IlrProjectName
public IlrProjectName(java.lang.String pageName)
Creates a new project creation wizard page.- Parameters:
pageName
- the name of this page
-
-
Method Detail
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent)
Redefines thecreateControl
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 interfaceorg.eclipse.jface.dialogs.IDialogPage
- Overrides:
createControl
in classorg.eclipse.ui.dialogs.WizardNewProjectCreationPage
-
getHelpContextId
protected java.lang.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 classorg.eclipse.ui.dialogs.WizardNewProjectCreationPage
-
-