protected final void exitEditorRemoveRequest() { editorRemoveRequests--; PropUtils.log(BaseTable.class, " exiting editor remove request"); //NOI18N assert editorRemoveRequests >= 0; }
public static void dumpStack(Class clazz) { if (Logger.getLogger(clazz.getName()).isLoggable(Level.FINE)) { StringWriter sw = new StringWriter(); new Throwable().printStackTrace(new PrintWriter(sw)); log(clazz, sw.getBuffer().toString()); } }
public void windowClosing(WindowEvent ev) { if (PropUtils.isLoggable(CustomEditorAction.class)) { PropUtils.log(CustomEditorAction.class, "CustomerEditorAction windowClosing event"); } closedOption = true; }
protected final void enterEditorChangeRequest() { editorChangeRequests++; if (PropUtils.isLoggable(BaseTable.class)) { PropUtils.log(BaseTable.class, " entering editor change request"); //NOI18N } }
protected final void exitEditRequest() { editRequests--; if (PropUtils.isLoggable(BaseTable.class)) { PropUtils.log(BaseTable.class, " exiting edit change request"); //NOI18N } assert editRequests >= 0; }
static void log(Class clazz, String msg, boolean dumpstack) { log(clazz, msg); if (dumpstack) { dumpStack(clazz); } }
private void log(String s) { if (PropUtils.isLoggable(ComboInplaceEditor.class) && (getClass() == ComboInplaceEditor.class)) { PropUtils.log(ComboInplaceEditor.class, s); //NOI18N } }
/** Called when an edit request is received, to indicate that some * repaints should be blocked while previous editors are removed, * selection is changed, etc. */ protected final void enterEditRequest() { editRequests++; if (PropUtils.isLoggable(BaseTable.class)) { PropUtils.log(BaseTable.class, " entering edit request"); //NOI18N } }
protected final void enterEditorRemoveRequest() { editorRemoveRequests++; if (PropUtils.isLoggable(BaseTable.class)) { PropUtils.log(BaseTable.class, " entering editor remove request"); //NOI18N } }
protected final void exitEditorChangeRequest() { editorChangeRequests--; if (PropUtils.isLoggable(BaseTable.class)) { PropUtils.log(BaseTable.class, " exiting editor change request"); //NOI18N } assert editorRemoveRequests >= 0; }
protected final void enterEditorRemoveRequest() { editorRemoveRequests++; if (PropUtils.isLoggable(BaseTable.class)) { PropUtils.log(BaseTable.class, " entering editor remove request"); //NOI18N } }
private void log (String s) { if (PropUtils.isLoggable(ComboInplaceEditor.class) && getClass() == ComboInplaceEditor.class) { PropUtils.log (ComboInplaceEditor.class, s); //NOI18N } }
protected final void enterEditorChangeRequest() { editorChangeRequests++; if (PropUtils.isLoggable(BaseTable.class)) { PropUtils.log(BaseTable.class, " entering editor change request"); //NOI18N } }
private void log (String s) { if (PropUtils.isLoggable(ComboInplaceEditor.class) && getClass() == ComboInplaceEditor.class) { PropUtils.log (ComboInplaceEditor.class, s); //NOI18N } }
protected final void enterEditorRemoveRequest() { editorRemoveRequests++; if (PropUtils.isLoggable(BaseTable.class)) { PropUtils.log(BaseTable.class, " entering editor remove request"); //NOI18N } }
public static void dumpStack(Class clazz) { // log(Class,String) only has an effect if INFORMATIONAL logging enabled on that prefix if(ErrorManager.getDefault().getInstance(clazz.getName()) .isLoggable(ErrorManager.INFORMATIONAL)) { StringWriter sw = new StringWriter(); new Throwable().printStackTrace(new PrintWriter(sw)); log(clazz, sw.getBuffer().toString()); } }
static void log(Class clazz, FocusEvent fe) { if (isLoggable(clazz)) { StringBuffer sb = new StringBuffer(30); focusEventToString(fe, sb); log(clazz, sb.toString()); } }
public void run() { if (loggable) { PropUtils.log (PropertySheet.class, " Nodes " + "cleared off event queue. Empty model later on EQ."); } table.getPropertySetModel().setPropertySets(null); } });
public void cancelCellEditing() { if (inplaceEditor != null) { try { if (PropUtils.isLoggable(SheetCellEditor.class)) { PropUtils.log(SheetCellEditor.class, " SheetCellEditor.cancelCellEditing ", true); //NOI18N } fireEditingCancelled(); } finally { setInplaceEditor(null); } } }
public void cancelCellEditing() { if (inplaceEditor != null) { try { if (PropUtils.isLoggable(SheetCellEditor.class)) { PropUtils.log (SheetCellEditor.class, " SheetCellEditor.cancelCellEditing ", true); //NOI18N } fireEditingCancelled(); } finally { setInplaceEditor (null); } } }