diff options
author | John Cortell | 2009-10-06 01:32:19 +0000 |
---|---|---|
committer | John Cortell | 2009-10-06 01:32:19 +0000 |
commit | 8aa547ee60a0a3deb24edfed1668ca9e0cb7cdcd (patch) | |
tree | 7645903919a4055ff9379c0b4aa929c56bd6b8e3 /dsf/org.eclipse.cdt.dsf.ui | |
parent | aefccd70020fcd10a3bdb5464f9d71729d39f29c (diff) | |
download | org.eclipse.cdt-8aa547ee60a0a3deb24edfed1668ca9e0cb7cdcd.tar.gz org.eclipse.cdt-8aa547ee60a0a3deb24edfed1668ca9e0cb7cdcd.tar.xz org.eclipse.cdt-8aa547ee60a0a3deb24edfed1668ca9e0cb7cdcd.zip |
Further clarification (javadoc)
Diffstat (limited to 'dsf/org.eclipse.cdt.dsf.ui')
-rw-r--r-- | dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/IRootVMNode.java | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/IRootVMNode.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/IRootVMNode.java index daf14be3ed7..581cfea7d90 100644 --- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/IRootVMNode.java +++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/IRootVMNode.java @@ -36,25 +36,27 @@ public interface IRootVMNode extends IVMNode{ public boolean isDeltaEvent(Object rootObject, Object event); /** - * The VM proxy calls this to produce the starting point for a delta. It is - * a variant of + * The VM proxy calls this to produce the starting point for a delta, which + * can be a single delta node or a chain of them. It is a variant of * {@link IVMNode#buildDelta(Object, ViewModelDelta, org.eclipse.cdt.dsf.concurrent.RequestMonitor)} * that does not require a parent delta object since we will return the root - * portion of the delta's tree. That does not necessarily mean, though, that - * the root model element in our associated viewer is of our type (IVMNode). - * A VMProvider may be representing only a lower subset of the content in - * the viewer (the other content may be coming from other VM Providers - * and/or sources outside DSF altogether). In that case, this method should - * return a chain of delta nodes that reflect the path to the VMProvider's - * root element, since deltas sent to the viewer must take into account the - * entire model. + * section of the final delta's tree. The root model element in our + * associated viewer is not necessarily of our type (IVMNode). A VMProvider + * may be representing only a lower sub-tree of the content in the viewer + * (the other content may be coming from other VM Providers and/or sources + * outside DSF altogether). In that case, this method should create a chain + * of delta nodes that reflect the path to the VMProvider's root element, + * since deltas sent to the viewer must take into account the entire model. + * However, the specific delta node returned should be the one associated + * with [rootObject]--i.e., the last node in the chain. * * @param rootObject * the root model element being represented by our VMProvider * @param event * event being processed * @param rm - * result notification, contains the root of the delta. + * result notification, contains the delta for [rootObject], with + * parents if [rootObject] is not the root node of the viewer. */ public void createRootDelta(Object rootObject, Object event, DataRequestMonitor<VMDelta> rm); } |