use of com.haulmont.cuba.gui.components.compatibility.MultiUploadFieldListenerWrapper in project cuba by cuba-platform.
the class WebFileMultiUploadField method removeListener.
@Override
public void removeListener(UploadListener listener) {
MultiUploadFieldListenerWrapper wrapper = new MultiUploadFieldListenerWrapper(listener);
removeFileUploadStartListener(wrapper);
removeFileUploadFinishListener(wrapper);
removeFileUploadErrorListener(wrapper);
removeQueueUploadCompleteListener(wrapper);
}
use of com.haulmont.cuba.gui.components.compatibility.MultiUploadFieldListenerWrapper in project cuba by cuba-platform.
the class DesktopFileMultiUploadField method addListener.
@Override
public void addListener(UploadListener listener) {
MultiUploadFieldListenerWrapper wrapper = new MultiUploadFieldListenerWrapper(listener);
addFileUploadStartListener(wrapper);
addFileUploadFinishListener(wrapper);
addFileUploadErrorListener(wrapper);
addQueueUploadCompleteListener(wrapper);
}
use of com.haulmont.cuba.gui.components.compatibility.MultiUploadFieldListenerWrapper in project cuba by cuba-platform.
the class DesktopFileMultiUploadField method removeListener.
@Override
public void removeListener(UploadListener listener) {
MultiUploadFieldListenerWrapper wrapper = new MultiUploadFieldListenerWrapper(listener);
removeFileUploadStartListener(wrapper);
removeFileUploadFinishListener(wrapper);
removeFileUploadErrorListener(wrapper);
removeQueueUploadCompleteListener(wrapper);
}
use of com.haulmont.cuba.gui.components.compatibility.MultiUploadFieldListenerWrapper in project cuba by cuba-platform.
the class WebFileMultiUploadField method addListener.
@Override
public void addListener(UploadListener listener) {
MultiUploadFieldListenerWrapper wrapper = new MultiUploadFieldListenerWrapper(listener);
addFileUploadStartListener(wrapper);
addFileUploadFinishListener(wrapper);
addFileUploadErrorListener(wrapper);
addQueueUploadCompleteListener(wrapper);
}
Aggregations