public static class LoadResourceAction.LoadResourceDialog extends ResourceDialog
Modifier and Type | Field and Description |
---|---|
protected EditingDomain |
domain |
context, CONTROL_OFFSET, style, title, uriField, uriText
Constructor and Description |
---|
LoadResourceAction.LoadResourceDialog(Shell parent) |
LoadResourceAction.LoadResourceDialog(Shell parent,
EditingDomain domain) |
Modifier and Type | Method and Description |
---|---|
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. |
configureShell, createDialogArea, getURIs, getURIText, isMulti, isSave, normalizeStyle, okPressed, prepareBrowseFileSystemButton, prepareBrowseWorkspaceButton
protected EditingDomain domain
public LoadResourceAction.LoadResourceDialog(Shell parent)
public LoadResourceAction.LoadResourceDialog(Shell parent, EditingDomain domain)
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)