Class 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
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EditorAdapterContributor

        public EditorAdapterContributor()
    • 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.