| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (version 1.7.0_75) on Mon Jun 08 05:48:10 EDT 2015 --> |
| <title>CompareColorImpl (EMF Compare API Specification)</title> |
| <meta name="date" content="2015-06-08"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="CompareColorImpl (EMF Compare API Specification)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/CompareColorImpl.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><em><span style='font-size:small'><b>EMF Compare</b><br>3.2.0.201506080946</span></em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/ColorChangeEvent.html" title="class in org.eclipse.emf.compare.rcp.ui.internal.mergeviewer"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/IColorChangeEvent.html" title="interface in org.eclipse.emf.compare.rcp.ui.internal.mergeviewer"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../../../index.html?org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/CompareColorImpl.html" target="_top">Frames</a></li> |
| <li><a href="CompareColorImpl.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.eclipse.emf.compare.rcp.ui.internal.mergeviewer</div> |
| <h2 title="Class CompareColorImpl" class="title">Class CompareColorImpl</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.emf.compare.rcp.ui.internal.mergeviewer.CompareColorImpl</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd>com.google.common.cache.RemovalListener<<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/RGB.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">RGB</a>,<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Color</a>>, <a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html" title="interface in org.eclipse.emf.compare.rcp.ui.mergeviewer">ICompareColor</a></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../../../../../org/eclipse/emf/compare/ide/ui/internal/contentmergeviewer/util/EMFCompareColor.html" title="class in org.eclipse.emf.compare.ide.ui.internal.contentmergeviewer.util">EMFCompareColor</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">CompareColorImpl</span> |
| extends <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements com.google.common.cache.RemovalListener<<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/RGB.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">RGB</a>,<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Color</a>>, <a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html" title="interface in org.eclipse.emf.compare.rcp.ui.mergeviewer">ICompareColor</a></pre> |
| <div class="block">Default implementation that use a cache to store created Color and that is listening to a preference store |
| for color configuration.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested_class_summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested_classes_inherited_from_class_org.eclipse.emf.compare.rcp.ui.mergeviewer.ICompareColor"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.eclipse.emf.compare.rcp.ui.mergeviewer.<a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html" title="interface in org.eclipse.emf.compare.rcp.ui.mergeviewer">ICompareColor</a></h3> |
| <code><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.Provider.html" title="interface in org.eclipse.emf.compare.rcp.ui.mergeviewer">ICompareColor.Provider</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://download.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/CompareColorImpl.html#CONFLICTING_CHANGE_COLOR_THEME_KEY">CONFLICTING_CHANGE_COLOR_THEME_KEY</a></strong></code> |
| <div class="block">Conflicting color key in theme</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://download.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/CompareColorImpl.html#INCOMING_CHANGE_COLOR_THEME_KEY">INCOMING_CHANGE_COLOR_THEME_KEY</a></strong></code> |
| <div class="block">Incoming color key in theme</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://download.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/CompareColorImpl.html#OUTGOING_CHANGE_COLOR_THEME_KEY">OUTGOING_CHANGE_COLOR_THEME_KEY</a></strong></code> |
| <div class="block">Outgoing color key in theme</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://download.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/CompareColorImpl.html#REQUIRED_DIFF_COLOR_THEME_KEY">REQUIRED_DIFF_COLOR_THEME_KEY</a></strong></code> |
| <div class="block">Required difference color key in theme</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://download.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/CompareColorImpl.html#UNMERGEABLE_DIFF_COLOR_THEME_KEY">UNMERGEABLE_DIFF_COLOR_THEME_KEY</a></strong></code> |
| <div class="block">Unmergeable difference color key in theme</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/CompareColorImpl.html#CompareColorImpl(org.eclipse.swt.widgets.Display,%20boolean,%20org.eclipse.jface.resource.ColorRegistry)">CompareColorImpl</a></strong>(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Display.html?is-external=true" title="class or interface in org.eclipse.swt.widgets">Display</a> fDisplay, |
| boolean leftIsLocal, |
| <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/jface/resource/ColorRegistry.html?is-external=true" title="class or interface in org.eclipse.jface.resource">ColorRegistry</a> colorRegistry)</code> |
| <div class="block">Constructor.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/CompareColorImpl.html#dispose()">dispose</a></strong>()</code> |
| <div class="block">Dispose all <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics"><code>Color</code></a> resources.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Color</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/CompareColorImpl.html#getFillColor(org.eclipse.emf.compare.Diff,%20boolean,%20boolean,%20boolean)">getFillColor</a></strong>(<a href="../../../../../../../../org/eclipse/emf/compare/Diff.html" title="interface in org.eclipse.emf.compare">Diff</a> diff, |
| boolean isThreeWay, |
| boolean isIgnoreAncestor, |
| boolean selected)</code> |
| <div class="block">Return the color of the background of the decorator of the given <code>diff</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Color</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/CompareColorImpl.html#getRequiredFillColor()">getRequiredFillColor</a></strong>()</code> |
| <div class="block">Get the color for Required change.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Color</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/CompareColorImpl.html#getRequiredStrokeColor()">getRequiredStrokeColor</a></strong>()</code> |
| <div class="block">Get the color for Required change border items.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Color</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/CompareColorImpl.html#getStrokeColor(org.eclipse.emf.compare.Diff,%20boolean,%20boolean,%20boolean)">getStrokeColor</a></strong>(<a href="../../../../../../../../org/eclipse/emf/compare/Diff.html" title="interface in org.eclipse.emf.compare">Diff</a> diff, |
| boolean isThreeWay, |
| boolean isIgnoreAncestor, |
| boolean selected)</code> |
| <div class="block">Return the color of the stroke of the decorator of the given <code>diff</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Color</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/CompareColorImpl.html#getUnmergeableFillColor()">getUnmergeableFillColor</a></strong>()</code> |
| <div class="block">Get the color for Unmergeable difference.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Color</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/CompareColorImpl.html#getUnmergeableStrokeColor()">getUnmergeableStrokeColor</a></strong>()</code> |
| <div class="block">Get the color for Unmergeable difference border items.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/CompareColorImpl.html#onRemoval(com.google.common.cache.RemovalNotification)">onRemoval</a></strong>(com.google.common.cache.RemovalNotification<<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/RGB.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">RGB</a>,<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Color</a>> notification)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/CompareColorImpl.html#updateColors()">updateColors</a></strong>()</code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="INCOMING_CHANGE_COLOR_THEME_KEY"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>INCOMING_CHANGE_COLOR_THEME_KEY</h4> |
| <pre>public static final <a href="http://download.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> INCOMING_CHANGE_COLOR_THEME_KEY</pre> |
| <div class="block">Incoming color key in theme</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../../constant-values.html#org.eclipse.emf.compare.rcp.ui.internal.mergeviewer.CompareColorImpl.INCOMING_CHANGE_COLOR_THEME_KEY">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="CONFLICTING_CHANGE_COLOR_THEME_KEY"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>CONFLICTING_CHANGE_COLOR_THEME_KEY</h4> |
| <pre>public static final <a href="http://download.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> CONFLICTING_CHANGE_COLOR_THEME_KEY</pre> |
| <div class="block">Conflicting color key in theme</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../../constant-values.html#org.eclipse.emf.compare.rcp.ui.internal.mergeviewer.CompareColorImpl.CONFLICTING_CHANGE_COLOR_THEME_KEY">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="OUTGOING_CHANGE_COLOR_THEME_KEY"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>OUTGOING_CHANGE_COLOR_THEME_KEY</h4> |
| <pre>public static final <a href="http://download.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> OUTGOING_CHANGE_COLOR_THEME_KEY</pre> |
| <div class="block">Outgoing color key in theme</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../../constant-values.html#org.eclipse.emf.compare.rcp.ui.internal.mergeviewer.CompareColorImpl.OUTGOING_CHANGE_COLOR_THEME_KEY">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="REQUIRED_DIFF_COLOR_THEME_KEY"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>REQUIRED_DIFF_COLOR_THEME_KEY</h4> |
| <pre>public static final <a href="http://download.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> REQUIRED_DIFF_COLOR_THEME_KEY</pre> |
| <div class="block">Required difference color key in theme</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../../constant-values.html#org.eclipse.emf.compare.rcp.ui.internal.mergeviewer.CompareColorImpl.REQUIRED_DIFF_COLOR_THEME_KEY">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="UNMERGEABLE_DIFF_COLOR_THEME_KEY"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>UNMERGEABLE_DIFF_COLOR_THEME_KEY</h4> |
| <pre>public static final <a href="http://download.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> UNMERGEABLE_DIFF_COLOR_THEME_KEY</pre> |
| <div class="block">Unmergeable difference color key in theme</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../../constant-values.html#org.eclipse.emf.compare.rcp.ui.internal.mergeviewer.CompareColorImpl.UNMERGEABLE_DIFF_COLOR_THEME_KEY">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="CompareColorImpl(org.eclipse.swt.widgets.Display, boolean, org.eclipse.jface.resource.ColorRegistry)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>CompareColorImpl</h4> |
| <pre>public CompareColorImpl(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Display.html?is-external=true" title="class or interface in org.eclipse.swt.widgets">Display</a> fDisplay, |
| boolean leftIsLocal, |
| <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/jface/resource/ColorRegistry.html?is-external=true" title="class or interface in org.eclipse.jface.resource">ColorRegistry</a> colorRegistry)</pre> |
| <div class="block">Constructor. With this constructor the colors will disposed at the same as the control.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>control</code> - Use for get <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Display.html?is-external=true" title="class or interface in org.eclipse.swt.widgets"><code>Display</code></a>. The colors will be disposed with the control.</dd><dd><code>leftIsLocal</code> - </dd><dd><code>colorRegistry</code> - ColorRegistry where to find all needed color. Those color will be available through the |
| constants: (UNMERGEABLE_DIFF_COLOR_THEME_KEY, REQUIRED_DIFF_COLOR_THEME_KEY, |
| RESOLVED_CHANGE_COLOR_THEME_KEY, OUTGOING_CHANGE_COLOR_THEME_KEY, |
| CONFLICTING_CHANGE_COLOR_THEME_KEY, INCOMING_CHANGE_COLOR_THEME_KEY)</dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="onRemoval(com.google.common.cache.RemovalNotification)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onRemoval</h4> |
| <pre>public final void onRemoval(com.google.common.cache.RemovalNotification<<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/RGB.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">RGB</a>,<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Color</a>> notification)</pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code>onRemoval</code> in interface <code>com.google.common.cache.RemovalListener<<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/RGB.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">RGB</a>,<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Color</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFillColor(org.eclipse.emf.compare.Diff, boolean, boolean, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFillColor</h4> |
| <pre>public <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Color</a> getFillColor(<a href="../../../../../../../../org/eclipse/emf/compare/Diff.html" title="interface in org.eclipse.emf.compare">Diff</a> diff, |
| boolean isThreeWay, |
| boolean isIgnoreAncestor, |
| boolean selected)</pre> |
| <div class="block">Return the color of the background of the decorator of the given <code>diff</code>.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html#getFillColor(org.eclipse.emf.compare.Diff,%20boolean,%20boolean,%20boolean)">getFillColor</a></code> in interface <code><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html" title="interface in org.eclipse.emf.compare.rcp.ui.mergeviewer">ICompareColor</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>diff</code> - the diff to be decorated.</dd><dd><code>isThreeWay</code> - are we comparing three models.</dd><dd><code>isIgnoreAncestor</code> - if the ancestor has to be ignored (i.e. ignore the isThreeWay parameter).</dd><dd><code>selected</code> - if the given <code>diff</code> is selected in the viewer.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the background color.</dd><dt><span class="strong">See Also:</span></dt><dd><code>org.eclipse.emf.compare.ide.ui.internal.contentmergeviewer.util.ICompareColor#getFillColor(org.eclipse.emf.compare.Diff, |
| boolean, boolean, boolean)</code></dd></dl> |
| </li> |
| </ul> |
| <a name="getStrokeColor(org.eclipse.emf.compare.Diff, boolean, boolean, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStrokeColor</h4> |
| <pre>public <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Color</a> getStrokeColor(<a href="../../../../../../../../org/eclipse/emf/compare/Diff.html" title="interface in org.eclipse.emf.compare">Diff</a> diff, |
| boolean isThreeWay, |
| boolean isIgnoreAncestor, |
| boolean selected)</pre> |
| <div class="block">Return the color of the stroke of the decorator of the given <code>diff</code>.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html#getStrokeColor(org.eclipse.emf.compare.Diff,%20boolean,%20boolean,%20boolean)">getStrokeColor</a></code> in interface <code><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html" title="interface in org.eclipse.emf.compare.rcp.ui.mergeviewer">ICompareColor</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>diff</code> - the diff to be decorated.</dd><dd><code>isThreeWay</code> - are we comparing three models.</dd><dd><code>isIgnoreAncestor</code> - if the ancestor has to be ignored (i.e. ignore the isThreeWay parameter).</dd><dd><code>selected</code> - if the given <code>diff</code> is selected in the viewer.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the background color.</dd><dt><span class="strong">See Also:</span></dt><dd><code>org.eclipse.emf.compare.ide.ui.internal.contentmergeviewer.util.ICompareColor#getStrokeColor(org.eclipse.emf.compare.Diff, |
| boolean, boolean, boolean)</code></dd></dl> |
| </li> |
| </ul> |
| <a name="updateColors()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateColors</h4> |
| <pre>protected final void updateColors()</pre> |
| </li> |
| </ul> |
| <a name="dispose()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dispose</h4> |
| <pre>public void dispose()</pre> |
| <div class="block">Dispose all <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics"><code>Color</code></a> resources.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html#dispose()">dispose</a></code> in interface <code><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html" title="interface in org.eclipse.emf.compare.rcp.ui.mergeviewer">ICompareColor</a></code></dd> |
| <dt><span class="strong">See Also:</span></dt><dd><code>org.eclipse.emf.compare.ide.ui.internal.contentmergeviewer.util.ICompareColor#dispose()</code></dd></dl> |
| </li> |
| </ul> |
| <a name="getRequiredFillColor()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRequiredFillColor</h4> |
| <pre>public <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Color</a> getRequiredFillColor()</pre> |
| <div class="block">Get the color for Required change.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html#getRequiredFillColor()">getRequiredFillColor</a></code> in interface <code><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html" title="interface in org.eclipse.emf.compare.rcp.ui.mergeviewer">ICompareColor</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd></dd></dl> |
| </li> |
| </ul> |
| <a name="getUnmergeableFillColor()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getUnmergeableFillColor</h4> |
| <pre>public <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Color</a> getUnmergeableFillColor()</pre> |
| <div class="block">Get the color for Unmergeable difference.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html#getUnmergeableFillColor()">getUnmergeableFillColor</a></code> in interface <code><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html" title="interface in org.eclipse.emf.compare.rcp.ui.mergeviewer">ICompareColor</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd></dd></dl> |
| </li> |
| </ul> |
| <a name="getRequiredStrokeColor()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRequiredStrokeColor</h4> |
| <pre>public <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Color</a> getRequiredStrokeColor()</pre> |
| <div class="block">Get the color for Required change border items. This color is computed from |
| <a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html#getRequiredFillColor()"><code>ICompareColor.getRequiredFillColor()</code></a></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html#getRequiredStrokeColor()">getRequiredStrokeColor</a></code> in interface <code><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html" title="interface in org.eclipse.emf.compare.rcp.ui.mergeviewer">ICompareColor</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd></dd></dl> |
| </li> |
| </ul> |
| <a name="getUnmergeableStrokeColor()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getUnmergeableStrokeColor</h4> |
| <pre>public <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Color.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Color</a> getUnmergeableStrokeColor()</pre> |
| <div class="block">Get the color for Unmergeable difference border items. This color is computed from |
| <a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html#getUnmergeableFillColor()"><code>ICompareColor.getUnmergeableFillColor()</code></a></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html#getUnmergeableStrokeColor()">getUnmergeableStrokeColor</a></code> in interface <code><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/mergeviewer/ICompareColor.html" title="interface in org.eclipse.emf.compare.rcp.ui.mergeviewer">ICompareColor</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd></dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/CompareColorImpl.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><em><span style='font-size:small'><b>EMF Compare</b><br>3.2.0.201506080946</span></em></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/ColorChangeEvent.html" title="class in org.eclipse.emf.compare.rcp.ui.internal.mergeviewer"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../../../../org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/IColorChangeEvent.html" title="interface in org.eclipse.emf.compare.rcp.ui.internal.mergeviewer"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../../../index.html?org/eclipse/emf/compare/rcp/ui/internal/mergeviewer/CompareColorImpl.html" target="_top">Frames</a></li> |
| <li><a href="CompareColorImpl.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small><br><span style='font-size:small;float:right'>Copyright (c) 2006, 2014 Obeo and others. All rights reserved.</span></small></p> |
| </body> |
| </html> |