|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jface.window.Window org.eclipse.jface.dialogs.Dialog org.eclipse.emf.common.ui.dialogs.ResourceDialog org.eclipse.emf.edit.ui.action.LoadResourceAction.LoadResourceDialog
public static class LoadResourceAction.LoadResourceDialog
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
---|
Window.IExceptionHandler |
Field Summary | |
---|---|
protected EditingDomain |
domain
|
Fields inherited from class org.eclipse.emf.common.ui.dialogs.ResourceDialog |
---|
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 |
Constructor Summary | |
---|---|
LoadResourceAction.LoadResourceDialog(Shell parent)
|
|
LoadResourceAction.LoadResourceDialog(Shell parent,
EditingDomain domain)
|
Method Summary | |
---|---|
protected boolean |
processResource(Resource resource)
|
protected boolean |
processResources()
Called by ResourceDialog.okPressed() to handle the specified URIs, this implementation simply returns true, allowing
the dialog to close. |
Methods inherited from class org.eclipse.emf.common.ui.dialogs.ResourceDialog |
---|
configureShell, createDialogArea, getURIs, getURIText, isMulti, isSave, normalizeStyle, okPressed, prepareBrowseFileSystemButton, prepareBrowseWorkspaceButton |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected EditingDomain domain
Constructor Detail |
---|
public LoadResourceAction.LoadResourceDialog(Shell parent)
public LoadResourceAction.LoadResourceDialog(Shell parent, EditingDomain domain)
Method Detail |
---|
protected boolean processResources()
ResourceDialog
ResourceDialog.okPressed()
to handle the specified URIs, this implementation simply returns true, allowing
the dialog to close. Subclasses can override this method to load, save, or otherwise process resources, and
based on this processing, to optionally prevent the dialog from being closed if the URIs are invalid.
processResources
in class ResourceDialog
true
if the dialog can be closed, false
if URI(s) must be re-enteredprotected boolean processResource(Resource resource)
|
Copyright 2001-2012 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |