Package com.oxygenxml.editor.editors
Class EditorAdapterContributor
- java.lang.Object
-
- com.oxygenxml.editor.editors.EditorAdapterContributor
-
@API(type=EXTENDABLE, src=PUBLIC) public abstract class EditorAdapterContributor extends java.lang.Object
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 Constructor Description EditorAdapterContributor()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.lang.Object
getAdapter(WSEditor editor, java.lang.Class adapter)
Get the extra adapter for the editor.
-
-
-
Method Detail
-
getAdapter
public abstract java.lang.Object getAdapter(WSEditor editor, java.lang.Class adapter)
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.
-
-