|
Oxygen XML Editor, Version 14.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectro.sync.exml.plugin.selection.SelectionPluginResultImpl
@API(type=EXTENDABLE, src=PUBLIC) public class SelectionPluginResultImpl
Support implementation of the PluginResult interface.
Field Summary | |
---|---|
protected java.lang.String |
selection
The processed selection. |
Constructor Summary | |
---|---|
SelectionPluginResultImpl()
Creates a no data plugin result. |
|
SelectionPluginResultImpl(java.lang.String selection)
Creates the plugin result. |
Method Summary | |
---|---|
java.lang.String |
getProcessedSelection()
Get the content which will replace the current selection. |
void |
setProcessedSelection(java.lang.String selection)
Set the current selection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String selection
Constructor Detail |
---|
public SelectionPluginResultImpl()
public SelectionPluginResultImpl(java.lang.String selection)
selection
- The processed selection.
The string can also contain editor variables available also to Oxygen code templates like ${caret} to position the caret at a certain location
or ${selection} to surround the current selection with the processed string.Method Detail |
---|
public void setProcessedSelection(java.lang.String selection)
selection
- The current selection.public java.lang.String getProcessedSelection()
getProcessedSelection
in interface SelectionPluginResult
|
Oxygen XML Editor, Version 14.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |