Text Control Providers

Identifier:
com.ibm.xtools.richtext.control.textControlProviders

Since:
8.0

Description:

This extension point is used to register providers that contribute to text control creation and handling within the application.

Configuration Markup:

<!ELEMENT extension (TextControlProvider)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT TextControlProvider (Priority)>

<!ATTLIST TextControlProvider

class CDATA #REQUIRED>


<!ELEMENT Priority EMPTY>

<!ATTLIST Priority

name (Lowest|Low|Medium|High|Highest) >


Examples:
The following is an example of a provider extension:

<extension
         id="textControlProviders_plainText"
         name="Plain Text Control Provider"
         point="com.ibm.xtools.richtext.control.textControlProviders">
         <TextControlProvider class="com.ibm.xtools.uml.ui.diagram.internal.providers.PlainTextControlProvider">
             <Priority name="Lowest"/>
         </TextControlProvider>
    </extension>   

API Information:

The value of the text control provider class attribute must be a fully qualified name of a Java class that implements com.ibm.xtools.richtext.control.services.ITextControlProvider.

The order of contribution is given as follows:

  1. the priority of the provider (Lowest first)
  2. the order of the definition within the XML file


Copyright (c) 2004, 2018 Model RealTime, HCL and others. All Rights Reserved.