@API(type=INTERNAL,
src=PUBLIC)
public abstract class SelectedTextOperation
extends java.lang.Object
implements AuthorOperation
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR| Constructor and Description |
|---|
SelectedTextOperation() |
| Modifier and Type | Method and Description |
|---|---|
void |
doOperation(AuthorAccess authorAccess,
ArgumentsMap arguments)
Process the selected text and make it lower case or upper case.
|
ArgumentDescriptor[] |
getArguments() |
protected abstract java.lang.String |
processText(java.lang.String text)
Process text.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescriptionpublic ArgumentDescriptor[] getArguments()
getArguments in interface AuthorOperationArgumentDescriptor representing
the arguments this operation uses.AuthorOperation.getArguments()public void doOperation(AuthorAccess authorAccess, ArgumentsMap arguments) throws java.lang.IllegalArgumentException, AuthorOperationException
doOperation in interface AuthorOperationauthorAccess - The author access.
Provides access to specific informations and actions for
editor, document, workspace, tables, change tracking, utility a.s.o.arguments - The map of arguments. All the arguments defined by method
AuthorOperation.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.AuthorOperation.doOperation(ro.sync.ecss.extensions.api.AuthorAccess, ro.sync.ecss.extensions.api.ArgumentsMap)protected abstract java.lang.String processText(java.lang.String text)
text - The text to be processed.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.