Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/StructureRootNode.java')
-rw-r--r--bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/structuremergeviewer/StructureRootNode.java8
1 files changed, 8 insertions, 0 deletions
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