Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2007-01-11 16:55:54 +0000
committerMichael Valenta2007-01-11 16:55:54 +0000
commit8025cb7c6c5136b2898327471d2a10bc3fd9d2a5 (patch)
treec82fb4e7cbc0a389443814e8afbccc0440af56f9
parent55dca0cb5358bc0d2c6a3f91d40a1b081703ad69 (diff)
downloadeclipse.platform.team-8025cb7c6c5136b2898327471d2a10bc3fd9d2a5.tar.gz
eclipse.platform.team-8025cb7c6c5136b2898327471d2a10bc3fd9d2a5.tar.xz
eclipse.platform.team-8025cb7c6c5136b2898327471d2a10bc3fd9d2a5.zip
Bug 170227 constructor of StructureRootNode is missing Javadoc
-rw-r--r--bundles/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/StructureRootNode.java8
-rw-r--r--bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/StructureRootNode.java8
2 files changed, 16 insertions, 0 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/StructureRootNode.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/StructureRootNode.java
index 11ecbce70..41553beff 100644
--- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/StructureRootNode.java
+++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/StructureRootNode.java
@@ -52,6 +52,14 @@ public class StructureRootNode extends DocumentRangeNode implements IDisposable,
private final StructureCreator fCreator;
private ISharedDocumentAdapter fAdapter;
+ /**
+ * Create the structure root node.
+ * @param document the document
+ * @param input the input associated with the document
+ * @param creator the structure creator that is creating the node
+ * @param adapter the shared document adapter from which the document was obtained or <code>null</code>
+ * if the document was not obtained from an {@link ISharedDocumentAdapter}
+ */
public StructureRootNode(IDocument document, Object input, StructureCreator creator, ISharedDocumentAdapter adapter) {
super(null, ROOT_TYPE, ROOT_ID, document, 0, document.getLength());
fInput = input;
diff --git a/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/StructureRootNode.java b/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/StructureRootNode.java
index 11ecbce70..41553beff 100644
--- a/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/StructureRootNode.java
+++ b/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/StructureRootNode.java
@@ -52,6 +52,14 @@ public class StructureRootNode extends DocumentRangeNode implements IDisposable,
private final StructureCreator fCreator;
private ISharedDocumentAdapter fAdapter;
+ /**
+ * Create the structure root node.
+ * @param document the document
+ * @param input the input associated with the document
+ * @param creator the structure creator that is creating the node
+ * @param adapter the shared document adapter from which the document was obtained or <code>null</code>
+ * if the document was not obtained from an {@link ISharedDocumentAdapter}
+ */
public StructureRootNode(IDocument document, Object input, StructureCreator creator, ISharedDocumentAdapter adapter) {
super(null, ROOT_TYPE, ROOT_ID, document, 0, document.getLength());
fInput = input;

Back to the top