Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/dsf
diff options
context:
space:
mode:
authorMarc Khouzam2014-08-07 15:39:22 +0000
committerMarc Khouzam2014-08-07 15:39:22 +0000
commit3deafff15b90340eaff0d9ea2524081ebec62898 (patch)
tree203bc25f72b76d81fcb326244c39fe25ed943da8 /dsf
parent041a00ea2802a4bb0392c2c672f53ad27ece8d96 (diff)
downloadorg.eclipse.cdt-3deafff15b90340eaff0d9ea2524081ebec62898.tar.gz
org.eclipse.cdt-3deafff15b90340eaff0d9ea2524081ebec62898.tar.xz
org.eclipse.cdt-3deafff15b90340eaff0d9ea2524081ebec62898.zip
Clarification of javadoc
Diffstat (limited to 'dsf')
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/update/ElementFormatEvent.java29
1 files changed, 15 insertions, 14 deletions
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/update/ElementFormatEvent.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/update/ElementFormatEvent.java
index 6a4ccb4e4aa..62d9186000b 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/update/ElementFormatEvent.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/update/ElementFormatEvent.java
@@ -13,9 +13,9 @@ package org.eclipse.cdt.dsf.debug.ui.viewmodel.update;
import java.util.Set;
/**
- * An event that indicates element format is changed. Even when a viewer is
- * configured to be in a manual update mode, there is a need to update of the
- * labels/states of the element.
+ * An event that indicates the format of certain elements has changed.
+ * Even when a viewer is configured to be in a manual update mode, there is a need to
+ * update the labels/states of elements.
*
* @since 2.2
*/
@@ -25,21 +25,22 @@ public class ElementFormatEvent {
/**
* Constructor
- * @param elements the elements that have their formats changed
- * @param applyDepth how deep each of the elements apply to itself and their child elements.
- * -1 - recursively apply child elements to an infinite depth;
- * 0 - does not apply to the element itself and its child elements;
- * 1 - apply to the element itself only;
+ * @param elems The set of elements that have their formats changed
+ * @param depth The depth to which the change of format applies, with respect to the
+ * affected elements and their children:
+ * -1 - recursively applies to the element and its children to an infinite depth;
+ * 0 - does not apply to the element itself or its children elements;
+ * 1 - applies to the element itself only;
* 2 - apply to the element, its direct children and grand-children;
* and so on for other positive numbers.
*/
- public ElementFormatEvent(Set<Object> elements, int applyDepth) {
- this.elements = elements;
- this.applyDepth = applyDepth;
+ public ElementFormatEvent(Set<Object> elems, int depth) {
+ elements = elems;
+ applyDepth = depth;
}
/**
- * Get the elements that has formats changed.
+ * Get the elements for which the format has changed.
*
* @return the elements
*/
@@ -48,8 +49,8 @@ public class ElementFormatEvent {
}
/**
- * Get the depth that how each of the elements apply to itself and their
- * child elements.
+ * Get the depth to which the change of format applies, with respect to the
+ * affected elements and their children.
*
* @return the apply depth.
*/

Back to the top