org.eclipse.ocl.examples.xtext.oclstdlib.ui.wizards
Class OCLstdlibFileDialog

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.Dialog
          extended by org.eclipse.emf.common.ui.dialogs.ResourceDialog
              extended by org.eclipse.emf.edit.ui.action.LoadResourceAction.LoadResourceDialog
                  extended by org.eclipse.emf.ecore.presentation.EcoreActionBarContributor.ExtendedLoadResourceAction.ExtendedLoadResourceDialog
                      extended by org.eclipse.ocl.examples.xtext.base.ui.wizards.AbstractFileDialog
                          extended by org.eclipse.ocl.examples.xtext.oclstdlib.ui.wizards.OCLstdlibFileDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider

public class OCLstdlibFileDialog
extends AbstractFileDialog


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
 
Fields inherited from class org.eclipse.ocl.examples.xtext.base.ui.wizards.AbstractFileDialog
initialSelection, PREFIX, wizard
 
Fields inherited from class org.eclipse.emf.ecore.presentation.EcoreActionBarContributor.ExtendedLoadResourceAction.ExtendedLoadResourceDialog
registeredPackages
 
Fields inherited from class org.eclipse.emf.edit.ui.action.LoadResourceAction.LoadResourceDialog
domain
 
Fields inherited from class org.eclipse.emf.common.ui.dialogs.ResourceDialog
context, CONTROL_OFFSET, style, title, uriField, uriText
 
Fields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
 
Fields inherited from class org.eclipse.jface.window.Window
CANCEL, OK, resizeHasOccurred
 
Constructor Summary
OCLstdlibFileDialog(OCLstdlibFileNewWizard wizard, AbstractFileNewWizardPage wizardPage, org.eclipse.core.resources.IResource initialSelection)
          Creates an extended new OCL Standard Library file creation dialog.
 
Method Summary
protected  void createMetamodelsArea(org.eclipse.swt.widgets.Composite parent)
           
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.ui.wizards.AbstractFileDialog
createDialogArea, createResourceAndContainerArea, getFileName, getGroup, getNewFile, getNewFilePath, getShell, initSelection, isFilteredByParent, isURIFieldValid, validateGroup
 
Methods inherited from class org.eclipse.emf.ecore.presentation.EcoreActionBarContributor.ExtendedLoadResourceAction.ExtendedLoadResourceDialog
getAllPackages, getRegisteredPackages, prepareBrowseRegisteredPackagesButton, prepareBrowseTargetPlatformPackagesButton, processResource
 
Methods inherited from class org.eclipse.emf.edit.ui.action.LoadResourceAction.LoadResourceDialog
processResources
 
Methods inherited from class org.eclipse.emf.common.ui.dialogs.ResourceDialog
configureShell, getURIs, getURIText, isMulti, isSave, normalizeStyle, okPressed, prepareBrowseFileSystemButton, prepareBrowseWorkspaceButton
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createButtonsForButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OCLstdlibFileDialog

public OCLstdlibFileDialog(@NonNull
                           OCLstdlibFileNewWizard wizard,
                           @NonNull
                           AbstractFileNewWizardPage wizardPage,
                           @Nullable
                           org.eclipse.core.resources.IResource initialSelection)
Creates an extended new OCL Standard Library file creation dialog. If the initial resource selection contains exactly one container resource then it will be used as the default container resource.

Parameters:
parent - composite widget to parent the group
domain -
selection - the current resource selection
listener - object interested in changes to the group's fields value
Method Detail

createMetamodelsArea

protected void createMetamodelsArea(org.eclipse.swt.widgets.Composite parent)
Overrides:
createMetamodelsArea in class AbstractFileDialog