|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jface.dialogs.DialogPage org.eclipse.jface.wizard.WizardPage org.eclipse.ui.dialogs.WizardNewProjectCreationPage org.eclipse.xtext.xtext.ui.wizard.project.WizardNewXtextProjectCreationPage
public class WizardNewXtextProjectCreationPage
The main page of the Xtext project wizard.
Field Summary |
---|
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
WizardNewXtextProjectCreationPage(java.lang.String pageName,
org.eclipse.jface.viewers.IStructuredSelection selection)
Constructs a new WizardNewXtextProjectCreationPage. |
Method Summary | |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
(non-Javadoc) Method declared on IDialogPage. |
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)
|
protected void |
setDefaults(java.lang.String projectSuffix)
Sets the defaults for the languageName and extensions. |
protected boolean |
validatePage()
Returns whether this page's controls currently all contain valid values. |
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 |
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 |
Constructor Detail |
---|
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.Method Detail |
---|
public void createControl(org.eclipse.swt.widgets.Composite parent)
org.eclipse.ui.dialogs.WizardNewProjectCreationPage
createControl
in interface org.eclipse.jface.dialogs.IDialogPage
createControl
in class org.eclipse.ui.dialogs.WizardNewProjectCreationPage
parent
- the parent compositeprotected 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()
org.eclipse.ui.dialogs.WizardNewProjectCreationPage
validatePage
in class org.eclipse.ui.dialogs.WizardNewProjectCreationPage
true
if all controls are valid, and
false
if at least one is invalidprotected 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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |