1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
Marc Khouzam 2015-03-17 14:04:14 -04:00
parent dcc9de7b0e
commit ab0fee1cf0

View file

@ -855,7 +855,7 @@ public class DefaultVMModelProxyStrategy implements IVMModelProxy {
} }
/** /**
* Returns whether DefaultVMModelProxyStrategy allows to handles recursive VMNdoes hierarchy. * Returns whether DefaultVMModelProxyStrategy allows to handle recursive VMNodes hierarchy.
* *
* @see setAllowRecursiveVMNodes() * @see setAllowRecursiveVMNodes()
* @return true if this DefaultVMModelProxyStrategy allows recursive containers. * @return true if this DefaultVMModelProxyStrategy allows recursive containers.
@ -865,7 +865,7 @@ public class DefaultVMModelProxyStrategy implements IVMModelProxy {
} }
/** /**
* Allow DefaultVMModelProxyStrategy to handles recursive VMNdoes hierarchy. * Allow DefaultVMModelProxyStrategy to handle recursive VMNodes hierarchy.
* *
* For example if the client wants the debug view to display container nodes that * For example if the client wants the debug view to display container nodes that
* have containers this flag has to be set. * have containers this flag has to be set.
@ -881,9 +881,9 @@ public class DefaultVMModelProxyStrategy implements IVMModelProxy {
* This will allow the client to setup a VMNode to be in the list of its children. * This will allow the client to setup a VMNode to be in the list of its children.
* addChildNodes(containerNode, new IVMNode[] { containerNode, threadsNode }); * addChildNodes(containerNode, new IVMNode[] { containerNode, threadsNode });
* *
* The client also need to make sure the recursive VMNodes and their immediate children: * The client also needs to make sure the recursive VMNodes and their immediate children:
* 1. Handles buildDelta() by building one level at a time by examining the delta passed as parameter. * 1. Handle buildDelta() by building one level at a time by examining the delta passed as parameter.
* 2. Returns the correct level container inside getContextsForEvent() based on the delta passed. * 2. Return the correct level container inside getContextsForEvent() based on the delta passed.
* *
* See org.eclipse.cdt.dsf.gdb.internal.ui.viewmodel.launch.ContainerVMNode for sample implementation. * See org.eclipse.cdt.dsf.gdb.internal.ui.viewmodel.launch.ContainerVMNode for sample implementation.
* *