BTT Rich Client Theme Configuration
Identifier:
com.ibm.btt.rcp.theme.settings
Since:
BTT 6.1
Description:
This extension point is
used to customize SWT/JFace control themes. It separates into two type controls,
normal type and input type:
- These controls belong to input type: Text, StyledText, Combo, CCombo,
List, Table, Tree.
- The other controls belong to normal 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.
Configuration Markup:
<!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>
- id - The unique id of this theme setting.
- default - Set if this theme is the default theme for this
application. Default theme will only be set "true" once. The default value of
this field is "false"
- normalFont - The font for normal type control.
- normalBackgroundColor - The background color for normal type
control.
- normalForegroundColor - The foreground color for normal type
control.
- inputFont - The font for input type control.
- inputBackgroundColor - The background color for input type control.
- inputForegroundColor - The foreground color for input type control.
Examples:
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>
Licensed Materials - Property of IBM Restricted
Materials of IBM 5724-H82 (C) Copyright IBM Corp. 2007, 2008 All Rights
Reserved. US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.