Package com.oxygenxml.editor.editors
Class EditorAdapterContributor
java.lang.Object
com.oxygenxml.editor.editors.EditorAdapterContributor
Abstract class allowed as an extension point to contribute an adapter to the XML editor.
In your plugin in the plugin.xml you should reference it like:
<extension point="oxygen.plugin.id.editorAdapterContributor">
<implementation class="my.package.CustomEditorAdapterContributor"/>;
</extension>
- Since:
- 17
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ObjectgetAdapter(WSEditor editor, Class adapter) Get the extra adapter for the editor.
-
Constructor Details
-
EditorAdapterContributor
public EditorAdapterContributor()
-
-
Method Details
-
getAdapter
Get the extra adapter for the editor.- Parameters:
editor- The editor for which we need an adapter.adapter- The adapter class.- Returns:
- the extra adapter for the editor.
-