Eclipse Platform
Release 3.3

Uses of Interface
org.eclipse.ui.IEditorDescriptor

Packages that use IEditorDescriptor
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
 IEditorDescriptor IFileEditorMapping.getDefaultEditor()
          Returns the default editor registered for this type mapping.
 IEditorDescriptor[] IFileEditorMapping.getEditors()
          Returns the list of editors 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.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. 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[] 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.
 

Uses of IEditorDescriptor in org.eclipse.ui.actions
 

Constructors in org.eclipse.ui.actions with parameters of type IEditorDescriptor
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
protected  IEditorDescriptor[] EditorSelectionDialog.getExternalEditors()
          Get a list of registered programs from the OS
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.getInternalEditors()
          Returns the internal editors
 IEditorDescriptor EditorSelectionDialog.getSelectedEditor()
          Return the editor the user selected
 

Methods in org.eclipse.ui.dialogs with parameters of type IEditorDescriptor
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  Image[] EditorSelectionDialog.getImages(IEditorDescriptor[] editors)
          Returns an array of images for the given array of editors
 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
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.
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.
 


Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.