Class StructuredTextTypesCollector
java.lang.Object
org.eclipse.equinox.bidi.internal.StructuredTextTypesCollector
- All Implemented Interfaces:
EventListener,IRegistryEventListener
Provides services related to registered structured text handlers.
-
Method Summary
Modifier and TypeMethodDescriptionvoidadded(IExtension[] extensions) Notifies this listener that extensions were added to the registry.voidadded(IExtensionPoint[] extensionPoints) Notifies this listener that extension points were added to the registry.static Map<String, StructuredTextTypeHandler> Returns the default structured text type handlers.getHandler(String type) static StructuredTextTypesCollectorString[]getTypes()voidremoved(IExtension[] extensions) Notifies this listener that extensions were removed from the registry.voidremoved(IExtensionPoint[] extensionPoints) Notifies this listener that extension points were removed from the registry.
-
Method Details
-
getInstance
- Returns:
- a static instance.
-
getTypes
- Returns:
- a list of all the registered structured text handler types.
-
getHandler
- Parameters:
type- the identifier for a structured text handler.- Returns:
- the structured text handler instance.
-
added
Description copied from interface:IRegistryEventListenerNotifies this listener that extensions were added to the registry.The extensions supplied as the argument are valid only for the duration of the invocation of this method.
- Specified by:
addedin interfaceIRegistryEventListener- Parameters:
extensions- extensions added to the registry
-
removed
Description copied from interface:IRegistryEventListenerNotifies this listener that extensions were removed from the registry.The extensions supplied as the argument are valid only for the duration of the invocation of this method.
- Specified by:
removedin interfaceIRegistryEventListener- Parameters:
extensions- extensions removed from the registry
-
added
Description copied from interface:IRegistryEventListenerNotifies this listener that extension points were added to the registry.The extension points supplied as the argument are valid only for the duration of the invocation of this method.
- Specified by:
addedin interfaceIRegistryEventListener- Parameters:
extensionPoints- extension points added to the registry
-
removed
Description copied from interface:IRegistryEventListenerNotifies this listener that extension points were removed from the registry.The extension points supplied as the argument are valid only for the duration of the invocation of this method.
- Specified by:
removedin interfaceIRegistryEventListener- Parameters:
extensionPoints- extension points removed from the registry
-
getDefaultTypeHandlers
Returns the default structured text type handlers. These handlers are also supported without OSGi running.- Returns:
- a map from structured text type handler identifier (key type:
String) to structured text type handler (value type:StructuredTextTypeHandler).
-