X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=eclipse%2Frap%2Forg.eclipse.rwt.widgets.upload%2Fsrc%2Forg%2Feclipse%2Frwt%2Fwidgets%2FUploadListener.java;fp=eclipse%2Frap%2Forg.eclipse.rwt.widgets.upload%2Fsrc%2Forg%2Feclipse%2Frwt%2Fwidgets%2FUploadListener.java;h=0000000000000000000000000000000000000000;hb=da06c02e7d45aa53905cfee476decbf343b6a3ce;hp=728a6cc14d9ac343ad4e6f83aab3214a70ce041f;hpb=a4c04560fb2cdfae1ebf9ca87d99c07aca7ab470;p=lgpl%2Fargeo-commons.git diff --git a/eclipse/rap/org.eclipse.rwt.widgets.upload/src/org/eclipse/rwt/widgets/UploadListener.java b/eclipse/rap/org.eclipse.rwt.widgets.upload/src/org/eclipse/rwt/widgets/UploadListener.java deleted file mode 100644 index 728a6cc14..000000000 --- a/eclipse/rap/org.eclipse.rwt.widgets.upload/src/org/eclipse/rwt/widgets/UploadListener.java +++ /dev/null @@ -1,48 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2002-2007 Critical Software S.A. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Tiago Rodrigues (Critical Software S.A.) - initial implementation - * Joel Oliveira (Critical Software S.A.) - initial commit - ******************************************************************************/ -package org.eclipse.rwt.widgets; - -import java.util.EventListener; - - -/** - * Use a UploadListener to get notified when a file upload has - * finished. - * - * @author tjarodrigues - * @version $Revision: 1.2 $ - */ -public interface UploadListener extends EventListener{ - - /** - * Is called, when uploading a file has been finished sucessfully. - * @param uploadEvent The Upload Event to be fired. - * {@link UploadEvent#getSource()} returns the upload - * widget which triggered the event. All other fields are empty - */ - public void uploadFinished( final UploadEvent uploadEvent ); - - - /** - * Is called when the upload is in progress. You may use the - * {@link UploadEvent} to get details on the progress. - */ - public void uploadInProgress( final UploadEvent uploadEvent ); - - - /** - * Signals that an exception has ocurred while receiving the - * file to be uploaded. The exception can be retrieved - * using {@link UploadEvent#getUploadException()}. - */ - public void uploadException( final UploadEvent uploadEvent ); -}