Class EditorAdapterContributor

java.lang.Object
com.oxygenxml.editor.editors.EditorAdapterContributor

@API(type=EXTENDABLE, src=PUBLIC) public abstract class EditorAdapterContributor extends 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 Details

    • EditorAdapterContributor

      public EditorAdapterContributor()
  • Method Details

    • getAdapter

      public abstract Object getAdapter(WSEditor editor, 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.