Uses of Interface
org.eclipse.ui.IEditorDescriptor
Packages that use IEditorDescriptor
Package
Description
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Classes for actions and operations used in a workbench
window, page, or part in the Eclipse Platform User Interface.
Classes for standard dialogs, wizards, and preference
pages in the Eclipse Platform User Interface.
APIs for the IDE-specific portion of the Eclipse Platform User Interface.
-
Uses of IEditorDescriptor in org.eclipse.ui
Methods in org.eclipse.ui that return IEditorDescriptorModifier and TypeMethodDescriptionIEditorRegistry.findEditor
(String editorId) Finds and returns the descriptor of the editor with the given editor id.IEditorRegistry.getDefaultEditor()
Deprecated.The system external editor is the default editor.IEditorRegistry.getDefaultEditor
(String fileName) Returns the default editor for a given file name.IEditorRegistry.getDefaultEditor
(String fileName, IContentType contentType) Returns the default editor for a given file name and with the given content type.IFileEditorMapping.getDefaultEditor()
Returns the default editor registered for this type mapping.IFileEditorMapping.getDeletedEditors()
Returns the list of editors formerly registered for this type mapping which have since been deleted.IEditorRegistry.getEditors
(String fileName) Returns the list of file editors registered to work against the file with the given file name.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.IFileEditorMapping.getEditors()
Returns the list of editors registered for this type mapping. -
Uses of IEditorDescriptor in org.eclipse.ui.actions
Methods in org.eclipse.ui.actions with parameters of type IEditorDescriptorModifier and TypeMethodDescriptionprotected void
OpenWithMenu.openEditor
(IEditorDescriptor editorDescriptor, boolean openUsingDescriptor) Opens the given editor on the selected file.Constructors in org.eclipse.ui.actions with parameters of type IEditorDescriptorModifierConstructorDescriptionOpenFileAction
(IWorkbenchPage page, IEditorDescriptor descriptor) Creates a new action that will open instances of the specified editor on the then-selected file resources. -
Uses of IEditorDescriptor in org.eclipse.ui.dialogs
Methods in org.eclipse.ui.dialogs that return IEditorDescriptorModifier and TypeMethodDescriptionprotected 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 OSprotected IEditorDescriptor[]
EditorSelectionDialog.getInternalEditors()
Returns the internal editorsEditorSelectionDialog.getSelectedEditor()
Return the editor the user selectedMethods in org.eclipse.ui.dialogs with parameters of type IEditorDescriptorModifier and TypeMethodDescriptionprotected 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. -
Uses of IEditorDescriptor in org.eclipse.ui.ide
Methods in org.eclipse.ui.ide that return IEditorDescriptorModifier and TypeMethodDescriptionstatic 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
(String name) Deprecated.Since 3.12, useIDE.getEditorDescriptor(String, boolean, boolean)
instead.static IEditorDescriptor
IDE.getEditorDescriptor
(String name, boolean inferContentType) Deprecated.Since 3.12, useIDE.getEditorDescriptor(String, boolean, boolean)
instead.static IEditorDescriptor
IDE.getEditorDescriptor
(String name, boolean inferContentType, boolean allowInteractive) Returns an editor descriptor appropriate for opening a file resource with the given name.static IEditorDescriptor
IDE.getEditorDescriptor
(IFile file) Deprecated.Since 3.12, useIDE.getEditorDescriptor(IFile, boolean, boolean)
static IEditorDescriptor
IDE.getEditorDescriptor
(IFile file, boolean determineContentType) Deprecated.Since 3.12, useIDE.getEditorDescriptor(IFile, boolean, boolean)
instead.static IEditorDescriptor
IDE.getEditorDescriptor
(IFile file, boolean determineContentType, boolean allowInteractive) Returns an editor descriptor appropriate for opening the given file resource.IUnassociatedEditorStrategy.getEditorDescriptor
(String fileName, IEditorRegistry editorRegistry) static IEditorDescriptor
IDE.getEditorDescriptorForFileStore
(IFileStore fileStore, boolean allowInteractive) Returns an editor descriptor appropriate for opening the given file store.IEditorAssociationOverride.overrideDefaultEditor
(String fileName, IContentType contentType, IEditorDescriptor editorDescriptor) Allows to override the given editor descriptor for the given input with a different one.IEditorAssociationOverride.overrideDefaultEditor
(IEditorInput editorInput, IContentType contentType, IEditorDescriptor editorDescriptor) Allows to override the given editor descriptor for the given editor input with a different one.static IEditorDescriptor
IDE.overrideDefaultEditorAssociation
(IEditorInput editorInput, IContentType contentType, IEditorDescriptor editorDescriptor) Applies theorg.eclipse.ui.ide.editorAssociationOverride
extensions to the given input.static IEditorDescriptor[]
IDE.overrideEditorAssociations
(String fileName, IContentType contentType, IEditorDescriptor[] editorDescriptors) Applies theorg.eclipse.ui.ide.editorAssociationOverride
extensions to the given input.static IEditorDescriptor[]
IDE.overrideEditorAssociations
(IEditorInput editorInput, IContentType contentType, IEditorDescriptor[] editorDescriptors) Applies theorg.eclipse.ui.ide.editorAssociationOverride
extensions to the given input.IEditorAssociationOverride.overrideEditors
(String fileName, IContentType contentType, IEditorDescriptor[] editorDescriptors) Allows to override the given editor descriptors for the given file name with different ones.IEditorAssociationOverride.overrideEditors
(IEditorInput editorInput, IContentType contentType, IEditorDescriptor[] editorDescriptors) Allows to override the given editor descriptors for the given editor input with different ones.Methods in org.eclipse.ui.ide with parameters of type IEditorDescriptorModifier and TypeMethodDescriptionIEditorAssociationOverride.overrideDefaultEditor
(String fileName, IContentType contentType, IEditorDescriptor editorDescriptor) Allows to override the given editor descriptor for the given input with a different one.IEditorAssociationOverride.overrideDefaultEditor
(IEditorInput editorInput, IContentType contentType, IEditorDescriptor editorDescriptor) Allows to override the given editor descriptor for the given editor input with a different one.static IEditorDescriptor
IDE.overrideDefaultEditorAssociation
(IEditorInput editorInput, IContentType contentType, IEditorDescriptor editorDescriptor) Applies theorg.eclipse.ui.ide.editorAssociationOverride
extensions to the given input.static IEditorDescriptor[]
IDE.overrideEditorAssociations
(String fileName, IContentType contentType, IEditorDescriptor[] editorDescriptors) Applies theorg.eclipse.ui.ide.editorAssociationOverride
extensions to the given input.static IEditorDescriptor[]
IDE.overrideEditorAssociations
(IEditorInput editorInput, IContentType contentType, IEditorDescriptor[] editorDescriptors) Applies theorg.eclipse.ui.ide.editorAssociationOverride
extensions to the given input.IEditorAssociationOverride.overrideEditors
(String fileName, IContentType contentType, IEditorDescriptor[] editorDescriptors) Allows to override the given editor descriptors for the given file name with different ones.IEditorAssociationOverride.overrideEditors
(IEditorInput editorInput, IContentType contentType, IEditorDescriptor[] editorDescriptors) Allows to override the given editor descriptors for the given editor input with different ones. -
Uses of IEditorDescriptor in org.eclipse.ui.internal
Methods in org.eclipse.ui.internal that return IEditorDescriptorModifier and TypeMethodDescriptionEditorHistoryItem.getDescriptor()
Returns the editor descriptor.LargeFileLimitsPreferenceHandler.PromptForEditor.getSelectedEditor()
Methods in org.eclipse.ui.internal with parameters of type IEditorDescriptorModifier and TypeMethodDescriptionvoid
EditorHistory.add
(IEditorInput input, IEditorDescriptor desc) Adds an item to the history.WorkbenchPage.openEditorFromDescriptor
(IEditorInput fileEditorInput, IEditorDescriptor editorDescriptor, boolean activate, IMemento editorState) Opens an editor represented by the descriptor with the given input.EditorActionBuilder.readActionExtensions
(IEditorDescriptor desc) Reads and apply all external contributions for this editor's ID registered in 'editorActions' extension point.Constructors in org.eclipse.ui.internal with parameters of type IEditorDescriptorModifierConstructorDescriptionEditorHistoryItem
(IEditorInput input, IEditorDescriptor descriptor) Constructs a new item.