blob: 61ebc425afd9922662d5db343807f11edf0dcc05 [file] [log] [blame]
<!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 May 18 03:56:36 EDT 2015 -->
<title>AbstractRegistryEventListener (EMF Compare API Specification)</title>
<meta name="date" content="2015-05-18">
<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="AbstractRegistryEventListener (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/AbstractRegistryEventListener.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.201505180755</span></em></div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.Action.html" title="enum in org.eclipse.emf.compare.rcp.extension"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.html" target="_top">Frames</a></li>
<li><a href="AbstractRegistryEventListener.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:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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.extension</div>
<h2 title="Class AbstractRegistryEventListener" class="title">Class AbstractRegistryEventListener</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.extension.AbstractRegistryEventListener</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://download.oracle.com/javase/8/docs/api/java/util/EventListener.html?is-external=true" title="class or interface in java.util">EventListener</a>, <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IRegistryEventListener.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IRegistryEventListener</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../../org/eclipse/emf/compare/rcp/ui/internal/contentmergeviewer/accessor/factory/impl/AccessorFactoryExtensionRegistryListener.html" title="class in org.eclipse.emf.compare.rcp.ui.internal.contentmergeviewer.accessor.factory.impl">AccessorFactoryExtensionRegistryListener</a>, <a href="../../../../../../org/eclipse/emf/compare/rcp/ui/internal/configuration/ui/ConfigurationUIRegistryEventListener.html" title="class in org.eclipse.emf.compare.rcp.ui.internal.configuration.ui">ConfigurationUIRegistryEventListener</a>, <a href="../../../../../../org/eclipse/emf/compare/rcp/internal/extension/impl/DescriptorRegistryEventListener.html" title="class in org.eclipse.emf.compare.rcp.internal.extension.impl">DescriptorRegistryEventListener</a>, <a href="../../../../../../org/eclipse/emf/compare/rcp/ui/internal/structuremergeviewer/filters/impl/DifferenceFilterExtensionRegistryListener.html" title="class in org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.filters.impl">DifferenceFilterExtensionRegistryListener</a>, <a href="../../../../../../org/eclipse/emf/compare/rcp/ui/internal/structuremergeviewer/groups/extender/DifferenceGroupExtenderRegistryListener.html" title="class in org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.groups.extender">DifferenceGroupExtenderRegistryListener</a>, <a href="../../../../../../org/eclipse/emf/compare/rcp/ui/internal/structuremergeviewer/groups/impl/DifferenceGroupProviderExtensionRegistryListener.html" title="class in org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.groups.impl">DifferenceGroupProviderExtensionRegistryListener</a>, <a href="../../../../../../org/eclipse/emf/compare/rcp/internal/policy/LoadOnDemandPolicyRegistryListener.html" title="class in org.eclipse.emf.compare.rcp.internal.policy">LoadOnDemandPolicyRegistryListener</a>, <a href="../../../../../../org/eclipse/emf/compare/ide/ui/internal/logical/view/registry/LogicalModelViewHandlerRegistryListener.html" title="class in org.eclipse.emf.compare.ide.ui.internal.logical.view.registry">LogicalModelViewHandlerRegistryListener</a>, <a href="../../../../../../org/eclipse/emf/compare/rcp/internal/match/MatchEngineFactoryRegistryListener.html" title="class in org.eclipse.emf.compare.rcp.internal.match">MatchEngineFactoryRegistryListener</a>, <a href="../../../../../../org/eclipse/emf/compare/rcp/internal/merger/MergerExtensionRegistryListener.html" title="class in org.eclipse.emf.compare.rcp.internal.merger">MergerExtensionRegistryListener</a>, <a href="../../../../../../org/eclipse/emf/compare/ide/ui/dependency/ModelDependencyProviderRegistryListener.html" title="class in org.eclipse.emf.compare.ide.ui.dependency">ModelDependencyProviderRegistryListener</a>, <a href="../../../../../../org/eclipse/emf/compare/ide/ui/internal/logical/resolver/registry/ModelResolverRegistryListener.html" title="class in org.eclipse.emf.compare.ide.ui.internal.logical.resolver.registry">ModelResolverRegistryListener</a>, <a href="../../../../../../org/eclipse/emf/compare/rcp/internal/postprocessor/PostProcessorFactoryRegistryListener.html" title="class in org.eclipse.emf.compare.rcp.internal.postprocessor">PostProcessorFactoryRegistryListener</a>, <a href="../../../../../../org/eclipse/emf/compare/ide/internal/hook/ResourceSetHookRegistryListener.html" title="class in org.eclipse.emf.compare.ide.internal.hook">ResourceSetHookRegistryListener</a>, <a href="../../../../../../org/eclipse/emf/compare/rcp/internal/match/WeightProviderDescriptorRegistryListener.html" title="class in org.eclipse.emf.compare.rcp.internal.match">WeightProviderDescriptorRegistryListener</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="strong">AbstractRegistryEventListener</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 <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IRegistryEventListener.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IRegistryEventListener</a></pre>
<div class="block">Abstract utility class to listen to the <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IExtensionRegistry.html?is-external=true" title="class or interface in org.eclipse.core.runtime"><code>IExtensionRegistry</code></a>. It provides base implementation to
<a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.html#added(org.eclipse.core.runtime.IExtension[])"><code>added(IExtension[])</code></a> and <a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.html#removed(org.eclipse.core.runtime.IExtension[])"><code>removed(IExtension[])</code></a>. Users must implement
<a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.html#readElement(org.eclipse.core.runtime.IConfigurationElement,%20org.eclipse.emf.compare.rcp.extension.AbstractRegistryEventListener.Action)"><code>readElement(IConfigurationElement, Action)</code></a> according to their extension schema.
<p>
The helper method <code>#readRegistry()</code> is browsing already registered extension to the extension
registry making it easy to read the registry after having added the listener to it.
<p>
<code>#readRegistry()</code> is delegating to <a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.html#readElement(org.eclipse.core.runtime.IConfigurationElement,%20org.eclipse.emf.compare.rcp.extension.AbstractRegistryEventListener.Action)"><code>readElement(IConfigurationElement, Action)</code></a>.</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>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.Action.html" title="enum in org.eclipse.emf.compare.rcp.extension">AbstractRegistryEventListener.Action</a></strong></code>
<div class="block">Enumeration that says if the <a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime"><code>IConfigurationElement</code></a> is to be added or removed from the
<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IExtensionRegistry.html?is-external=true" title="class or interface in org.eclipse.core.runtime"><code>IExtensionRegistry</code></a>.</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">&nbsp;</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/extension/AbstractRegistryEventListener.html#AbstractRegistryEventListener(java.lang.String,%20java.lang.String,%20org.eclipse.core.runtime.ILog)">AbstractRegistryEventListener</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>&nbsp;namespace,
<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>&nbsp;extensionPointID,
<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/ILog.html?is-external=true" title="class or interface in org.eclipse.core.runtime">ILog</a>&nbsp;log)</code>
<div class="block">Creates a new registry event listener.</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">&nbsp;</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/extension/AbstractRegistryEventListener.html#added(org.eclipse.core.runtime.IExtension[])">added</a></strong>(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IExtension.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IExtension</a>[]&nbsp;extensions)</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.html#added(org.eclipse.core.runtime.IExtensionPoint[])">added</a></strong>(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IExtensionPoint.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IExtensionPoint</a>[]&nbsp;extensionPoints)</code></td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected abstract boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.html#addedValid(org.eclipse.core.runtime.IConfigurationElement)">addedValid</a></strong>(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IConfigurationElement</a>&nbsp;element)</code>
<div class="block">Process the given element as the addition of a valid element extension.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.html#log(org.eclipse.core.runtime.IConfigurationElement,%20java.lang.String,%20java.lang.Throwable)">log</a></strong>(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IConfigurationElement</a>&nbsp;element,
<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>&nbsp;errorMessage,
<a href="http://download.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</code>
<div class="block">Logs the given error with a human-readable error message.</div>
</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/extension/AbstractRegistryEventListener.html#log(org.eclipse.core.runtime.IConfigurationElement,%20java.lang.Throwable)">log</a></strong>(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IConfigurationElement</a>&nbsp;element,
<a href="http://download.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)</code>
<div class="block">Log the error to the current plugin logger.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.html#log(int,%20org.eclipse.core.runtime.IConfigurationElement,%20java.lang.String)">log</a></strong>(int&nbsp;severity,
<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IConfigurationElement</a>&nbsp;element,
<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>&nbsp;message)</code>
<div class="block">Log the error to the current plugin logger.</div>
</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/extension/AbstractRegistryEventListener.html#logMissingAttribute(org.eclipse.core.runtime.IConfigurationElement,%20java.lang.String)">logMissingAttribute</a></strong>(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IConfigurationElement</a>&nbsp;element,
<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>&nbsp;attributeName)</code>
<div class="block">Delegates the logging of a missing attribute to <code>#log(IConfigurationElement, String)</code> with a
proper message.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.html#readElement(org.eclipse.core.runtime.IConfigurationElement,%20org.eclipse.emf.compare.rcp.extension.AbstractRegistryEventListener.Action)">readElement</a></strong>(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IConfigurationElement</a>&nbsp;element,
<a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.Action.html" title="enum in org.eclipse.emf.compare.rcp.extension">AbstractRegistryEventListener.Action</a>&nbsp;action)</code>
<div class="block">Reads the given <code>element</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.html#readRegistry(org.eclipse.core.runtime.IExtensionRegistry)">readRegistry</a></strong>(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IExtensionRegistry.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IExtensionRegistry</a>&nbsp;extensionRegistry)</code>
<div class="block">Reads the given registry and call <a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.html#readElement(org.eclipse.core.runtime.IConfigurationElement,%20org.eclipse.emf.compare.rcp.extension.AbstractRegistryEventListener.Action)"><code>readElement(IConfigurationElement, Action)</code></a> as the read
<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime"><code>IConfigurationElement</code></a> were just added to it.</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/extension/AbstractRegistryEventListener.html#removed(org.eclipse.core.runtime.IExtension[])">removed</a></strong>(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IExtension.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IExtension</a>[]&nbsp;extensions)</code></td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.html#removed(org.eclipse.core.runtime.IExtensionPoint[])">removed</a></strong>(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IExtensionPoint.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IExtensionPoint</a>[]&nbsp;extensionPoints)</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected abstract boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.html#removedValid(org.eclipse.core.runtime.IConfigurationElement)">removedValid</a></strong>(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IConfigurationElement</a>&nbsp;element)</code>
<div class="block">Process the given element as the removal of a valid element extension.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected abstract boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.html#validateExtensionElement(org.eclipse.core.runtime.IConfigurationElement)">validateExtensionElement</a></strong>(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IConfigurationElement</a>&nbsp;element)</code>
<div class="block">Validates if the given element is an element for the given extension and is well constructed.</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&nbsp;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">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractRegistryEventListener(java.lang.String, java.lang.String, org.eclipse.core.runtime.ILog)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractRegistryEventListener</h4>
<pre>public&nbsp;AbstractRegistryEventListener(<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>&nbsp;namespace,
<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>&nbsp;extensionPointID,
<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/ILog.html?is-external=true" title="class or interface in org.eclipse.core.runtime">ILog</a>&nbsp;log)</pre>
<div class="block">Creates a new registry event listener.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>namespace</code> - The namespace of the extension point to be monitored.</dd><dd><code>extensionPointID</code> - The extension point ID to be monitored</dd><dd><code>log</code> - The log object to be used to log error and/or warning.</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="readRegistry(org.eclipse.core.runtime.IExtensionRegistry)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readRegistry</h4>
<pre>public&nbsp;void&nbsp;readRegistry(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IExtensionRegistry.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IExtensionRegistry</a>&nbsp;extensionRegistry)</pre>
<div class="block">Reads the given registry and call <a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.html#readElement(org.eclipse.core.runtime.IConfigurationElement,%20org.eclipse.emf.compare.rcp.extension.AbstractRegistryEventListener.Action)"><code>readElement(IConfigurationElement, Action)</code></a> as the read
<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime"><code>IConfigurationElement</code></a> were just added to it.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>extensionRegistry</code> - the registry to read.</dd></dl>
</li>
</ul>
<a name="readElement(org.eclipse.core.runtime.IConfigurationElement, org.eclipse.emf.compare.rcp.extension.AbstractRegistryEventListener.Action)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readElement</h4>
<pre>protected&nbsp;boolean&nbsp;readElement(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IConfigurationElement</a>&nbsp;element,
<a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.Action.html" title="enum in org.eclipse.emf.compare.rcp.extension">AbstractRegistryEventListener.Action</a>&nbsp;action)</pre>
<div class="block">Reads the given <code>element</code>. This method can be call when the element is added or remove. The
<code>action</code> reflect it. It returns true if the element is recognized as valid regarding the
monitored extension point. It will be call on sub elements recursively for all recognized ones.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>element</code> - the element to be read.</dd><dd><code>action</code> - is the element added or removed.</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the element is recognized as valid regarding the monitored extension point.</dd></dl>
</li>
</ul>
<a name="validateExtensionElement(org.eclipse.core.runtime.IConfigurationElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validateExtensionElement</h4>
<pre>protected abstract&nbsp;boolean&nbsp;validateExtensionElement(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IConfigurationElement</a>&nbsp;element)</pre>
<div class="block">Validates if the given element is an element for the given extension and is well constructed. Returns
true if the element should be further parsed for addition or removal.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>element</code> - the element to validate.</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the element should be further parsed for addition or removal, else otherwise.</dd></dl>
</li>
</ul>
<a name="addedValid(org.eclipse.core.runtime.IConfigurationElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addedValid</h4>
<pre>protected abstract&nbsp;boolean&nbsp;addedValid(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IConfigurationElement</a>&nbsp;element)</pre>
<div class="block">Process the given element as the addition of a valid element extension.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>element</code> - the element to be added.</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the given element has been added and if its children should be processed, false
otherwise.</dd></dl>
</li>
</ul>
<a name="removedValid(org.eclipse.core.runtime.IConfigurationElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removedValid</h4>
<pre>protected abstract&nbsp;boolean&nbsp;removedValid(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IConfigurationElement</a>&nbsp;element)</pre>
<div class="block">Process the given element as the removal of a valid element extension.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>element</code> - the element to be removed.</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the given element has been removed and if its children should be processed, false
otherwise.</dd></dl>
</li>
</ul>
<a name="logMissingAttribute(org.eclipse.core.runtime.IConfigurationElement, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logMissingAttribute</h4>
<pre>protected&nbsp;void&nbsp;logMissingAttribute(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IConfigurationElement</a>&nbsp;element,
<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>&nbsp;attributeName)</pre>
<div class="block">Delegates the logging of a missing attribute to <code>#log(IConfigurationElement, String)</code> with a
proper message.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>element</code> - the element to which an attribute is missing.</dd><dd><code>attributeName</code> - the name of the missing attribute.</dd></dl>
</li>
</ul>
<a name="log(int, org.eclipse.core.runtime.IConfigurationElement, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>log</h4>
<pre>protected&nbsp;void&nbsp;log(int&nbsp;severity,
<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IConfigurationElement</a>&nbsp;element,
<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>&nbsp;message)</pre>
<div class="block">Log the error to the current plugin logger.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>severity</code> - Severity of this message. One of <code>IStatus.OK</code>, <code>IStatus.ERROR</code>,
<code>IStatus.INFO</code>, <code>IStatus.WARNING</code>, or <code>IStatus.CANCEL</code></dd><dd><code>element</code> - the element from which comes to the error.</dd><dd><code>message</code> - the message to be logged.</dd></dl>
</li>
</ul>
<a name="log(org.eclipse.core.runtime.IConfigurationElement, java.lang.Throwable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>log</h4>
<pre>protected&nbsp;void&nbsp;log(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IConfigurationElement</a>&nbsp;element,
<a href="http://download.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;t)</pre>
<div class="block">Log the error to the current plugin logger.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>element</code> - the element from which comes to the error.</dd><dd><code>t</code> - the exception to be logged.</dd></dl>
</li>
</ul>
<a name="log(org.eclipse.core.runtime.IConfigurationElement, java.lang.String, java.lang.Throwable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>log</h4>
<pre>protected&nbsp;void&nbsp;log(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IConfigurationElement.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IConfigurationElement</a>&nbsp;element,
<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>&nbsp;errorMessage,
<a href="http://download.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</pre>
<div class="block">Logs the given error with a human-readable error message.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>element</code> - The element from which originates the error.</dd><dd><code>errorMessage</code> - Human-readable cause of this exception.</dd><dd><code>cause</code> - Actual exception that is to be logged.</dd><dt><span class="strong">Since:</span></dt>
<dd>2.2</dd></dl>
</li>
</ul>
<a name="added(org.eclipse.core.runtime.IExtension[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>added</h4>
<pre>public&nbsp;void&nbsp;added(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IExtension.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IExtension</a>[]&nbsp;extensions)</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IRegistryEventListener.html?is-external=true#added(org.eclipse.core.runtime.IExtension[])" title="class or interface in org.eclipse.core.runtime">added</a></code>&nbsp;in interface&nbsp;<code><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IRegistryEventListener.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IRegistryEventListener</a></code></dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IRegistryEventListener.html?is-external=true#added(org.eclipse.core.runtime.IExtension[])" title="class or interface in org.eclipse.core.runtime"><code>IRegistryEventListener.added(org.eclipse.core.runtime.IExtension[])</code></a></dd></dl>
</li>
</ul>
<a name="removed(org.eclipse.core.runtime.IExtension[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removed</h4>
<pre>public&nbsp;void&nbsp;removed(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IExtension.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IExtension</a>[]&nbsp;extensions)</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IRegistryEventListener.html?is-external=true#removed(org.eclipse.core.runtime.IExtension[])" title="class or interface in org.eclipse.core.runtime">removed</a></code>&nbsp;in interface&nbsp;<code><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IRegistryEventListener.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IRegistryEventListener</a></code></dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IRegistryEventListener.html?is-external=true#removed(org.eclipse.core.runtime.IExtension[])" title="class or interface in org.eclipse.core.runtime"><code>IRegistryEventListener.removed(org.eclipse.core.runtime.IExtension[])</code></a></dd></dl>
</li>
</ul>
<a name="added(org.eclipse.core.runtime.IExtensionPoint[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>added</h4>
<pre>public&nbsp;void&nbsp;added(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IExtensionPoint.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IExtensionPoint</a>[]&nbsp;extensionPoints)</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IRegistryEventListener.html?is-external=true#added(org.eclipse.core.runtime.IExtensionPoint[])" title="class or interface in org.eclipse.core.runtime">added</a></code>&nbsp;in interface&nbsp;<code><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IRegistryEventListener.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IRegistryEventListener</a></code></dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IRegistryEventListener.html?is-external=true#added(org.eclipse.core.runtime.IExtensionPoint[])" title="class or interface in org.eclipse.core.runtime"><code>IRegistryEventListener.added(org.eclipse.core.runtime.IExtensionPoint[])</code></a></dd></dl>
</li>
</ul>
<a name="removed(org.eclipse.core.runtime.IExtensionPoint[])">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>removed</h4>
<pre>public&nbsp;void&nbsp;removed(<a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IExtensionPoint.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IExtensionPoint</a>[]&nbsp;extensionPoints)</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IRegistryEventListener.html?is-external=true#removed(org.eclipse.core.runtime.IExtensionPoint[])" title="class or interface in org.eclipse.core.runtime">removed</a></code>&nbsp;in interface&nbsp;<code><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IRegistryEventListener.html?is-external=true" title="class or interface in org.eclipse.core.runtime">IRegistryEventListener</a></code></dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/IRegistryEventListener.html?is-external=true#removed(org.eclipse.core.runtime.IExtensionPoint[])" title="class or interface in org.eclipse.core.runtime"><code>IRegistryEventListener.removed(org.eclipse.core.runtime.IExtensionPoint[])</code></a></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/AbstractRegistryEventListener.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.201505180755</span></em></div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../../../../org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.Action.html" title="enum in org.eclipse.emf.compare.rcp.extension"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/eclipse/emf/compare/rcp/extension/AbstractRegistryEventListener.html" target="_top">Frames</a></li>
<li><a href="AbstractRegistryEventListener.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:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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>