Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 221429 Details for
Bug 390247
[hover] Wrong text color for expression hover
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Fix.
0001-TCF-Debugger-hover-Wrong-text-color-for-expression-h.patch (text/plain), 2.83 KB, created by
Pawel Piech
on 2012-09-24 13:00:38 EDT
(
hide
)
Description:
Fix.
Filename:
MIME Type:
Creator:
Pawel Piech
Created:
2012-09-24 13:00:38 EDT
Size:
2.83 KB
patch
obsolete
>From 89e4abc77c7b3b1c0a435ff7ee443282d0434575 Mon Sep 17 00:00:00 2001 >From: Pawel Piech <pawel.piech@windriver.com> >Date: Mon, 24 Sep 2012 09:59:27 -0700 >Subject: [PATCH] TCF Debugger - [hover] Wrong text color for expression hover > >--- > .../hover/ExpressionInformationControlCreator.java | 19 ++++++++++++++----- > 1 files changed, 14 insertions(+), 5 deletions(-) > >diff --git a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/hover/ExpressionInformationControlCreator.java b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/hover/ExpressionInformationControlCreator.java >index fcf0037..45f0809 100644 >--- a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/hover/ExpressionInformationControlCreator.java >+++ b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/hover/ExpressionInformationControlCreator.java >@@ -123,9 +123,10 @@ public class ExpressionInformationControlCreator implements > } > public void paneChanged(String newPaneID) { > if (DefaultDetailPane.ID.equals(newPaneID)) { >+ fDetailPane.getCurrentControl().setForeground( >+ getShell().getDisplay().getSystemColor(SWT.COLOR_INFO_FOREGROUND)); > fDetailPane.getCurrentControl().setBackground( >- getShell().getDisplay().getSystemColor( >- SWT.COLOR_INFO_BACKGROUND)); >+ getShell().getDisplay().getSystemColor(SWT.COLOR_INFO_BACKGROUND)); > } > } > >@@ -339,8 +340,8 @@ public class ExpressionInformationControlCreator implements > } > }); > >- setBackgroundColor(getShell().getDisplay().getSystemColor( >- SWT.COLOR_INFO_BACKGROUND)); >+ setForegroundColor(getShell().getDisplay().getSystemColor(SWT.COLOR_INFO_FOREGROUND)); >+ setBackgroundColor(getShell().getDisplay().getSystemColor(SWT.COLOR_INFO_BACKGROUND)); > } > > /** >@@ -393,6 +394,15 @@ public class ExpressionInformationControlCreator implements > } > > @Override >+ public void setForegroundColor(Color foreground) { >+ super.setForegroundColor(foreground); >+ if (fDetailPaneComposite != null) { >+ fDetailPaneComposite.setForeground(foreground); >+ } >+ fTree.setForeground(foreground); >+ } >+ >+ @Override > public void setBackgroundColor(Color background) { > super.setBackgroundColor(background); > if (fDetailPaneComposite != null) { >@@ -467,5 +477,4 @@ public class ExpressionInformationControlCreator implements > public IInformationControl createInformationControl(Shell parent) { > return new ExpressionInformationControl(parent, false); > } >- > } >-- >1.7.5.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
mober.at+eclipse
:
iplog-
Actions:
View
|
Diff
Attachments on
bug 390247
: 221429