public class WizardNewXtextProjectCreationPage
extends org.eclipse.ui.dialogs.WizardNewProjectCreationPage
Constructor and Description |
---|
WizardNewXtextProjectCreationPage(java.lang.String pageName,
org.eclipse.jface.viewers.IStructuredSelection selection)
Constructs a new WizardNewXtextProjectCreationPage.
|
Modifier and Type | Method and Description |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent) |
protected void |
createLanguageSelectionGroup(org.eclipse.swt.widgets.Composite parent) |
protected void |
createProjectLayoutGroup(org.eclipse.swt.widgets.Composite parent) |
protected void |
fillMweSnippet() |
protected java.lang.String |
findNextValidProjectSuffix(java.lang.String prefix,
java.lang.String name)
Find the next available (default) DSL name
|
protected java.lang.String |
getDefaultConfigName() |
java.lang.String |
getFileExtensions()
Returns the supported DSL extensions as a CSV string
|
java.lang.String |
getGeneratorConfig() |
java.lang.String |
getLanguageName() |
protected java.lang.String[] |
getWorkingSetIdents() |
protected int |
indexOfDefault(java.util.List<java.lang.String> contributions) |
boolean |
isCreateFeatureProject() |
protected void |
setDefaults(java.lang.String projectSuffix)
Sets the defaults for the languageName and extensions.
|
protected boolean |
validatePage() |
createWorkingSetGroup, getLocationPath, getLocationURI, getProjectHandle, getProjectName, getSelectedWorkingSets, setInitialProjectName, setVisible, useDefaults
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
public WizardNewXtextProjectCreationPage(java.lang.String pageName, org.eclipse.jface.viewers.IStructuredSelection selection)
pageName
- the name of the pageselection
- The current selection. If the current selection includes workingsets the workingsets field is
initialized with the selection.public void createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in interface org.eclipse.jface.dialogs.IDialogPage
createControl
in class org.eclipse.ui.dialogs.WizardNewProjectCreationPage
protected java.lang.String[] getWorkingSetIdents()
protected void setDefaults(java.lang.String projectSuffix)
dslName
- the name of the DSLprotected void fillMweSnippet()
protected int indexOfDefault(java.util.List<java.lang.String> contributions)
protected java.lang.String getDefaultConfigName()
protected java.lang.String findNextValidProjectSuffix(java.lang.String prefix, java.lang.String name)
protected boolean validatePage()
validatePage
in class org.eclipse.ui.dialogs.WizardNewProjectCreationPage
protected void createLanguageSelectionGroup(org.eclipse.swt.widgets.Composite parent)
protected void createProjectLayoutGroup(org.eclipse.swt.widgets.Composite parent)
public java.lang.String getFileExtensions()
public java.lang.String getLanguageName()
public java.lang.String getGeneratorConfig()
public boolean isCreateFeatureProject()