oracle.jdeveloper.ceditor
Interface EditorPluginsFactory
- All Known Implementing Classes:
- CodeEditorPluginsFactory
- public interface EditorPluginsFactory
The EditorPluginsFactory
defines an interface that
allows clients of the Code Editor to indicate what EditorPlugins
they are interested in installing when a new editor is opened.
The typical mechnanism for registering specific plugin Class objects
with specific node types only works when all of the plugins can be
constructed solely by a default constructor. As this may be a bit
of a hindrance to some clients, the EditorPluginsFactory
interface was defined to allow clients to construct their plugins
with more than just the default constructor.
Method Summary |
java.util.List |
createPlugins(Context ideContext)
Creates a set of EditorPlugins that should be installed in a
new CodeEditor opened for a node of the specified nodeClass. |
createPlugins
public java.util.List createPlugins(Context ideContext)
- Creates a set of EditorPlugins that should be installed in a
new CodeEditor opened for a node of the specified nodeClass.
- Parameters:
context
- the given IDE context for which the Code Editor was opened- Returns:
- a List of EditorPlugin implementations that should be
installed in the newly created CodeEditor.