1 11 package org.eclipse.jdt.internal.debug.ui.propertypages; 12 13 import org.eclipse.jdt.internal.debug.ui.IJavaDebugHelpContextIds; 14 import org.eclipse.swt.SWT; 15 import org.eclipse.swt.layout.GridData; 16 import org.eclipse.swt.widgets.Button; 17 import org.eclipse.swt.widgets.Composite; 18 import org.eclipse.ui.PlatformUI; 19 20 public class JavaExceptionBreakpointAdvancedPage extends JavaBreakpointAdvancedPage { 21 22 private ExceptionFilterEditor fFilterEditor; 23 24 27 protected void doStore() { 28 super.doStore(); 29 fFilterEditor.doStore(); 30 } 31 32 35 protected void createTypeSpecificEditors(Composite parent) { 36 fFilterEditor= new ExceptionFilterEditor(parent, this); 37 } 38 39 42 public void createControl(Composite parent) { 43 super.createControl(parent); 44 PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), IJavaDebugHelpContextIds.JAVA_EXCEPTION_BREAKPOINT_FILTERING_PROPERTY_PAGE); 45 } 46 47 protected Button createButton(Composite parent, String text) { 48 Button button= new Button(parent, SWT.CHECK | SWT.LEFT); 49 button.setText(text); 50 button.setFont(parent.getFont()); 51 button.setLayoutData(new GridData()); 52 return button; 53 } 54 55 } 56 | Popular Tags |