|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDocumentProviderExtension4
Extension interface for IDocumentProvider.
Extends a document provider with the ability to query the content type
of a given element.
This interface may be implemented by clients.
IDocumentProvider| Method Summary | |
|---|---|
IContentType |
getContentType(java.lang.Object element)
Returns the content type of for the given element or null if none could be determined. |
| Method Detail |
|---|
IContentType getContentType(java.lang.Object element)
throws CoreException
null if none could be determined. If the element's
document can be saved, the returned content type is determined by the
document's current content.
element - the element
null
CoreException - if reading or accessing the underlying store
fails
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.