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.dialogs |
Classes for standard dialogs, wizards, and preference
pages 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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OpenWithMenu.openEditor(IEditorDescriptor editorDescriptor,
boolean openUsingDescriptor)
Opens the given editor on the selected file.
|
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 |
---|---|
protected IEditorDescriptor[] |
EditorSelectionDialog.filterEditors(IEditorDescriptor[] editors)
Returns an array of editors which have been filtered according to the
array of editors in the editorsToFilter instance variable.
|
protected IEditorDescriptor[] |
EditorSelectionDialog.getExternalEditors()
Get a list of registered programs from the OS
|
protected IEditorDescriptor[] |
EditorSelectionDialog.getInternalEditors()
Returns the internal editors
|
IEditorDescriptor |
EditorSelectionDialog.getSelectedEditor()
Return the editor the user selected
|
Modifier and Type | Method and Description |
---|---|
protected IEditorDescriptor[] |
EditorSelectionDialog.filterEditors(IEditorDescriptor[] editors)
Returns an array of editors which have been filtered according to the
array of editors in the editorsToFilter instance variable.
|
void |
EditorSelectionDialog.setEditorsToFilter(IEditorDescriptor[] editors)
Set the editors which will not appear in the dialog.
|
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.
|
IEditorDescriptor |
IEditorAssociationOverride.overrideDefaultEditor(IEditorInput editorInput,
IContentType contentType,
IEditorDescriptor editorDescriptor)
Allows to override the given editor descriptor for the given editor input with a different
one.
|
IEditorDescriptor |
IEditorAssociationOverride.overrideDefaultEditor(String fileName,
IContentType contentType,
IEditorDescriptor editorDescriptor)
Allows to override the given editor descriptor for the given input with a different one.
|
static IEditorDescriptor |
IDE.overrideDefaultEditorAssociation(IEditorInput editorInput,
IContentType contentType,
IEditorDescriptor editorDescriptor)
Applies the
org.eclipse.ui.ide.editorAssociationOverride extensions to the given
input. |
static IEditorDescriptor[] |
IDE.overrideEditorAssociations(IEditorInput editorInput,
IContentType contentType,
IEditorDescriptor[] editorDescriptors)
Applies the
org.eclipse.ui.ide.editorAssociationOverride extensions to the given
input. |
static IEditorDescriptor[] |
IDE.overrideEditorAssociations(String fileName,
IContentType contentType,
IEditorDescriptor[] editorDescriptors)
Applies the
org.eclipse.ui.ide.editorAssociationOverride extensions to the given
input. |
IEditorDescriptor[] |
IEditorAssociationOverride.overrideEditors(IEditorInput editorInput,
IContentType contentType,
IEditorDescriptor[] editorDescriptors)
Allows to override the given editor descriptors for the given editor input with different
ones.
|
IEditorDescriptor[] |
IEditorAssociationOverride.overrideEditors(String fileName,
IContentType contentType,
IEditorDescriptor[] editorDescriptors)
Allows to override the given editor descriptors for the given file name with different ones.
|
Modifier and Type | Method and Description |
---|---|
IEditorDescriptor |
IEditorAssociationOverride.overrideDefaultEditor(IEditorInput editorInput,
IContentType contentType,
IEditorDescriptor editorDescriptor)
Allows to override the given editor descriptor for the given editor input with a different
one.
|
IEditorDescriptor |
IEditorAssociationOverride.overrideDefaultEditor(String fileName,
IContentType contentType,
IEditorDescriptor editorDescriptor)
Allows to override the given editor descriptor for the given input with a different one.
|
static IEditorDescriptor |
IDE.overrideDefaultEditorAssociation(IEditorInput editorInput,
IContentType contentType,
IEditorDescriptor editorDescriptor)
Applies the
org.eclipse.ui.ide.editorAssociationOverride extensions to the given
input. |
static IEditorDescriptor[] |
IDE.overrideEditorAssociations(IEditorInput editorInput,
IContentType contentType,
IEditorDescriptor[] editorDescriptors)
Applies the
org.eclipse.ui.ide.editorAssociationOverride extensions to the given
input. |
static IEditorDescriptor[] |
IDE.overrideEditorAssociations(String fileName,
IContentType contentType,
IEditorDescriptor[] editorDescriptors)
Applies the
org.eclipse.ui.ide.editorAssociationOverride extensions to the given
input. |
IEditorDescriptor[] |
IEditorAssociationOverride.overrideEditors(IEditorInput editorInput,
IContentType contentType,
IEditorDescriptor[] editorDescriptors)
Allows to override the given editor descriptors for the given editor input with different
ones.
|
IEditorDescriptor[] |
IEditorAssociationOverride.overrideEditors(String fileName,
IContentType contentType,
IEditorDescriptor[] editorDescriptors)
Allows to override the given editor descriptors for the given file name with different ones.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.