public interface ICompareColor
difference.| Modifier and Type | Interface and Description |
|---|---|
static interface |
ICompareColor.Provider
A provider of ICompareColor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Dispose all
Color resources. |
org.eclipse.swt.graphics.Color |
getFillColor(Diff diff,
boolean isThreeWay,
boolean isIgnoreAncestor,
boolean selected)
Return the color of the background of the decorator of the given
diff. |
org.eclipse.swt.graphics.Color |
getRequiredFillColor()
Get the color for Required change.
|
org.eclipse.swt.graphics.Color |
getRequiredStrokeColor()
Get the color for Required change border items.
|
org.eclipse.swt.graphics.Color |
getStrokeColor(Diff diff,
boolean isThreeWay,
boolean isIgnoreAncestor,
boolean selected)
Return the color of the stroke of the decorator of the given
diff. |
org.eclipse.swt.graphics.Color |
getUnmergeableFillColor()
Get the color for Unmergeable difference.
|
org.eclipse.swt.graphics.Color |
getUnmergeableStrokeColor()
Get the color for Unmergeable difference border items.
|
org.eclipse.swt.graphics.Color getFillColor(Diff diff, boolean isThreeWay, boolean isIgnoreAncestor, boolean selected)
diff.diff - the diff to be decorated.isThreeWay - are we comparing three models.isIgnoreAncestor - if the ancestor has to be ignored (i.e. ignore the isThreeWay parameter).selected - if the given diff is selected in the viewer.org.eclipse.swt.graphics.Color getStrokeColor(Diff diff, boolean isThreeWay, boolean isIgnoreAncestor, boolean selected)
diff.diff - the diff to be decorated.isThreeWay - are we comparing three models.isIgnoreAncestor - if the ancestor has to be ignored (i.e. ignore the isThreeWay parameter).selected - if the given diff is selected in the viewer.org.eclipse.swt.graphics.Color getRequiredFillColor()
org.eclipse.swt.graphics.Color getRequiredStrokeColor()
getRequiredFillColor()org.eclipse.swt.graphics.Color getUnmergeableFillColor()
org.eclipse.swt.graphics.Color getUnmergeableStrokeColor()
getUnmergeableFillColor()void dispose()
Color resources.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.