Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Piech2009-03-06 20:37:54 +0000
committerPawel Piech2009-03-06 20:37:54 +0000
commit6a4ff28db704e21f50a09e0cf81bc046dd05474c (patch)
treed1b91c80e98fa7e8b1b799762772bafc380583df /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model
parent932eaa0dacdaf4dfc95891e369ffe2a0ab69c867 (diff)
downloadeclipse.platform.debug-6a4ff28db704e21f50a09e0cf81bc046dd05474c.tar.gz
eclipse.platform.debug-6a4ff28db704e21f50a09e0cf81bc046dd05474c.tar.xz
eclipse.platform.debug-6a4ff28db704e21f50a09e0cf81bc046dd05474c.zip
Bug 267438 - IInernalDebugUIConstants.PREF_CHANGED_VALUE_BACKGROUND should be public.
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/VariableLabelProvider.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/VariableLabelProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/VariableLabelProvider.java
index 896492bbb..8dddaa251 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/VariableLabelProvider.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/VariableLabelProvider.java
@@ -15,7 +15,6 @@ import org.eclipse.debug.core.model.IValue;
import org.eclipse.debug.core.model.IVariable;
import org.eclipse.debug.internal.ui.DebugUIPlugin;
import org.eclipse.debug.internal.ui.DefaultLabelProvider;
-import org.eclipse.debug.internal.ui.IInternalDebugUIConstants;
import org.eclipse.debug.internal.ui.elements.adapters.VariableColumnPresentation;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext;
import org.eclipse.debug.ui.IDebugUIConstants;
@@ -41,7 +40,7 @@ public class VariableLabelProvider extends DebugElementLabelProvider {
if (element instanceof IVariable) {
IVariable variable = (IVariable) element;
if (variable.hasValueChanged()) {
- return DebugUIPlugin.getPreferenceColor(IInternalDebugUIConstants.PREF_CHANGED_VALUE_BACKGROUND).getRGB();
+ return DebugUIPlugin.getPreferenceColor(IDebugUIConstants.PREF_CHANGED_VALUE_BACKGROUND).getRGB();
}
}
}
@@ -78,7 +77,7 @@ public class VariableLabelProvider extends DebugElementLabelProvider {
* @see org.eclipse.debug.internal.ui.model.elements.DebugElementLabelProvider#getFontData(org.eclipse.jface.viewers.TreePath, org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext, java.lang.String)
*/
protected FontData getFontData(TreePath elementPath, IPresentationContext presentationContext, String columnId) throws CoreException {
- return JFaceResources.getFontDescriptor(IInternalDebugUIConstants.VARIABLE_TEXT_FONT).getFontData()[0];
+ return JFaceResources.getFontDescriptor(IDebugUIConstants.PREF_VARIABLE_TEXT_FONT).getFontData()[0];
}
/* (non-Javadoc)

Back to the top