public interface OpenDocumentService
AppAction
called
PART_ID
. (method AppAction.doIt()
cannot be passed the
URL of a document to be opened.)EditDocumentService
Modifier and Type | Field and Description |
---|---|
static String |
PART_ID
The action which implements this service must be registered with
the
App using this ID. |
Modifier and Type | Method and Description |
---|---|
boolean |
openDocument(URL url,
boolean readOnly,
Object settings)
Opens specified document in the XML editor.
|
static final String PART_ID
App
using this ID.boolean openDocument(URL url, boolean readOnly, Object settings)
url
- URL of document to be openedreadOnly
- if true
, the document is to be opened in
read-only modesettings
- implementation-specific information about the
way specified document is to be opened. May be null
which means: use defaults.true
if document has been successfully opened;
false
otherwise (e.g. specified location cannot be opened)