Method Summary |
|
public void | addEditorFromPlugin(EditorDescriptor editor, List extensions, List filenames, List contentTypeVector, boolean bDefault) Add an editor for the given extensions with the specified (possibly null)
extended type. |
public void | addExtension(IExtensionTracker tracker, IExtension extension) |
public void | addPropertyListener(IPropertyListener l) |
public IEditorDescriptor | findEditor(String id) |
public IEditorDescriptor | getDefaultEditor() |
public IEditorDescriptor | getDefaultEditor(String filename) |
public IEditorDescriptor | getDefaultEditor(String fileName, IContentType contentType) |
public IEditorDescriptor[] | getEditors(String filename) |
public IEditorDescriptor[] | getEditors(String fileName, IContentType contentType) |
public IEditorDescriptor[] | getEditorsForContentType(IContentType type) Return the editors bound to this content type, either directly or indirectly. |
public IFileEditorMapping[] | getFileEditorMappings() |
public ImageDescriptor | getImageDescriptor(String filename) |
public ImageDescriptor | getImageDescriptor(String filename, IContentType contentType) |
public IEditorDescriptor[] | getSortedEditorsFromOS() Return the editor descriptors pulled from the OS.
WARNING! The image described by each editor descriptor is *not* known by
the workbench's graphic registry. |
public IEditorDescriptor[] | getSortedEditorsFromPlugins() Return the editors loaded from plugins. |
public ImageDescriptor | getSystemExternalEditorImageDescriptor(String filename) |
public IFileEditorMapping[] | getUnifiedMappings() Get filemappings for all defined filetypes, including those defined by content type. |
public boolean | isSystemExternalEditorAvailable(String filename) |
public boolean | isSystemInPlaceEditorAvailable(String filename) |
public void | readResources(Map editorTable, Reader reader) Read the file types and associate them to their defined editor(s). |
public void | removeExtension(IExtension source, Object[] objects) |
public void | removePropertyListener(IPropertyListener l) |
public void | saveAssociations() Save the registry to the filesystem by serializing the current resource
associations. |
public void | setDefaultEditor(String fileName, String editorId) |
public void | setFileEditorMappings(FileEditorMapping[] newResourceTypes) Set the collection of FileEditorMappings. |