Search in sources :

Example 1 with MultiUploadFieldListenerWrapper

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);
}
Also used : MultiUploadFieldListenerWrapper(com.haulmont.cuba.gui.components.compatibility.MultiUploadFieldListenerWrapper)

Example 2 with MultiUploadFieldListenerWrapper

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);
}
Also used : MultiUploadFieldListenerWrapper(com.haulmont.cuba.gui.components.compatibility.MultiUploadFieldListenerWrapper)

Example 3 with MultiUploadFieldListenerWrapper

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);
}
Also used : MultiUploadFieldListenerWrapper(com.haulmont.cuba.gui.components.compatibility.MultiUploadFieldListenerWrapper)

Example 4 with MultiUploadFieldListenerWrapper

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);
}
Also used : MultiUploadFieldListenerWrapper(com.haulmont.cuba.gui.components.compatibility.MultiUploadFieldListenerWrapper)

Aggregations

MultiUploadFieldListenerWrapper (com.haulmont.cuba.gui.components.compatibility.MultiUploadFieldListenerWrapper)4