Package | Description |
---|---|
viptool.base | |
viptool.base.editor |
Modifier and Type | Method and Description |
---|---|
void |
IWorkbench.openFile(IAbstractFile file,
IFileInterpreterProvider fileInterpreterProvider,
IEditorProvider editorProvider)
Opens the given file using the file interpreter managed by the given file
interpreter provider.
|
Modifier and Type | Method and Description |
---|---|
IEditorProvider |
IEditorManager.getDefaultEditorProvider(IFileInterpreter fileInterpreter)
Returns the default editor for the given file interpreter.
|
IEditorProvider |
IEditorManager.getEditorProvider(Class clazz)
Returns the editor provider instance with the given class.
|
IEditorProvider[] |
IEditorManager.getEditorProviders()
Returns an array that contains all editor providers.
|
IEditorProvider[] |
IEditorManager.getMatchingEditorProviders(IFileInterpreter fileInterpreter)
Returns all editor providers that would accept the given file
interpreter.
|
IEditorProvider |
IEditor.getProvider() |
IEditorProvider |
Editor.getProvider() |
Modifier and Type | Method and Description |
---|---|
void |
IEditorManager.addEditorProvider(IEditorProvider provider)
Adds a new editor to the editor manager.
|
void |
IEditorManager.removeEditorProvider(IEditorProvider provider)
Removes the given editor provider from the editor manager.
|
Constructor and Description |
---|
Editor(IWorkbench workbench,
IEditorProvider provider)
Constructs a new editor object and initializes it.
|