6869707172737475767778
try { int res = MessageBox.showConfirmYesNoCancel( MessageBox.C_SAVE_CHANGES); switch (res) { case MessageBox.ANSWER_YES: p.save(); break; case MessageBox.ANSWER_NO: p.restore(); break; case MessageBox.ANSWER_CANCEL:
969970971972973974975976977978979
@Override public void save() throws ClipsException { if (innerPage != null){ Persistentable p = (Persistentable) innerPage; p.save(); if (!p.isDirty()){ currentCreatedDelegate = null; } } setEnabledComponents();