BTT Rich Client Theme Configuration

com.ibm.btt.rcp.theme.settings

BTT 6.1

This extension point is used to customize SWT/JFace control themes. It separates into two type controls, normal type and input type: You can change font, background color and foreground color for these two type controls by configuring this extension point. You should extend this extension point in your project for only once.

<!ELEMENT extension (settings*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT settings EMPTY>

<!ATTLIST settings

id                    CDATA #REQUIRED

default               (true | false)

normalFont            CDATA #IMPLIED

normalBackgroundColor CDATA #IMPLIED

normalForegroundColor CDATA #IMPLIED

inputFont             CDATA #IMPLIED

inputBackgroundColor  CDATA #IMPLIED

inputForegroundColor  CDATA #IMPLIED>


Following is an example:

   

<extension point=

"com.ibm.btt.rcp.theme.settings"

>

<settings default=

"true"

id=

"com.ibm.btt.rcp.sample.theme.default"

inputBackgroundColor=

"255,255,255"

inputFont=

"Comic Sans MS,9,normal"

inputForegroundColor=

"0,0,0"

normalBackgroundColor=

"255,255,255"

normalFont=

"Courier New,9,normal"

normalForegroundColor=

"0,0,0"

/>

</extension>