{
try {
String documentPath = getCurrentDocumentPath();
if (documentPath != null && !documentPath.equals("")) {
if (documentFile.isOpenKMDocument(documentPath)) {
new ConfirmationForm("main.question.update",ConfirmationForm.OPERATION_CHECKIN, documentPath);
}
}
} catch (OKMException ex) {
waitWindow.setVisible(false);
new ErrorForm(ex);
}
return;
}
if ( aURL.Path.compareTo("cancelcheckin") == 0 )
{
try {
String documentPath = getCurrentDocumentPath();
if (documentPath != null && !documentPath.equals("")) {
if (documentFile.isOpenKMDocument(documentPath)) {
new ConfirmationForm("main.question.cancel.edit",ConfirmationForm.OPERATION_CANCELCHECKIN, documentPath);
}
}
} catch (OKMException ex) {
waitWindow.setVisible(false);
new ErrorForm(ex);