public void forceCancelAndClose() { if (cfFormManager != null) { if (cfFormManager.getCurrentForm() == this) { cfFormManager.closeCurrentForm(); } } }
public void forceCancelAndClose() { ICFBamUInt64ColObj focus = getJavaFXFocusAsUInt64Col(); if (cfFormManager != null) { if (cfFormManager.getCurrentForm() == this) { cfFormManager.closeCurrentForm(); } } if (deleteCallback != null) { deleteCallback.formClosed(null); } }
public void forceCancelAndClose() { ICFBamInt32ColObj focus = getJavaFXFocusAsInt32Col(); if (focus != null) { ICFBamInt32ColEditObj editObj = (ICFBamInt32ColEditObj) focus.getEdit(); if (editObj != null) { if (editObj.getIsNew()) { editObj.endEdit(); setJavaFXFocus(null); setPaneMode(CFPane.PaneMode.Unknown); } else { editObj.endEdit(); setPaneMode(CFPane.PaneMode.View); } } } if (cfFormManager != null) { if (cfFormManager.getCurrentForm() == this) { cfFormManager.closeCurrentForm(); } } if (formClosedCallback != null) { formClosedCallback.formClosed(null); } }