1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 352012 - [update policy] "Breakpoint Hit" update policy does not

have a constructor for clearing multiple number format values.
This commit is contained in:
Pawel Piech 2011-07-13 11:53:14 -07:00
parent 3967feac90
commit a1e5db5fee

View file

@ -12,6 +12,8 @@ package org.eclipse.cdt.dsf.debug.ui.viewmodel.update;
import org.eclipse.cdt.dsf.debug.service.IRunControl.ISuspendedDMEvent;
import org.eclipse.cdt.dsf.debug.service.IRunControl.StateChangeReason;
import org.eclipse.cdt.dsf.debug.ui.viewmodel.numberformat.FormattedValueRetriever;
import org.eclipse.cdt.dsf.debug.ui.viewmodel.numberformat.FormattedValueVMUtil;
import org.eclipse.cdt.dsf.ui.viewmodel.update.IElementUpdateTester;
/**
@ -21,6 +23,28 @@ public class BreakpointHitUpdatePolicy extends DebugManualUpdatePolicy {
public static String BREAKPOINT_HIT_UPDATE_POLICY_ID = "org.eclipse.cdt.dsf.debug.ui.viewmodel.update.breakpointHitUpdatePolicy"; //$NON-NLS-1$
/**
* Creates a breakpoint hit update policy for debug views.
*/
public BreakpointHitUpdatePolicy() {
super();
}
/**
* Creates a breakpoint hit update policy for debug views for models that
* retrieve multiple formatted values for each view entry. The given
* prefixes distinguish the formatted values properties from each other.
*
* @see FormattedValueRetriever
* @see FormattedValueVMUtil#getPropertyForFormatId(String, String)
*
* @param prefixes Prefixes to use when flushing the active formatted value
* from VM cache.
*/
public BreakpointHitUpdatePolicy(String[] prefixes) {
super(prefixes);
}
@Override
public String getID() {
return BREAKPOINT_HIT_UPDATE_POLICY_ID;