protected class LoadCompleteOCLResourceHandler.ResourceDialog
extends org.eclipse.emf.edit.ui.action.LoadResourceAction.LoadResourceDialog
Modifier and Type | Class and Description |
---|---|
protected class |
LoadCompleteOCLResourceHandler.ResourceDialog.DeferredLoadDocumentJob
Job scheduled on a worker thread to compute the editor text.
|
class |
LoadCompleteOCLResourceHandler.ResourceDialog.URIDropTargetListener |
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.swt.widgets.Shell |
parent |
protected org.eclipse.emf.ecore.resource.ResourceSet |
resourceSet |
domain
context, CONTROL_OFFSET, style, title, uriField, uriText
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
Modifier | Constructor and Description |
---|---|
protected |
ResourceDialog(org.eclipse.swt.widgets.Shell parent,
org.eclipse.emf.edit.domain.EditingDomain domain,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureShell(org.eclipse.swt.widgets.Shell shell) |
protected org.eclipse.swt.widgets.Control |
createContents(org.eclipse.swt.widgets.Composite parent) |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent) |
protected boolean |
error(java.lang.String primaryMessage,
java.lang.String detailMessage)
Generate a popup to display a primaryMessage and optionally a detailMessage too.
|
protected void |
okPressed() |
int |
open() |
protected boolean |
processResource(org.eclipse.emf.ecore.resource.Resource resource) |
protected boolean |
processResources() |
getURIs, getURIText, isMulti, isSave, normalizeStyle, prepareBrowseFileSystemButton, prepareBrowseWorkspaceButton
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createButtonsForButtonBar, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
protected final org.eclipse.swt.widgets.Shell parent
@NonNull protected final org.eclipse.emf.ecore.resource.ResourceSet resourceSet
protected ResourceDialog(org.eclipse.swt.widgets.Shell parent, org.eclipse.emf.edit.domain.EditingDomain domain, @NonNull org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
protected void configureShell(org.eclipse.swt.widgets.Shell shell)
configureShell
in class org.eclipse.emf.common.ui.dialogs.ResourceDialog
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
createContents
in class org.eclipse.jface.dialogs.Dialog
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea
in class org.eclipse.emf.common.ui.dialogs.ResourceDialog
protected boolean error(@NonNull java.lang.String primaryMessage, @Nullable java.lang.String detailMessage)
protected void okPressed()
okPressed
in class org.eclipse.emf.common.ui.dialogs.ResourceDialog
public int open()
open
in class org.eclipse.jface.window.Window
protected boolean processResources()
processResources
in class org.eclipse.emf.edit.ui.action.LoadResourceAction.LoadResourceDialog
protected boolean processResource(org.eclipse.emf.ecore.resource.Resource resource)
processResource
in class org.eclipse.emf.edit.ui.action.LoadResourceAction.LoadResourceDialog