initComponents (); String className = b.getExceptionClassName (); tfExceptionClassName.setText (className); cbBreakpointType.addItem (NbBundle.getMessage(ExceptionBreakpointPanel.class, "LBL_Exception_Breakpoint_Type_Catched")); cbBreakpointType.addItem (NbBundle.getMessage(ExceptionBreakpointPanel.class, "LBL_Exception_Breakpoint_Type_Uncatched")); cbBreakpointType.addItem (NbBundle.getMessage(ExceptionBreakpointPanel.class, "LBL_Exception_Breakpoint_Type_Catched_or_Uncatched")); switch (b.getCatchType ()) { case ExceptionBreakpoint.TYPE_EXCEPTION_CATCHED: cbBreakpointType.setSelectedIndex (0); conditionsPanel.showClassFilter(true); conditionsPanel.showCondition(true); conditionsPanel.setClassMatchFilter(b.getClassFilters()); conditionsPanel.setClassExcludeFilter(b.getClassExclusionFilters()); conditionsPanel.setCondition(b.getCondition()); conditionsPanel.setHitCountFilteringStyle(b.getHitCountFilteringStyle()); conditionsPanel.setHitCount(b.getHitCountFilter()); cPanel.add(conditionsPanel, "Center");
private static ExceptionBreakpoint creteBreakpoint () { String className; try { className = EditorContextBridge.getContext().getCurrentClassName(); } catch (java.awt.IllegalComponentStateException icsex) { className = ""; } ExceptionBreakpoint mb = ExceptionBreakpoint.create ( className, ExceptionBreakpoint.TYPE_EXCEPTION_CATCHED_UNCATCHED ); mb.setPrintText ( NbBundle.getBundle (ExceptionBreakpointPanel.class).getString ("CTL_Exception_Breakpoint_Print_Text") ); return mb; }
String className = eb.getExceptionClassName(); FileObject fo = getFileObject(getRelativePath (className)); if (fo == null) {
String className = eb.getExceptionClassName(); FileObject fo = getFileObject(getRelativePath (className)); if (fo == null) {
} else if (b instanceof ExceptionBreakpoint) { ExceptionBreakpoint eb = (ExceptionBreakpoint) b; String className = eb.getExceptionClassName(); FileObject fo = getFileObject(getRelativePath (className)); if (fo == null) return ;