diff options
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/StepperAttributeUtil.java')
-rw-r--r-- | target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/StepperAttributeUtil.java | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/StepperAttributeUtil.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/StepperAttributeUtil.java index 798836236..0ef68d438 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/StepperAttributeUtil.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/StepperAttributeUtil.java @@ -147,8 +147,7 @@ public class StepperAttributeUtil { * @param fullQualifiedId The full qualified id for this step. * @param data The data. * @param value The new value. - * @param share When <code>true</code>, the value is also stored within the parent full - * qualified id to share the value with other steps within the same parent (group). + * @param share If <code>true</code>, the value is also stored without the full qualified id. * @return <code>true</code> if the value was set. */ public final static boolean setProperty(String key, IFullQualifiedId fullQualifiedId, IPropertiesContainer data, Object value, boolean share) { @@ -182,8 +181,7 @@ public class StepperAttributeUtil { * @param fullQualifiedId The full qualified id for this step. * @param data The data. * @param value The new boolean value. - * @param share When <code>true</code>, the value is also stored within the parent full - * qualified id to share the value with other steps within the same parent (group). + * @param share If <code>true</code>, the value is also stored without the full qualified id. * @return <code>true</code> if the value was set. */ public final static boolean setProperty(String key, IFullQualifiedId fullQualifiedId, IPropertiesContainer data, boolean value, boolean share) { @@ -191,7 +189,7 @@ public class StepperAttributeUtil { Assert.isNotNull(data); if (share && fullQualifiedId != null) { - data.setProperty(getFullQualifiedKey(key, fullQualifiedId.getParentId(), data), value); + data.setProperty(getFullQualifiedKey(key, null, data), value); } return data.setProperty(getFullQualifiedKey(key, fullQualifiedId, data), value); } @@ -217,8 +215,7 @@ public class StepperAttributeUtil { * @param fullQualifiedId The full qualified id for this step. * @param data The data. * @param value The new int value. - * @param share When <code>true</code>, the value is also stored within the parent full - * qualified id to share the value with other steps within the same parent (group). + * @param share If <code>true</code>, the value is also stored without the full qualified id. * @return <code>true</code> if the value was set. */ public final static boolean setProperty(String key, IFullQualifiedId fullQualifiedId, IPropertiesContainer data, int value, boolean share) { @@ -226,7 +223,7 @@ public class StepperAttributeUtil { Assert.isNotNull(data); if (share && fullQualifiedId != null) { - data.setProperty(getFullQualifiedKey(key, fullQualifiedId.getParentId(), data), value); + data.setProperty(getFullQualifiedKey(key, null, data), value); } return data.setProperty(getFullQualifiedKey(key, fullQualifiedId, data), value); } |