mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 20:35:38 +02:00
[284286] The delete button of the TracepointActions preference page was not being called.
This commit is contained in:
parent
ae33f98bb6
commit
e26654f193
1 changed files with 9 additions and 0 deletions
|
@ -14,6 +14,8 @@ import org.eclipse.cdt.dsf.gdb.internal.tracepointactions.TracepointActionManage
|
|||
import org.eclipse.cdt.dsf.gdb.internal.ui.GdbUIPlugin;
|
||||
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;
|
||||
|
@ -46,12 +48,19 @@ public class TracepointActionsPreferencePage extends PreferencePage implements I
|
|||
final TracepointGlobalActionsList actionsList = new TracepointGlobalActionsList(container, SWT.NONE, false, false);
|
||||
actionsList.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, true));
|
||||
|
||||
actionsList.getDeleteButton().addSelectionListener(new SelectionAdapter() {
|
||||
@Override
|
||||
public void widgetSelected(SelectionEvent e) {
|
||||
actionsList.HandleDeleteButton();
|
||||
}
|
||||
});
|
||||
String helpContextID = GdbUIPlugin.PLUGIN_ID + "." + contextHelpID; //$NON-NLS-1$
|
||||
PlatformUI.getWorkbench().getHelpSystem().setHelp(super.getControl(), helpContextID);
|
||||
|
||||
return container;
|
||||
}
|
||||
|
||||
|
||||
public void init(IWorkbench workbench) {
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue