if (isSelected()) {
gc.setForeground(ColorResources.TABLE_CONTENTS_SELECTED_START);
- gc.setBackground(ColorResources.TABLE_CONTENTS_SELECTED_END);
+ gc.setBackground(ColorResources.TABLE_CONTENTS_SELECTED_START);
} else {
gc.setBackground(getDisplay().getSystemColor(
SWT.COLOR_WIDGET_BACKGROUND));
if (drawAsSelected) {
gc.setForeground(ColorResources.TABLE_CONTENTS_SELECTED_START);
- gc.setBackground(ColorResources.TABLE_CONTENTS_SELECTED_END);
+ gc.setBackground(ColorResources.TABLE_CONTENTS_SELECTED_START);
} else {
if (item.getParent().isEnabled()) {
Color bg = item.getBackground();
if (rateStr.contains(CommonConstants.PERCENT)) {
if (drawAsSelected) {
gc.setForeground(ColorResources.PROFILING_GRAPH_SELECTION_COLOR_START);
- gc.setBackground(ColorResources.PROFILING_GRAPH_SELECTION_COLOR_END);
+ gc.setBackground(ColorResources.PROFILING_GRAPH_SELECTION_COLOR_START);
} else {
gc.setForeground(ColorResources.PROFILING_GRAPH_COLOR_START);
- gc.setBackground(ColorResources.PROFILING_GRAPH_COLOR_END);
+ gc.setBackground(ColorResources.PROFILING_GRAPH_COLOR_START);
}
String[] splitRateStr = rateStr.split(CommonConstants.PERCENT);
rateStr = new String(splitRateStr[0].trim());
}
if (drawAsSelected) {
gc.setForeground(ColorResources.TABLE_CONTENTS_SELECTED_START);
- gc.setBackground(ColorResources.TABLE_CONTENTS_SELECTED_END);
+ gc.setBackground(ColorResources.TABLE_CONTENTS_SELECTED_START);
} else {
if (item.getParent().isEnabled()) {
Color bg = item.getBackground();
boolean drawBackground = true;
if (item.getChecked() && getColumn() == 0) {
gc.setForeground(ColorResources.TABLE_CONTENTS_SELECTED_START);
- gc.setBackground(ColorResources.TABLE_CONTENTS_SELECTED_END);
+ gc.setBackground(ColorResources.TABLE_CONTENTS_SELECTED_START);
} else {
if (item.getParent().isEnabled()) {
Color bg = item.getBackground();
if (drawAsSelected) {
gc.setForeground(ColorResources.TABLE_CONTENTS_SELECTED_START);
- gc.setBackground(ColorResources.TABLE_CONTENTS_SELECTED_END);
+ gc.setBackground(ColorResources.TABLE_CONTENTS_SELECTED_START);
} else {
if (item.getParent().isEnabled()) {
Color bg = item.getBackground();
if (isSelected()) {
gc.setForeground(ColorResources.TABLE_CONTENTS_SELECTED_START);
- gc.setBackground(ColorResources.TABLE_CONTENTS_SELECTED_END);
+ gc.setBackground(ColorResources.TABLE_CONTENTS_SELECTED_START);
} else {
if (table.isEnabled()) {
drawBackground = false;