Class CustomEditorInputCreator


  • @API(type=EXTENDABLE,
         src=PUBLIC)
    public abstract class CustomEditorInputCreator
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract org.eclipse.ui.IEditorInput createCustomEditorInput​(java.lang.Object resource)
      Create a custom editor input over a certain resource.
      • Methods inherited from class java.lang.Object

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

      • CustomEditorInputCreator

        public CustomEditorInputCreator()
    • Method Detail

      • createCustomEditorInput

        public abstract org.eclipse.ui.IEditorInput createCustomEditorInput​(java.lang.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.