protected static class ControlAction.ControlResourceDialog extends ResourceDialog
resource dialog
that attempts to create the specified resource and
load it, if it already exists.Modifier and Type | Field and Description |
---|---|
protected Resource |
currentResource |
protected EditingDomain |
domain |
protected Resource |
resource |
context, CONTROL_OFFSET, style, title, uriField, uriText
Constructor and Description |
---|
ControlAction.ControlResourceDialog(Shell parent,
EditingDomain domain,
Resource currentResource) |
Modifier and Type | Method and Description |
---|---|
Resource |
getResource() |
protected boolean |
processResources()
Creates and, if it already exists, loads the specified resource.
|
configureShell, createDialogArea, getURIs, getURIText, isMulti, isSave, normalizeStyle, okPressed, prepareBrowseFileSystemButton, prepareBrowseWorkspaceButton
protected EditingDomain domain
protected Resource resource
protected Resource currentResource
public ControlAction.ControlResourceDialog(Shell parent, EditingDomain domain, Resource currentResource)
protected boolean processResources()
processResources
in class ResourceDialog
true
if the dialog can be closed, false
if URI(s) must be re-enteredpublic Resource getResource()