Package com.oxygenxml.editor.editors
Class CustomEditorInputCreator
java.lang.Object
com.oxygenxml.editor.editors.CustomEditorInputCreator
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.eclipse.ui.IEditorInput
createCustomEditorInput
(Object resource) Create a custom editor input over a certain resource.
-
Constructor Details
-
CustomEditorInputCreator
public CustomEditorInputCreator()
-
-
Method Details
-
createCustomEditorInput
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.
-