Package ro.sync.exml.plugin.document
Interface DocumentPluginExtension
-
- All Superinterfaces:
PluginExtension
@API(type=EXTENDABLE, src=PUBLIC) public interface DocumentPluginExtension extends PluginExtension
Plugin extension. The document plugin can be called from the contextual menu. The context containing the document is passed to the plugin process method and the result is processed by the editor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentPluginResult
process(DocumentPluginContext context)
Main plugin method.
-
-
-
Method Detail
-
process
DocumentPluginResult process(DocumentPluginContext context)
Main plugin method. It receives the current context and it should return the processed content.- Parameters:
context
- The context the plugin was invoked in.- Returns:
- The processed data or null if it cannot/does not want to process the data.
-
-