|
Lines 49-54
Link Here
|
| 49 |
import org.eclipse.swt.layout.GridData; |
49 |
import org.eclipse.swt.layout.GridData; |
| 50 |
import org.eclipse.swt.widgets.Composite; |
50 |
import org.eclipse.swt.widgets.Composite; |
| 51 |
import org.eclipse.swt.widgets.Control; |
51 |
import org.eclipse.swt.widgets.Control; |
|
|
52 |
import org.eclipse.swt.widgets.Display; |
| 52 |
import org.eclipse.swt.widgets.Event; |
53 |
import org.eclipse.swt.widgets.Event; |
| 53 |
import org.eclipse.swt.widgets.Label; |
54 |
import org.eclipse.swt.widgets.Label; |
| 54 |
import org.eclipse.swt.widgets.Link; |
55 |
import org.eclipse.swt.widgets.Link; |
|
Lines 179-185
Link Here
|
| 179 |
// Mac has different Gamma value |
180 |
// Mac has different Gamma value |
| 180 |
int shift = Util.isMac() ? -25 : -10; |
181 |
int shift = Util.isMac() ? -25 : -10; |
| 181 |
|
182 |
|
| 182 |
Color lightColor = PlatformUI.getWorkbench().getDisplay() |
183 |
// RAP [if] Fix for bug 341816 |
|
|
184 |
// Color lightColor = PlatformUI.getWorkbench().getDisplay() |
| 185 |
Color lightColor = Display.getCurrent() |
| 183 |
.getSystemColor(SWT.COLOR_LIST_BACKGROUND); |
186 |
.getSystemColor(SWT.COLOR_LIST_BACKGROUND); |
| 184 |
|
187 |
|
| 185 |
// Determine a dark color by shifting the list color |
188 |
// Determine a dark color by shifting the list color |