diff options
author | Michael Valenta | 2004-08-26 13:00:20 +0000 |
---|---|---|
committer | Michael Valenta | 2004-08-26 13:00:20 +0000 |
commit | b6ac8c96c7902bfea5181292938a3745918be29c (patch) | |
tree | 1c04ec4be065d18ce559d484aba17475dc0eac50 | |
parent | 95795a2e2248105b9856e50e900cf2b0455fe2d8 (diff) | |
download | eclipse.platform.team-b6ac8c96c7902bfea5181292938a3745918be29c.tar.gz eclipse.platform.team-b6ac8c96c7902bfea5181292938a3745918be29c.tar.xz eclipse.platform.team-b6ac8c96c7902bfea5181292938a3745918be29c.zip |
Fixed compile errors due to changs in IDecorator interface
-rw-r--r-- | bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSLightweightDecorator.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSLightweightDecorator.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSLightweightDecorator.java index 5bed95c9f..dc4dcf99f 100644 --- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSLightweightDecorator.java +++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSLightweightDecorator.java @@ -21,6 +21,7 @@ import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.jface.util.IPropertyChangeListener; import org.eclipse.jface.util.PropertyChangeEvent; import org.eclipse.jface.viewers.*; +import org.eclipse.swt.graphics.*; import org.eclipse.swt.graphics.ImageData; import org.eclipse.swt.widgets.Display; import org.eclipse.team.core.RepositoryProvider; @@ -72,6 +73,10 @@ public class CVSLightweightDecorator extends LabelProvider implements ILightweig } } + /** + * TODO: We should not be implementing IDecoration as it is + * not speced to be implemented by clients (see bug 72677) + */ public static class Decoration implements IDecoration { public String prefix, suffix; public ImageDescriptor overlay; @@ -99,6 +104,26 @@ public class CVSLightweightDecorator extends LabelProvider implements ILightweig */ public void addOverlay(ImageDescriptor overlay, int quadrant) { } + /* (non-Javadoc) + * @see org.eclipse.jface.viewers.IDecoration#setForegroundColor(org.eclipse.swt.graphics.Color) + */ + public void setForegroundColor(Color color) { + // Ignore for now + + } + /* (non-Javadoc) + * @see org.eclipse.jface.viewers.IDecoration#setBackgroundColor(org.eclipse.swt.graphics.Color) + */ + public void setBackgroundColor(Color color) { + // Ignore for now + + } + /* (non-Javadoc) + * @see org.eclipse.jface.viewers.IDecoration#setFont(org.eclipse.swt.graphics.Font) + */ + public void setFont(Font color) { + // Ignore for now + } } static { |