Eclipse Platform
Release 3.1

Uses of Interface
org.eclipse.core.runtime.content.IContentType

Packages that use IContentType
org.eclipse.compare Provides support for performing structural and textual compare operations on arbitrary data and displaying the results.  
org.eclipse.core.filebuffers Provides the API for accessing file buffers. 
org.eclipse.core.runtime.content Provides core support for content types.  
org.eclipse.ui Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.  
org.eclipse.ui.editors.text Provides a standard text editor and concrete document providers based IFileBuffer and others directly handling IFile and IStorage as editor input. 
org.eclipse.ui.ide APIs for the IDE-specific portion of the Eclipse Platform User Interface.  
org.eclipse.ui.texteditor Provides a framework for text editors obeying to the desktop rules.  
org.eclipse.ui.texteditor.spelling   
 

Uses of IContentType in org.eclipse.compare
 

Methods in org.eclipse.compare with parameters of type IContentType
static IStreamMerger CompareUI.createStreamMerger(IContentType type)
          Creates a stream merger for the given content type.
 

Uses of IContentType in org.eclipse.core.filebuffers
 

Methods in org.eclipse.core.filebuffers that return IContentType
 IContentType IFileBuffer.getContentType()
          Returns the content type of this file buffer or null if none could be determined.
 

Uses of IContentType in org.eclipse.core.runtime.content
 

Methods in org.eclipse.core.runtime.content that return IContentType
 IContentType IContentTypeMatcher.findContentTypeFor(InputStream contents, String fileName)
          Returns the preferred content type for the given contents and file name.
 IContentType IContentTypeMatcher.findContentTypeFor(String fileName)
          Returns the preferred content type for the given file name.
 IContentType[] IContentTypeMatcher.findContentTypesFor(InputStream contents, String fileName)
          Returns the content types associated to the given contents and file name.
 IContentType[] IContentTypeMatcher.findContentTypesFor(String fileName)
          Returns all content types known by the platform that are associated to the given file name.
 IContentType[] IContentTypeManager.getAllContentTypes()
          Returns all content types known by the platform.
 IContentType IContentTypeManager.getContentType(String contentTypeIdentifier)
          Returns the content type with the given identifier, or null if no such content type is known by the platform.
 IContentType IContentTypeManager.ContentTypeChangeEvent.getContentType()
          Return the content type object associated with this change event.
 IContentType[] IContentTypeManager.ISelectionPolicy.select(IContentType[] candidates, boolean fileName, boolean content)
          Returns a subset of the given content types sorted by using a custom criterion.
 IContentType IContentType.getBaseType()
          Returns a reference to this content type's base type.
 IContentType IContentDescription.getContentType()
          Returns the content type detected.
 

Methods in org.eclipse.core.runtime.content with parameters of type IContentType
 IContentType[] IContentTypeManager.ISelectionPolicy.select(IContentType[] candidates, boolean fileName, boolean content)
          Returns a subset of the given content types sorted by using a custom criterion.
 boolean IContentType.isKindOf(IContentType another)
          Returns whether this content type is a kind of the given content type.
 

Constructors in org.eclipse.core.runtime.content with parameters of type IContentType
IContentTypeManager.ContentTypeChangeEvent(IContentType source)
          Constructor for a new content type change event.
IContentTypeManager.ContentTypeChangeEvent(IContentType source, IScopeContext context)
          Constructor for a new content type change event.
 

Uses of IContentType in org.eclipse.ui
 

Methods in org.eclipse.ui with parameters of type IContentType
 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, 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.
 ImageDescriptor IEditorRegistry.getImageDescriptor(String filename, IContentType contentType)
          Returns the image descriptor associated with a given file.
 

Uses of IContentType in org.eclipse.ui.editors.text
 

Methods in org.eclipse.ui.editors.text that return IContentType
 IContentType TextFileDocumentProvider.getContentType(Object element)
           
 IContentType TextFileDocumentProvider.NullProvider.getContentType(Object element)
           
 IContentType StorageDocumentProvider.getContentType(Object element)
           
 IContentType ForwardingDocumentProvider.getContentType(Object element)
           
 IContentType FileDocumentProvider.getContentType(Object element)
           
 

Uses of IContentType in org.eclipse.ui.ide
 

Methods in org.eclipse.ui.ide that return IContentType
static IContentType IDE.getContentType(IFile file)
          Return the content type for the given file.
 

Uses of IContentType in org.eclipse.ui.texteditor
 

Methods in org.eclipse.ui.texteditor that return IContentType
 IContentType IDocumentProviderExtension4.getContentType(Object element)
          Returns the content type of for the given element or null if none could be determined.
 IContentType AbstractDocumentProvider.getContentType(Object element)
           
 

Uses of IContentType in org.eclipse.ui.texteditor.spelling
 

Methods in org.eclipse.ui.texteditor.spelling that return IContentType
 IContentType SpellingContext.getContentType()
          Returns the content type of the document.
 

Methods in org.eclipse.ui.texteditor.spelling with parameters of type IContentType
 void SpellingContext.setContentType(IContentType contentType)
          Sets the content type of the document.
 


Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

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