/** * Overrides 'super' to pass the proper colors and font */ @Override public void setContent(Control content) { super.setContent(content); if (content != null) { content.setForeground(getForeground()); content.setBackground(getBackground()); content.setFont(getFont()); } }
/** * Overrides 'super' to pass the proper colors and font */ @Override public void setContent(Control content) { super.setContent(content); if (content != null) { content.setForeground(getForeground()); content.setBackground(getBackground()); content.setFont(getFont()); } }