Package com.iizigo.project
Class NewModuleProjectWizardStartupPage1
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.wizard.WizardPage
-
- com.iizigo.project.NewModuleProjectWizardStartupPage1
-
- All Implemented Interfaces:
IValidationMessage
,org.eclipse.jface.dialogs.IDialogPage
,org.eclipse.jface.dialogs.IMessageProvider
,org.eclipse.jface.wizard.IWizardPage
public class NewModuleProjectWizardStartupPage1 extends org.eclipse.jface.wizard.WizardPage implements IValidationMessage
Class for the new text tables with languages wizard page.- Author:
- Christopher Mindus
-
-
Field Summary
Fields Modifier and Type Field Description boolean
hasDesktop
boolean
hasPhone
boolean
hasTablet
boolean
useTextTables
-
Constructor Summary
Constructors Constructor Description NewModuleProjectWizardStartupPage1(int widthHint)
Creates the new text tables with languages wizard page.NewModuleProjectWizardStartupPage1(int widthHint, java.lang.Runnable allowNoCreation)
Creates the new text tables with languages wizard page.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createControl(org.eclipse.swt.widgets.Composite parent)
Creates the dialog.java.lang.String
getProjectName()
Gets the project name.void
onValidate(boolean isValid)
Call to inform validity of all validators.void
setVisible(boolean visible)
TheDialogPage
implementation of thisIDialogPage
method sets the control to the given visibility state.-
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
-
Methods inherited from interface com.iizigo.validator.IValidationMessage
setMessage
-
-
-
-
Constructor Detail
-
NewModuleProjectWizardStartupPage1
public NewModuleProjectWizardStartupPage1(int widthHint)
Creates the new text tables with languages wizard page.
-
NewModuleProjectWizardStartupPage1
public NewModuleProjectWizardStartupPage1(int widthHint, java.lang.Runnable allowNoCreation)
Creates the new text tables with languages wizard page.
-
-
Method Detail
-
setVisible
public void setVisible(boolean visible)
TheDialogPage
implementation of thisIDialogPage
method sets the control to the given visibility state. Subclasses may extend.- Specified by:
setVisible
in interfaceorg.eclipse.jface.dialogs.IDialogPage
- Overrides:
setVisible
in classorg.eclipse.jface.dialogs.DialogPage
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent)
Creates the dialog.- Specified by:
createControl
in interfaceorg.eclipse.jface.dialogs.IDialogPage
-
onValidate
public void onValidate(boolean isValid)
Call to inform validity of all validators.- Specified by:
onValidate
in interfaceIValidationMessage
- Parameters:
isValid
- true if valid, false otherwise.
-
getProjectName
public java.lang.String getProjectName()
Gets the project name.- Returns:
- The project name.
-
-