|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.ui.texteditor.DocumentProviderRegistry
This registry manages shareable document provider. Document
providers are specified in plugin.xml
either
per name extension or per editor input type. A name extension
rule always overrules an editor input type rule. Editor input
type rules follow the same rules IAdapterManager
used to find object adapters.
IAdapterManager
Method Summary | |
static DocumentProviderRegistry |
getDefault()
Returns the standard document provider registry. |
IDocumentProvider |
getDocumentProvider(IEditorInput editorInput)
Returns the shareable document for the type of the given editor input. |
IDocumentProvider |
getDocumentProvider(String extension)
Returns a shareable document provider for the given name extension. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static DocumentProviderRegistry getDefault()
public IDocumentProvider getDocumentProvider(String extension)
extension
- the name extension to be used for lookup
public IDocumentProvider getDocumentProvider(IEditorInput editorInput)
editorInput
- the input for whose type the provider is looked up
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |