| <!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:04 EDT 2015 --> |
| <title>ItemUtil (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="ItemUtil (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/ItemUtil.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/internal/extension/impl/ItemRegistry.html" title="class in org.eclipse.emf.compare.rcp.internal.extension.impl"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/impl/LazyItemDescriptor.html" title="class in org.eclipse.emf.compare.rcp.internal.extension.impl"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../../../index.html?org/eclipse/emf/compare/rcp/internal/extension/impl/ItemUtil.html" target="_top">Frames</a></li> |
| <li><a href="ItemUtil.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>Constr | </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>Constr | </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.internal.extension.impl</div> |
| <h2 title="Class ItemUtil" class="title">Class ItemUtil</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.internal.extension.impl.ItemUtil</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public final class <span class="strong">ItemUtil</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></pre> |
| <div class="block">Util class for item.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== 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/internal/extension/impl/ItemUtil.html#PREFERENCE_DELIMITER">PREFERENCE_DELIMITER</a></strong></code> |
| <div class="block">Delimiter character used to serialize a list into preferences.</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>static <T> <a href="http://download.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemDescriptor.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension">IItemDescriptor</a><T>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/impl/ItemUtil.html#getActiveItems(org.eclipse.emf.compare.rcp.internal.extension.IItemRegistry,%20java.lang.String)">getActiveItems</a></strong>(<a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemRegistry.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension">IItemRegistry</a><T> registry, |
| <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> disabledItemPreferenceKey)</code> |
| <div class="block">Get all active item from a registry.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static org.osgi.service.prefs.Preferences</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/impl/ItemUtil.html#getConfigurationPreferenceNode(java.lang.String,%20java.lang.String)">getConfigurationPreferenceNode</a></strong>(<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> type, |
| <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> itemId)</code> |
| <div class="block">Return the node holding the configuration for an item.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <T> <a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemDescriptor.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension">IItemDescriptor</a><T></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/impl/ItemUtil.html#getDefaultItemDescriptor(org.eclipse.emf.compare.rcp.internal.extension.IItemRegistry,%20java.lang.String,%20org.eclipse.core.runtime.preferences.IEclipsePreferences)">getDefaultItemDescriptor</a></strong>(<a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemRegistry.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension">IItemRegistry</a><T> registry, |
| <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> preferenceKey, |
| <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/preferences/IEclipsePreferences.html?is-external=true" title="class or interface in org.eclipse.core.runtime.preferences">IEclipsePreferences</a> itemPreferences)</code> |
| <div class="block">Get an item descriptor using the preferences.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <T> T</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/impl/ItemUtil.html#getItem(org.eclipse.emf.compare.rcp.internal.extension.IItemRegistry,%20java.lang.String,%20org.eclipse.core.runtime.preferences.IEclipsePreferences)">getItem</a></strong>(<a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemRegistry.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension">IItemRegistry</a><T> registry, |
| <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> preferenceKey, |
| <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/preferences/IEclipsePreferences.html?is-external=true" title="class or interface in org.eclipse.core.runtime.preferences">IEclipsePreferences</a> itemPreferences)</code> |
| <div class="block">Get an item using the preferences.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <T> <a href="http://download.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemDescriptor.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension">IItemDescriptor</a><T>></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/impl/ItemUtil.html#getItemsDescriptor(org.eclipse.emf.compare.rcp.internal.extension.IItemRegistry,%20java.lang.String,%20org.osgi.service.prefs.Preferences)">getItemsDescriptor</a></strong>(<a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemRegistry.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension">IItemRegistry</a><T> registry, |
| <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> preferenceKey, |
| org.osgi.service.prefs.Preferences itemPreferences)</code> |
| <div class="block">Get a list of <a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemDescriptor.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension"><code>IItemDescriptor</code></a> from preferences.</div> |
| </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="PREFERENCE_DELIMITER"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>PREFERENCE_DELIMITER</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> PREFERENCE_DELIMITER</pre> |
| <div class="block">Delimiter character used to serialize a list into preferences.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../../../constant-values.html#org.eclipse.emf.compare.rcp.internal.extension.impl.ItemUtil.PREFERENCE_DELIMITER">Constant Field Values</a></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="getItem(org.eclipse.emf.compare.rcp.internal.extension.IItemRegistry, java.lang.String, org.eclipse.core.runtime.preferences.IEclipsePreferences)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getItem</h4> |
| <pre>public static <T> T getItem(<a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemRegistry.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension">IItemRegistry</a><T> registry, |
| <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> preferenceKey, |
| <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/preferences/IEclipsePreferences.html?is-external=true" title="class or interface in org.eclipse.core.runtime.preferences">IEclipsePreferences</a> itemPreferences)</pre> |
| <div class="block">Get an item using the preferences. If nothing has been set in the preferences then the highest ranking |
| item is returned</div> |
| <dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - Type of item</dd><dt><span class="strong">Parameters:</span></dt><dd><code>registry</code> - The item registry</dd><dd><code>preferenceKey</code> - The preference to retrieve the key.</dd><dd><code>itemPreferences</code> - Eclipse preference where are stored the items to use</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>an item or null if nothing has been found.</dd></dl> |
| </li> |
| </ul> |
| <a name="getDefaultItemDescriptor(org.eclipse.emf.compare.rcp.internal.extension.IItemRegistry, java.lang.String, org.eclipse.core.runtime.preferences.IEclipsePreferences)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDefaultItemDescriptor</h4> |
| <pre>public static <T> <a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemDescriptor.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension">IItemDescriptor</a><T> getDefaultItemDescriptor(<a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemRegistry.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension">IItemRegistry</a><T> registry, |
| <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> preferenceKey, |
| <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/preferences/IEclipsePreferences.html?is-external=true" title="class or interface in org.eclipse.core.runtime.preferences">IEclipsePreferences</a> itemPreferences)</pre> |
| <div class="block">Get an item descriptor using the preferences. If nothing has been set in the preferences then the |
| highest ranking item is returned</div> |
| <dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - Type of item</dd><dt><span class="strong">Parameters:</span></dt><dd><code>registry</code> - <a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemRegistry.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension"><code>IItemRegistry</code></a> of the item type</dd><dd><code>preferenceKey</code> - Preference key use to retrieve the item</dd><dd><code>itemPreferences</code> - <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/preferences/IEclipsePreferences.html?is-external=true" title="class or interface in org.eclipse.core.runtime.preferences"><code>IEclipsePreferences</code></a> where are stored the item preferences.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemDescriptor.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension"><code>IItemDescriptor</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getItemsDescriptor(org.eclipse.emf.compare.rcp.internal.extension.IItemRegistry, java.lang.String, org.osgi.service.prefs.Preferences)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getItemsDescriptor</h4> |
| <pre>public static <T> <a href="http://download.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemDescriptor.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension">IItemDescriptor</a><T>> getItemsDescriptor(<a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemRegistry.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension">IItemRegistry</a><T> registry, |
| <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> preferenceKey, |
| org.osgi.service.prefs.Preferences itemPreferences)</pre> |
| <div class="block">Get a list of <a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemDescriptor.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension"><code>IItemDescriptor</code></a> from preferences.</div> |
| <dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - Type of <a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemDescriptor.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension"><code>IItemDescriptor</code></a></dd><dt><span class="strong">Parameters:</span></dt><dd><code>registry</code> - Registry for the <a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemDescriptor.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension"><code>IItemDescriptor</code></a></dd><dd><code>preferenceKey</code> - Key for this <a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemDescriptor.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension"><code>IItemDescriptor</code></a> in preferences</dd><dd><code>itemPreferences</code> - <code>Preferences</code> where are stored <a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemDescriptor.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension"><code>IItemDescriptor</code></a> values</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>List of <a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemDescriptor.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension"><code>IItemDescriptor</code></a> or null if nothing in preferences</dd></dl> |
| </li> |
| </ul> |
| <a name="getConfigurationPreferenceNode(java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConfigurationPreferenceNode</h4> |
| <pre>public static org.osgi.service.prefs.Preferences getConfigurationPreferenceNode(<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> type, |
| <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> itemId)</pre> |
| <div class="block">Return the node holding the configuration for an item.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - Type of item.</dd><dd><code>itemId</code> - Id of the item we want to retrieve the configuration for.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>The <code>Preferences</code> holding the configuration.</dd></dl> |
| </li> |
| </ul> |
| <a name="getActiveItems(org.eclipse.emf.compare.rcp.internal.extension.IItemRegistry, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getActiveItems</h4> |
| <pre>public static <T> <a href="http://download.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemDescriptor.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension">IItemDescriptor</a><T>> getActiveItems(<a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/IItemRegistry.html" title="interface in org.eclipse.emf.compare.rcp.internal.extension">IItemRegistry</a><T> registry, |
| <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> disabledItemPreferenceKey)</pre> |
| <div class="block">Get all active item from a registry. |
| <p> |
| (Filter out all disable element stored in preferences) |
| </p></div> |
| <dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - Item type</dd><dt><span class="strong">Parameters:</span></dt><dd><code>registry</code> - Registry holding all items of this kind</dd><dd><code>disabledItemPreferenceKey</code> - Preference key where are stored disabled items.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd><a href="http://download.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code></a> of active items</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/ItemUtil.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/internal/extension/impl/ItemRegistry.html" title="class in org.eclipse.emf.compare.rcp.internal.extension.impl"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../../../../org/eclipse/emf/compare/rcp/internal/extension/impl/LazyItemDescriptor.html" title="class in org.eclipse.emf.compare.rcp.internal.extension.impl"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../../../index.html?org/eclipse/emf/compare/rcp/internal/extension/impl/ItemUtil.html" target="_top">Frames</a></li> |
| <li><a href="ItemUtil.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>Constr | </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>Constr | </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> |