|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthorOperation
Interface defining an author extension operation. The operations are executed by the Author actions.
Field Summary | |
---|---|
static java.lang.String |
NAMESPACE_ARGUMENT
Represents the namespace argument. |
static ArgumentDescriptor |
NAMESPACE_ARGUMENT_DESCRIPTOR
The namespace argument descriptor. |
static java.lang.String |
SCHEMA_AWARE_ARGUMENT
Controls if the operation is schema aware. |
static ArgumentDescriptor |
SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
The schema aware argument descriptor. |
Method Summary | |
---|---|
void |
doOperation(AuthorAccess authorAccess,
ArgumentsMap args)
Perform the actual operation. |
ArgumentDescriptor[] |
getArguments()
|
Methods inherited from interface ro.sync.ecss.extensions.api.Extension |
---|
getDescription |
Field Detail |
---|
static final java.lang.String NAMESPACE_ARGUMENT
'namespace'
.
static final ArgumentDescriptor NAMESPACE_ARGUMENT_DESCRIPTOR
namespace
argument descriptor.
static final java.lang.String SCHEMA_AWARE_ARGUMENT
SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
,
Constant Field Valuesstatic final ArgumentDescriptor SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
schema aware
argument descriptor.
Method Detail |
---|
void doOperation(AuthorAccess authorAccess, ArgumentsMap args) throws java.lang.IllegalArgumentException, AuthorOperationException
ActionListener.actionPerformed(java.awt.event.ActionEvent)
if used from Oxygen stand-alone distribution or
org.eclipse.jface.action.Action#run()
if used from the Oxygen
Eclipse plugin.
authorAccess
- The author access.
Provides access to specific informations and actions for
editor, document, workspace, tables, change tracking, utility a.s.o.args
- The map of arguments. All the arguments defined by method
getArguments()
must be present in the map of arguments.
java.lang.IllegalArgumentException
- Thrown when one or more arguments are illegal.
AuthorOperationException
- Thrown when the operation fails.ArgumentDescriptor[] getArguments()
ArgumentDescriptor
representing
the arguments this operation uses.
|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |