1 19 20 package org.netbeans.modules.debugger.jpda.ui.breakpoints; 21 22 import javax.swing.JComponent ; 23 24 import org.netbeans.api.debugger.Breakpoint; 25 import org.netbeans.spi.debugger.ui.BreakpointType; 26 import org.netbeans.api.debugger.jpda.ExceptionBreakpoint; 27 28 import org.openide.util.NbBundle; 29 30 31 36 public class ExceptionBreakpointType extends BreakpointType { 37 38 public String getCategoryDisplayName() { 39 return NbBundle.getMessage ( 40 ExceptionBreakpointType.class, 41 "CTL_Java_breakpoint_events_cathegory_name" 42 ); 43 } 44 45 public JComponent getCustomizer () { 46 return new ExceptionBreakpointPanel (); 47 } 48 49 public String getTypeDisplayName () { 50 return NbBundle.getMessage ( 51 ExceptionBreakpointType.class, 52 "CTL_Exception_event_name_type_name" 53 ); 54 } 55 56 public boolean isDefault () { 57 return false; 58 } 59 } 60 61 | Popular Tags |