|
Lines 123-131
public class ExpressionInformationControlCreator implements
Link Here
|
| 123 |
} |
123 |
} |
| 124 |
public void paneChanged(String newPaneID) { |
124 |
public void paneChanged(String newPaneID) { |
| 125 |
if (DefaultDetailPane.ID.equals(newPaneID)) { |
125 |
if (DefaultDetailPane.ID.equals(newPaneID)) { |
|
|
126 |
fDetailPane.getCurrentControl().setForeground( |
| 127 |
getShell().getDisplay().getSystemColor(SWT.COLOR_INFO_FOREGROUND)); |
| 126 |
fDetailPane.getCurrentControl().setBackground( |
128 |
fDetailPane.getCurrentControl().setBackground( |
| 127 |
getShell().getDisplay().getSystemColor( |
129 |
getShell().getDisplay().getSystemColor(SWT.COLOR_INFO_BACKGROUND)); |
| 128 |
SWT.COLOR_INFO_BACKGROUND)); |
|
|
| 129 |
} |
130 |
} |
| 130 |
} |
131 |
} |
| 131 |
|
132 |
|
|
Lines 339-346
public class ExpressionInformationControlCreator implements
Link Here
|
| 339 |
} |
340 |
} |
| 340 |
}); |
341 |
}); |
| 341 |
|
342 |
|
| 342 |
setBackgroundColor(getShell().getDisplay().getSystemColor( |
343 |
setForegroundColor(getShell().getDisplay().getSystemColor(SWT.COLOR_INFO_FOREGROUND)); |
| 343 |
SWT.COLOR_INFO_BACKGROUND)); |
344 |
setBackgroundColor(getShell().getDisplay().getSystemColor(SWT.COLOR_INFO_BACKGROUND)); |
| 344 |
} |
345 |
} |
| 345 |
|
346 |
|
| 346 |
/** |
347 |
/** |
|
Lines 393-398
public class ExpressionInformationControlCreator implements
Link Here
|
| 393 |
} |
394 |
} |
| 394 |
|
395 |
|
| 395 |
@Override |
396 |
@Override |
|
|
397 |
public void setForegroundColor(Color foreground) { |
| 398 |
super.setForegroundColor(foreground); |
| 399 |
if (fDetailPaneComposite != null) { |
| 400 |
fDetailPaneComposite.setForeground(foreground); |
| 401 |
} |
| 402 |
fTree.setForeground(foreground); |
| 403 |
} |
| 404 |
|
| 405 |
@Override |
| 396 |
public void setBackgroundColor(Color background) { |
406 |
public void setBackgroundColor(Color background) { |
| 397 |
super.setBackgroundColor(background); |
407 |
super.setBackgroundColor(background); |
| 398 |
if (fDetailPaneComposite != null) { |
408 |
if (fDetailPaneComposite != null) { |
|
Lines 467-471
public class ExpressionInformationControlCreator implements
Link Here
|
| 467 |
public IInformationControl createInformationControl(Shell parent) { |
477 |
public IInformationControl createInformationControl(Shell parent) { |
| 468 |
return new ExpressionInformationControl(parent, false); |
478 |
return new ExpressionInformationControl(parent, false); |
| 469 |
} |
479 |
} |
| 470 |
|
|
|
| 471 |
} |
480 |
} |
| 472 |
- |
|
|