Uses of Interface
org.eclipse.core.runtime.content.IContentType
Package
Description
Provides support for performing structural and textual
compare operations on arbitrary data and displaying the results.
Provides the API for accessing file buffers.
Provides core support for content types.
Provides the base classes to implement a search result view part for searches with textual matches.
Application programming interfaces for defining and working with repository providers.
Application programming interfaces for working with resource mappings.
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Provides a standard text editor and concrete document providers based
IFileBuffer
and others directly handling IFile
and
IStorage
as editor input.APIs for the IDE-specific portion of the Eclipse Platform User Interface.
Provides a framework for text editors obeying to the
desktop rules.
Partial infrastructure for spell checking in text editors.
-
Uses of IContentType in org.eclipse.compare
Modifier and TypeMethodDescriptionstatic IStreamMerger
CompareUI.createStreamMerger
(IContentType type) Deprecated. -
Uses of IContentType in org.eclipse.compare.internal
Modifier and TypeMethodDescriptionCompareUIPlugin.createStreamMerger
(IContentType type) Returns a stream merger for the given content type. -
Uses of IContentType in org.eclipse.core.filebuffers
Modifier and TypeMethodDescriptionIFileBuffer.getContentType()
Returns the content type of this file buffer ornull
if none could be determined. -
Uses of IContentType in org.eclipse.core.runtime.content
Modifier and TypeMethodDescriptionIContentTypeManager.addContentType
(String contentTypeIdentifier, String name, IContentType baseType) Adds a new content-type to the registry.IContentTypeMatcher.findContentTypeFor
(InputStream contents, String fileName) Returns the preferred content type for the given contents and file name.IContentTypeMatcher.findContentTypeFor
(String fileName) Returns the preferred content type for the given file name.IContentTypeMatcher.findContentTypesFor
(InputStream contents, String fileName) Returns the content types associated to the given contents and file name.IContentTypeMatcher.findContentTypesFor
(String fileName) Returns all content types known by the platform that are associated to the given file name.IContentTypeManager.getAllContentTypes()
Returns all content types known by the platform.IContentType.getBaseType()
Returns a reference to this content type's base type.IContentDescription.getContentType()
Returns the content type detected.IContentTypeManager.ContentTypeChangeEvent.getContentType()
Return the content type object associated with this change event.IContentTypeManager.getContentType
(String contentTypeIdentifier) Returns the content type with the given identifier, ornull
if no such content type is known by the platform.IContentTypeManager.ISelectionPolicy.select
(IContentType[] candidates, boolean fileName, boolean content) Returns a subset of the given content types sorted by using a custom criterion.Modifier and TypeMethodDescriptionIContentTypeManager.addContentType
(String contentTypeIdentifier, String name, IContentType baseType) Adds a new content-type to the registry.boolean
IContentType.isKindOf
(IContentType another) Returns whether this content type is a kind of the given content type.IContentTypeManager.ISelectionPolicy.select
(IContentType[] candidates, boolean fileName, boolean content) Returns a subset of the given content types sorted by using a custom criterion.ModifierConstructorDescriptionContentTypeChangeEvent
(IContentType source) Constructor for a new content type change event.ContentTypeChangeEvent
(IContentType source, IScopeContext context) Constructor for a new content type change event. -
Uses of IContentType in org.eclipse.search.ui.text
Modifier and TypeMethodDescriptionFileTextSearchScope.getContentTypes()
Returns the content types configured for this scope ornull
to match all content types. -
Uses of IContentType in org.eclipse.team.core
Modifier and TypeMethodDescriptionstatic IStorageMerger
Team.createMerger
(IContentType type) Creates a storage merger for the given content type.Team.createStorageMerger
(IContentType type) Deprecated.UseTeam.createMerger(IContentType)
instead. -
Uses of IContentType in org.eclipse.team.core.mapping
Modifier and TypeMethodDescriptionstatic IContentType
DelegatingStorageMerger.getContentType
(IStorage target) A helper method that finds the content type for the given storage or returnsnull
if a content type cannot be found. -
Uses of IContentType in org.eclipse.ui
Modifier and TypeMethodDescriptionIEditorRegistry.getDefaultEditor
(String fileName, IContentType contentType) Returns the default editor for a given file name and with the given content type.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.IEditorRegistry.getImageDescriptor
(String filename, IContentType contentType) Returns the image descriptor associated with a given file. -
Uses of IContentType in org.eclipse.ui.editors.text
Modifier and TypeMethodDescriptionFileDocumentProvider.getContentType
(Object element) ForwardingDocumentProvider.getContentType
(Object element) StorageDocumentProvider.getContentType
(Object element) TextFileDocumentProvider.getContentType
(Object element) TextFileDocumentProvider.NullProvider.getContentType
(Object element) Deprecated. -
Uses of IContentType in org.eclipse.ui.ide
Modifier and TypeMethodDescriptionstatic IContentType
IDE.getContentType
(IFile file) Return the content type for the given file.static IContentType
IDE.guessContentType
(IFile file) Guess at the content type of the given file based on the filename.Modifier 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 IContentType in org.eclipse.ui.texteditor
Modifier and TypeMethodDescriptionAbstractDocumentProvider.getContentType
(Object element) IDocumentProviderExtension4.getContentType
(Object element) Returns the content type of for the given element ornull
if none could be determined. -
Uses of IContentType in org.eclipse.ui.texteditor.spelling
Modifier and TypeMethodDescriptionSpellingContext.getContentType()
Returns the content type of the document.protected IContentType
SpellingReconcileStrategy.getContentType()
Returns the content type of the underlying editor input.Modifier and TypeMethodDescriptionvoid
SpellingContext.setContentType
(IContentType contentType) Sets the content type of the document.
org.eclipse.team.core.mapping.IStorageMerger
from theorg.eclipse.team.core.Team#createMerger(IContentType)
method.