public class NewModelProjectMainPage extends org.eclipse.ui.dialogs.WizardNewProjectCreationPage implements INewModelMainPage
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CREATE_MODEL_TEXT |
protected static java.lang.String |
CREATE_NEW_MODEL_TEXT |
protected boolean |
createNewModel |
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 |
NewModelProjectMainPage(java.lang.String pageName)
Create the page.
|
Modifier and Type | Method and Description |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent) |
boolean |
isCreateNewModel()
Return
true if the project wizard should create a new
model, false otherwise. |
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.
|
createWorkingSetGroup, getLocationPath, getLocationURI, getProjectHandle, getProjectName, getSelectedWorkingSets, setInitialProjectName, setVisible, useDefaults, validatePage
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
protected static final java.lang.String CREATE_NEW_MODEL_TEXT
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 boolean createNewModel
protected NewModelProjectMainPage(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
createControl
in class org.eclipse.ui.dialogs.WizardNewProjectCreationPage
public boolean isCreateNewModel()
true
if the project wizard should create a new
model, false
otherwise.true
if the project wizard should create a new
model, false
otherwisepublic boolean isCreatingFromStandardTemplate()
true
if a new model to be created from the standard template,
false
if from an existing modelisCreatingFromStandardTemplate
in interface INewModelMainPage
true
if a new model to be created from the standard template,
false
if from an existing model