/**
* Notifies all listeners that the insert has made some progress.
*
+ * @see InsertListener#projectUploadFinished(Project)
+ */
+ protected void fireProjectUploadFinished() {
+ for (InsertListener insertListener : insertListeners) {
+ insertListener.projectUploadFinished(project);
+ }
+ }
+
+ /**
+ * Notifies all listeners that the insert has made some progress.
+ *
* @see InsertListener#projectInsertProgress(Project, int, int, int, int,
* boolean)
* @param succeeded
/* parse progress and success messages */
String finalURI = null;
+ boolean firstMessage = true;
boolean success = false;
boolean finished = false;
boolean disconnected = false;
if (debug) {
System.out.println(message);
}
+ if (firstMessage) {
+ fireProjectUploadFinished();
+ firstMessage = false;
+ }
if (!finished) {
@SuppressWarnings("null")
String messageName = message.getName();