mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 08:45:44 +02:00
- update to exclude unused Type attribute
This commit is contained in:
parent
7e4a18be7c
commit
7b194b46e6
1 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@ import java.util.LinkedHashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.core.CDIDebugModel;
|
import org.eclipse.cdt.debug.core.CDIDebugModel;
|
||||||
|
import org.eclipse.cdt.debug.core.model.ICBreakpointTyped;
|
||||||
import org.eclipse.cdt.debug.core.model.ICEventBreakpoint;
|
import org.eclipse.cdt.debug.core.model.ICEventBreakpoint;
|
||||||
import org.eclipse.cdt.debug.internal.core.breakpoints.CEventBreakpoint;
|
import org.eclipse.cdt.debug.internal.core.breakpoints.CEventBreakpoint;
|
||||||
import org.eclipse.cdt.debug.internal.ui.propertypages.CBreakpointPreferenceStore;
|
import org.eclipse.cdt.debug.internal.ui.propertypages.CBreakpointPreferenceStore;
|
||||||
|
@ -81,10 +82,10 @@ public class AddEventBreakpointDialog extends Dialog implements ModifyListener,
|
||||||
for (ICBreakpointsUIContribution con : cons) {
|
for (ICBreakpointsUIContribution con : cons) {
|
||||||
|
|
||||||
if (con.getId().equals(ICEventBreakpoint.EVENT_TYPE_ID)) continue;
|
if (con.getId().equals(ICEventBreakpoint.EVENT_TYPE_ID)) continue;
|
||||||
|
if (con.getId().equals(ICBreakpointTyped.TYPE)) continue;
|
||||||
FieldEditor fieldEditor = con.getFieldEditor(con.getId(), con.getLabel(),
|
FieldEditor fieldEditor = con.getFieldEditor(con.getId(), con.getLabel(),
|
||||||
parent);
|
parent);
|
||||||
getPreferenceStore().setValue(con.getId(),"");
|
getPreferenceStore().setValue(con.getId(),"");
|
||||||
getPreferenceStore().setValue(con.getId()+".valuelabel", "");
|
|
||||||
if (fieldEditor != null)
|
if (fieldEditor != null)
|
||||||
addField(fieldEditor);
|
addField(fieldEditor);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue