blob: f05d233b56dd47163e5a09dbcadafb4d26d43d14 [file] [log] [blame]
<html><body><p><font size="+1"><strong>Package org.eclipse.wst.xsl.ui.internal.contentoutline</strong></font></p><hr><h2><font size="-1"><strong>org.eclipse.wst.xsl.ui.internal.contentoutline</strong></font><br>
Class JFaceNodeAdapterFactory</h2><br><hr><pre>public class <strong>JFaceNodeAdapterFactory</strong>
extends AbstractAdapterFactory</pre>An adapter factory to create JFaceNodeAdapters. Use this adapter factory
with a JFaceAdapterContentProvider to display DOM nodes in a tree.<hr><table width="100%" border="1"><tr cols="2" bgcolor="#CCCCFF"><td colspan="2" width="100%"><h2>Field Summary</h2></td></tr><tr valign="top"><td width="20%" align="right"><code>protected INodeAdapter</code></td><td width="80%" align="left"><code><a href="#field_singletonAdapter">singletonAdapter</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr></table><br><table width="100%" border="1"><tr bgcolor="#CCCCFF"><td width="100%"><h2>Constructor Summary</h2></td></tr><tr><td><code><strong><a href="#con_JFaceNodeAdapterFactory">JFaceNodeAdapterFactory</a></strong>()</code></td></tr><tr><td><code><strong><a href="#con_JFaceNodeAdapterFactory">JFaceNodeAdapterFactory</a></strong>(java.lang.Object adapterKey
,
boolean registerAdapters)</code></td></tr><tr><td><code><strong><a href="#con_JFaceNodeAdapterFactory.CMDocumentManagerListenerImpl">JFaceNodeAdapterFactory.CMDocumentManagerListenerImpl</a></strong>()</code></td></tr></table><br><table width="100%" border="1"><tr cols="2" bgcolor="#CCCCFF"><td colspan="2" width="100%"><h2>Method Summary</h2></td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_addListener">addListener</a>(java.lang.Object listener)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public INodeAdapterFactory</code></td><td width="" align="left"><code><a href="#method_copy">copy</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>protected INodeAdapter</code></td><td width="" align="left"><code><a href="#method_createAdapter">createAdapter</a>(INodeNotifier node)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Create a new JFace adapter for the DOM node passed in</td></tr><tr valign="top"><td width="20%" align="right"><code>public java.util.Collection</code></td><td width="" align="left"><code><a href="#method_getListeners">getListeners</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
returns "copy" so no one can modify our list. It is a shallow copy.</td></tr><tr valign="top"><td width="20%" align="right"><code>protected void</code></td><td width="" align="left"><code><a href="#method_initAdapter">initAdapter</a>(INodeAdapter adapter
,
INodeNotifier node)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_release">release</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_removeListener">removeListener</a>(java.lang.Object listener)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr></table><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Field Detail
</h2></td></tr></table><h2><a name="field_singletonAdapter">singletonAdapter</a></h2><p><code>protected INodeAdapter <strong>singletonAdapter</strong></code></p><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Constructor Detail
</h2></td></tr></table><h2><a name="con_JFaceNodeAdapterFactory">JFaceNodeAdapterFactory</a></h2><p><code>public <strong>JFaceNodeAdapterFactory</strong>()</code></p><p></p><hr><h2><a name="con_JFaceNodeAdapterFactory">JFaceNodeAdapterFactory</a></h2><p><code>public <strong>JFaceNodeAdapterFactory</strong>(java.lang.Object adapterKey
,
boolean registerAdapters)</code></p><p></p><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Methods Detail
</h2></td></tr></table><h2><a name="method_addListener">addListener</a></h2><p><code>public void <strong>addListener</strong>(java.lang.Object listener)</code></p><p></p><h3>Parameters</h3><p><code>listener</code></p><hr><h2><a name="method_copy">copy</a></h2><p><code>public INodeAdapterFactory <strong>copy</strong>()</code></p><p></p><h3>Returns</h3><p><code>INodeAdapterFactory</code></p><hr><h2><a name="method_createAdapter">createAdapter</a></h2><p><code>protected INodeAdapter <strong>createAdapter</strong>(INodeNotifier node)</code></p><p>Create a new JFace adapter for the DOM node passed in</p><h3>Parameters</h3><p><code>node</code></p><h3>Returns</h3><p><code>INodeAdapter</code></p><hr><h2><a name="method_getListeners">getListeners</a></h2><p><code>public java.util.Collection <strong>getListeners</strong>()</code></p><p>returns "copy" so no one can modify our list. It is a shallow copy.</p><h3>Returns</h3><p><code>java.util.Collection</code></p><hr><h2><a name="method_initAdapter">initAdapter</a></h2><p><code>protected void <strong>initAdapter</strong>(INodeAdapter adapter
,
INodeNotifier node)</code></p><p></p><h3>Parameters</h3><p><code>adapter</code></p><p><code>node</code></p><hr><h2><a name="method_release">release</a></h2><p><code>public void <strong>release</strong>()</code></p><p></p><hr><h2><a name="method_removeListener">removeListener</a></h2><p><code>public void <strong>removeListener</strong>(java.lang.Object listener)</code></p><p></p><h3>Parameters</h3><p><code>listener</code></p><hr></body></html>