Package org.olat.core.gui.control

Examples of org.olat.core.gui.control.VetoableCloseController


  private void requestCloseTab(DTab dt) {
    final DTabImpl delt = (DTabImpl) dt;
    Controller c = delt.getController(); // FIXME:fj: test
    // vetoableclosecontroller
    if (c instanceof VetoableCloseController) {
      VetoableCloseController vcc = (VetoableCloseController) c;
      // rembember current dtab, and swap to the temporary one
      DTabImpl reTab = curDTab;
      doActivateDTab(delt);
      boolean immediateClose = vcc.requestForClose();
      if (!immediateClose) {
        return;
      } else {
        if (reTab != null) {
          doActivateDTab(reTab);
View Full Code Here

TOP

Related Classes of org.olat.core.gui.control.VetoableCloseController

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.