public interface EditorPluginsFactory
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.
Modifier and Type | Method and Description |
---|---|
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.
|
java.util.List createPlugins(Context ideContext)
context
- the given IDE context for which the Code Editor was opened