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 TypeMethodDescriptionvoid
added
(IExtension[] extensions) Notifies this listener that extensions were added to the registry.void
added
(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 StructuredTextTypesCollector
String[]
getTypes()
void
removed
(IExtension[] extensions) Notifies this listener that extensions were removed from the registry.void
removed
(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:IRegistryEventListener
Notifies 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:
added
in interfaceIRegistryEventListener
- Parameters:
extensions
- extensions added to the registry
-
removed
Description copied from interface:IRegistryEventListener
Notifies 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:
removed
in interfaceIRegistryEventListener
- Parameters:
extensions
- extensions removed from the registry
-
added
Description copied from interface:IRegistryEventListener
Notifies 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:
added
in interfaceIRegistryEventListener
- Parameters:
extensionPoints
- extension points added to the registry
-
removed
Description copied from interface:IRegistryEventListener
Notifies 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:
removed
in 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
).
-