public void projectInsertStarted(Project project);
/**
+ * Notifies a listener that the upload of a project has finished and the
+ * inserting will start now.
+ *
+ * @param project
+ * The project that has been uploaded
+ */
+ public void projectUploadFinished(Project project);
+
+ /**
* Notifies a listener that a project insert has generated a URI.
*
* @param project
/**
* {@inheritDoc}
*/
+ public void projectUploadFinished(Project project) {
+ startTime = System.currentTimeMillis();
+ }
+
+ /**
+ * {@inheritDoc}
+ */
public void projectURIGenerated(Project project, final String uri) {
SwingUtilities.invokeLater(new Runnable() {
/**
* {@inheritDoc}
*/
+ public void projectUploadFinished(Project project) {
+ outputWriter.println("Project \"" + project.getName() + "\" has ben uploaded, starting insert...");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
public void projectURIGenerated(Project project, String uri) {
outputWriter.println("URI: " + uri);
}