Uses of Interface
org.eclipse.ui.IEditorDescriptor
-
Packages that use IEditorDescriptor 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. -
-
Uses of IEditorDescriptor in org.eclipse.ui
Methods in org.eclipse.ui that return IEditorDescriptor Modifier and Type Method Description IEditorDescriptor
IEditorRegistry. findEditor(String editorId)
Finds and returns the descriptor of the editor with the given editor id.IEditorDescriptor
IEditorRegistry. getDefaultEditor()
Deprecated.The system external editor is the default editor.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. getDefaultEditor()
Returns the default editor registered for this type mapping.IEditorDescriptor[]
IFileEditorMapping. getDeletedEditors()
Returns the list of editors formerly registered for this type mapping which have since been deleted.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.IEditorDescriptor[]
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 IEditorDescriptor Modifier and Type Method Description protected 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 IEditorDescriptor Constructor Description OpenFileAction(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 IEditorDescriptor Modifier and Type Method 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 OSprotected IEditorDescriptor[]
EditorSelectionDialog. getInternalEditors()
Returns the internal editorsIEditorDescriptor
EditorSelectionDialog. getSelectedEditor()
Return the editor the user selectedMethods in org.eclipse.ui.dialogs with parameters of type IEditorDescriptor Modifier and Type Method 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. -
Uses of IEditorDescriptor in org.eclipse.ui.ide
Methods in org.eclipse.ui.ide that return IEditorDescriptor Modifier and Type Method 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(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.IEditorDescriptor
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.IEditorDescriptor
IEditorAssociationOverride. overrideDefaultEditor(String fileName, IContentType contentType, IEditorDescriptor editorDescriptor)
Allows to override the given editor descriptor for the given input with a different one.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.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.IEditorDescriptor[]
IEditorAssociationOverride. overrideEditors(String fileName, IContentType contentType, IEditorDescriptor[] editorDescriptors)
Allows to override the given editor descriptors for the given file name with different ones.IEditorDescriptor[]
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 IEditorDescriptor Modifier and Type Method Description IEditorDescriptor
IEditorAssociationOverride. overrideDefaultEditor(String fileName, IContentType contentType, IEditorDescriptor editorDescriptor)
Allows to override the given editor descriptor for the given input with a different one.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.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.IEditorDescriptor[]
IEditorAssociationOverride. overrideEditors(String fileName, IContentType contentType, IEditorDescriptor[] editorDescriptors)
Allows to override the given editor descriptors for the given file name with different ones.IEditorDescriptor[]
IEditorAssociationOverride. overrideEditors(IEditorInput editorInput, IContentType contentType, IEditorDescriptor[] editorDescriptors)
Allows to override the given editor descriptors for the given editor input with different ones.
-