public interface IEditorProvider
Modifier and Type | Method and Description |
---|---|
boolean |
accept(IFileInterpreterProvider fileprovider)
Tests whether the file matching the given abstract file provider can be
opened by the editor of this provider.
|
IEditor |
createEditor(IFileInterpreter fileInterpreter)
Creates a new editor that can display files of this editor provider.
|
IFileInterpreterProvider[] |
getAbstractFileProviders()
Returns an array of abstract file providers that are accepted by the
editor.
|
String |
getId()
Returns the id of the editor provider.
|
String |
getName()
Returns the name of the editor.
|
IEditor createEditor(IFileInterpreter fileInterpreter) throws EditorException
EditorException
- - if the editor can't be createdboolean accept(IFileInterpreterProvider fileprovider)
fileprovider
- the provider for the file formatIFileInterpreterProvider[] getAbstractFileProviders()
String getName()
String getId()