|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.internal.ui.text.folding.CFoldingStructureProviderRegistry
public class CFoldingStructureProviderRegistry
Constructor Summary | |
---|---|
CFoldingStructureProviderRegistry()
Creates a new instance. |
Method Summary | |
---|---|
ICFoldingStructureProvider |
getCurrentFoldingProvider()
Instantiates and returns the provider that is currently configured in the preferences. |
CFoldingStructureProviderDescriptor |
getFoldingProviderDescriptor(java.lang.String id)
Returns the folding provider with identifier id or
null if no such provider is registered. |
CFoldingStructureProviderDescriptor[] |
getFoldingProviderDescriptors()
Returns an array of ICFoldingProviderDescriptor describing
all extension to the foldingProviders extension point. |
void |
reloadExtensions()
Reads all extensions. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CFoldingStructureProviderRegistry()
Method Detail |
---|
public CFoldingStructureProviderDescriptor[] getFoldingProviderDescriptors()
ICFoldingProviderDescriptor
describing
all extension to the foldingProviders
extension point.
quickDiffReferenceProvider
extension point.public CFoldingStructureProviderDescriptor getFoldingProviderDescriptor(java.lang.String id)
id
or
null
if no such provider is registered.
id
- the identifier for which a provider is wanted
null
if none can be
foundpublic ICFoldingStructureProvider getCurrentFoldingProvider()
public void reloadExtensions()
This method can be called more than once in order to reload from a changed extension registry.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |