|
||||||||||
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.ControlAction.ControlResourceDialog
protected static class ControlAction.ControlResourceDialog
A save-type resource dialog
that attempts to create the specified resource and
load it, if it already exists.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
---|
Window.IExceptionHandler |
Field Summary | |
---|---|
protected Resource |
currentResource
|
protected EditingDomain |
domain
|
protected Resource |
resource
|
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 | |
---|---|
ControlAction.ControlResourceDialog(Shell parent,
EditingDomain domain,
Resource currentResource)
|
Method Summary | |
---|---|
Resource |
getResource()
|
protected boolean |
processResources()
Creates and, if it already exists, loads the specified resource. |
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
protected Resource resource
protected Resource currentResource
Constructor Detail |
---|
public ControlAction.ControlResourceDialog(Shell parent, EditingDomain domain, Resource currentResource)
Method Detail |
---|
protected boolean processResources()
processResources
in class ResourceDialog
true
if the dialog can be closed, false
if URI(s) must be re-enteredpublic Resource getResource()
|
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 |