* @param control the controller for which this theme will be used
*/
private void init( final CControl control ){
putColorBridgeFactory( TabColor.KIND_TAB_COLOR, new ColorBridgeFactory(){
public ColorBridge create( ColorManager manager ) {
EclipseTabTransmitter transmitter = new EclipseTabTransmitter( manager );
transmitter.setControl( control );
return transmitter;
}
});
putColorBridgeFactory( TitleColor.KIND_FLAP_BUTTON_COLOR, new ColorBridgeFactory(){
public ColorBridge create(ColorManager manager) {
BasicButtonTitleTransmitter transmitter = new BasicButtonTitleTransmitter( manager );
transmitter.setControl( control );
return transmitter;
}
});
initDefaultFontBridges( control );
putFontBridgeFactory( TitleFont.KIND_TAB_TITLE_FONT, new FontBridgeFactory(){
public FontBridge create( FontManager manager ) {
TabTitleFontTransmitter transmitter = new TabTitleFontTransmitter( manager );
transmitter.setControl( control );
return transmitter;
}
});
}