@API(type=EXTENDABLE, src=PUBLIC) public class SelectionPluginResultImpl extends java.lang.Object implements SelectionPluginResult
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
selection
The processed selection.
|
Constructor and Description |
---|
SelectionPluginResultImpl()
Creates a no data plugin result.
|
SelectionPluginResultImpl(java.lang.String selection)
Creates the plugin result.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProcessedSelection()
Get the content which will replace the current selection.
|
void |
setProcessedSelection(java.lang.String selection)
Set the current selection.
|
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.public void setProcessedSelection(java.lang.String selection)
selection
- The current selection.public java.lang.String getProcessedSelection()
getProcessedSelection
in interface SelectionPluginResult
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.