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:
parent
3967feac90
commit
a1e5db5fee
1 changed files with 24 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue