}
protected Clickable createButton() {
final Color foreground = CommonUIPlugin.getDefault().getColorRegistry().get(IDetailsColors.COLOR_DARK_SHADOW);
final Color background = CommonUIPlugin.getDefault().getColorRegistry().get(IDetailsColors.COLOR_TRAY_BACKGROUND);
Button result = new ArrowButton() {
protected void paintBorder(Graphics graphics) {
graphics.setForegroundColor(foreground);
Rectangle r = getBounds().getCopy();
r.shrink(0, 2);
r.width -= 1;
graphics.drawRectangle(r);
}
};
result.setBackgroundColor(background);
// sets the triangle color
((Triangle)result.getChildren().get(0)).setBackgroundColor(foreground);
return result;
}