public class ViewModelWizardNewFileCreationPage
extends org.eclipse.ui.dialogs.WizardNewFileCreationPage
Modifier and Type | Field and Description |
---|---|
static List<String> |
FILE_EXTENSIONS
The supported extensions for created files.
|
static String |
FORMATTED_FILE_EXTENSIONS
A formatted list of supported file extensions, suitable for display.
|
Constructor and Description |
---|
ViewModelWizardNewFileCreationPage(String pageId,
org.eclipse.jface.viewers.IStructuredSelection selection)
Pass in the selection.
|
Modifier and Type | Method and Description |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent) |
org.eclipse.emf.ecore.EClass |
getEClass() |
org.eclipse.core.resources.IFile |
getModelFile() |
void |
setEClass(org.eclipse.emf.ecore.EClass eClass) |
void |
setVisible(boolean visible) |
protected boolean |
validatePage()
The framework calls this to see if the file is correct.
|
createAdvancedControls, createFile, createFileHandle, createLinkTarget, createNewFile, createRule, getContainerFullPath, getFileExtension, getFileName, getInitialContents, getNewFileLabel, handleAdvancedButtonSelect, handleEvent, initialPopulateContainerNameField, setAllowExistingResources, setContainerFullPath, setFileExtension, setFileName, validateLinkedResource
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 static final List<String> FILE_EXTENSIONS
public static final String FORMATTED_FILE_EXTENSIONS
public ViewModelWizardNewFileCreationPage(String pageId, org.eclipse.jface.viewers.IStructuredSelection selection)
public org.eclipse.emf.ecore.EClass getEClass()
public void setEClass(org.eclipse.emf.ecore.EClass eClass)
eClass
- the eClass to setpublic void setVisible(boolean visible)
setVisible
in interface org.eclipse.jface.dialogs.IDialogPage
setVisible
in class org.eclipse.ui.dialogs.WizardNewFileCreationPage
WizardNewFileCreationPage.setVisible(boolean)
public void createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in interface org.eclipse.jface.dialogs.IDialogPage
createControl
in class org.eclipse.ui.dialogs.WizardNewFileCreationPage
WizardNewFileCreationPage.createControl(org.eclipse.swt.widgets.Composite)
protected boolean validatePage()
validatePage
in class org.eclipse.ui.dialogs.WizardNewFileCreationPage
public org.eclipse.core.resources.IFile getModelFile()
Copyright © 2016. All rights reserved.