Class CustomEditorInputCreator

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

@API(type=EXTENDABLE, src=PUBLIC) public abstract class CustomEditorInputCreator extends Object
Abstract class allowed as an extension point to create a custom editor input for resources that the Oxygen plugin tries to open (by clicking on a link in the Author page for example). In your plugin in the plugin.xml you should reference it like:
 
  <extension point="oxygen.plugin.id.customEditorInputCreator">
     <implementation class="my.package.CustomAEditorInputCreatorImpl"/>;
    </extension>
Since:
14.2
  • Constructor Details

    • CustomEditorInputCreator

      public CustomEditorInputCreator()
  • Method Details

    • createCustomEditorInput

      public abstract org.eclipse.ui.IEditorInput createCustomEditorInput(Object resource)
      Create a custom editor input over a certain resource.
      Parameters:
      resource - The resource over which we need to build the editor input. Usually an implementation or instance of: org.eclipse.core.filesystem.IFileStore java.net.URL org.eclipse.core.resources.IStorage
      Returns:
      The created editor input or null to go with the default creation procedure.