Package | Description |
---|---|
org.eclipse.ui |
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
|
org.eclipse.ui.actions |
Classes for actions and operations used in a workbench
window, page, or part in the Eclipse Platform User Interface.
|
org.eclipse.ui.ide |
APIs for the IDE-specific portion of the Eclipse Platform User Interface.
|
Modifier and Type | Method and Description |
---|---|
IEditorDescriptor |
IEditorRegistry.findEditor(String editorId)
Finds and returns the descriptor of the editor with the given editor id.
|
IEditorDescriptor |
IFileEditorMapping.getDefaultEditor()
Returns the default editor registered for this type mapping.
|
IEditorDescriptor |
IEditorRegistry.getDefaultEditor()
Deprecated.
The system external editor is the default editor.
Use
findEditor(IEditorRegistry.SYSTEM_EXTERNAL_EDITOR_ID)
instead. |
IEditorDescriptor |
IEditorRegistry.getDefaultEditor(String fileName)
Returns the default editor for a given file name.
|
IEditorDescriptor |
IEditorRegistry.getDefaultEditor(String fileName,
IContentType contentType)
Returns the default editor for a given file name and with the given content type.
|
IEditorDescriptor[] |
IFileEditorMapping.getDeletedEditors()
Returns the list of editors formerly registered for this type mapping
which have since been deleted.
|
IEditorDescriptor[] |
IFileEditorMapping.getEditors()
Returns the list of editors registered for this type mapping.
|
IEditorDescriptor[] |
IEditorRegistry.getEditors(String fileName)
Returns the list of file editors registered to work against the file with
the given file name.
|
IEditorDescriptor[] |
IEditorRegistry.getEditors(String fileName,
IContentType contentType)
Returns the list of file editors registered to work against the file with
the given file name and with the given content type.
|
Constructor and Description |
---|
OpenFileAction(IWorkbenchPage page,
IEditorDescriptor descriptor)
Creates a new action that will open instances of the specified editor on
the then-selected file resources.
|
Modifier and Type | Method and Description |
---|---|
static IEditorDescriptor |
IDE.getDefaultEditor(IFile file)
Returns the default editor for a given file.
|
static IEditorDescriptor |
IDE.getDefaultEditor(IFile file,
boolean determineContentType)
Returns the default editor for a given file.
|
static IEditorDescriptor |
IDE.getEditorDescriptor(IFile file)
Returns an editor descriptor appropriate for opening the given file
resource.
|
static IEditorDescriptor |
IDE.getEditorDescriptor(IFile file,
boolean determineContentType)
Returns an editor descriptor appropriate for opening the given file
resource.
|
static IEditorDescriptor |
IDE.getEditorDescriptor(String name)
Returns an editor descriptor appropriate for opening a file resource with
the given name.
|
static IEditorDescriptor |
IDE.getEditorDescriptor(String name,
boolean inferContentType)
Returns an editor descriptor appropriate for opening a file resource with
the given name.
|
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.