mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
[300718] The delete button in the Breakpoint actions preference page was no longer being called because of the bug fix in bug 300718
This commit is contained in:
parent
e26654f193
commit
6063d45e4e
1 changed files with 8 additions and 0 deletions
|
@ -14,6 +14,8 @@ import org.eclipse.cdt.debug.core.CDebugCorePlugin;
|
|||
import org.eclipse.cdt.debug.ui.CDebugUIPlugin;
|
||||
import org.eclipse.jface.preference.PreferencePage;
|
||||
import org.eclipse.swt.SWT;
|
||||
import org.eclipse.swt.events.SelectionAdapter;
|
||||
import org.eclipse.swt.events.SelectionEvent;
|
||||
import org.eclipse.swt.layout.GridData;
|
||||
import org.eclipse.swt.layout.GridLayout;
|
||||
import org.eclipse.swt.widgets.Composite;
|
||||
|
@ -42,6 +44,12 @@ public class ActionsPreferencePage extends PreferencePage implements IWorkbenchP
|
|||
final GlobalActionsList actionsList = new GlobalActionsList(container, SWT.NONE, false);
|
||||
actionsList.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, true));
|
||||
|
||||
actionsList.getDeleteButton().addSelectionListener(new SelectionAdapter() {
|
||||
public void widgetSelected(SelectionEvent e) {
|
||||
actionsList.HandleDeleteButton();
|
||||
}
|
||||
});
|
||||
|
||||
String helpContextID = CDebugUIPlugin.PLUGIN_ID + "." + contextHelpID; //$NON-NLS-1$
|
||||
PlatformUI.getWorkbench().getHelpSystem().setHelp(super.getControl(), helpContextID);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue