Package org.olat.core.gui.control

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


    // Dispose also disposable form items (such as file uploads that needs to
    // cleanup temporary files)
    Map<String, FormItem> formItems = this.getFormComponents();
    for (FormItem formItem : formItems.values()) {
      if (formItem instanceof Disposable) {
        Disposable disposableFormItem = (Disposable) formItem;
        disposableFormItem.dispose();
      }
    }
  }
View Full Code Here


        // Dispose also disposable form items (such as file uploads that needs to
        // cleanup temporary files)
        Map<String, FormItem> formItems = FormBasicController.this.flc.getFormComponents();
        for (FormItem formItem : formItems.values()) {
          if (formItem instanceof Disposable) {
            Disposable disposableFormItem = (Disposable) formItem;
            disposableFormItem.dispose();       
          }
        }
      }
    }, getUserActivityLogger());
  }
View Full Code Here

TOP

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

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.