public class NewModelMainPage extends org.eclipse.jface.wizard.WizardPage implements INewModelMainPage
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CREATE_MODEL_TEXT |
protected boolean |
creatingFromTemplate |
protected static java.lang.String |
EXISTING_BUTTON_TEXT |
protected static java.lang.String |
EXISTING_DESCIPTION |
protected static java.lang.String |
GROUP_TITLE |
protected static java.lang.String |
STANDARD_BUTTON_TEXT |
protected static java.lang.String |
STANDARD_DESCRIPTION |
Modifier | Constructor and Description |
---|---|
protected |
NewModelMainPage(java.lang.String pageName)
Create the page.
|
Modifier and Type | Method and Description |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent) |
boolean |
isCreatingFromStandardTemplate()
Return true if a new model to be created from the standard template,
false if from an existing model
|
void |
setHelpID(java.lang.String helpID)
Sets the help ID of this page.
|
protected boolean |
validatePage()
Returns whether or not this page is valid.
|
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
protected static final java.lang.String CREATE_MODEL_TEXT
protected static final java.lang.String STANDARD_BUTTON_TEXT
protected static final java.lang.String EXISTING_BUTTON_TEXT
protected static final java.lang.String GROUP_TITLE
protected static final java.lang.String EXISTING_DESCIPTION
protected static final java.lang.String STANDARD_DESCRIPTION
protected boolean creatingFromTemplate
protected NewModelMainPage(java.lang.String pageName)
pageName
- public void setHelpID(java.lang.String helpID)
setHelpID
in interface INewModelMainPage
helpID
- the help ID of this pagepublic void createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in interface org.eclipse.jface.dialogs.IDialogPage
protected boolean validatePage()
public boolean isCreatingFromStandardTemplate()
isCreatingFromStandardTemplate
in interface INewModelMainPage