[MOBY-guts] biomoby commit
Martin Senger
senger at pub.open-bio.org
Wed Oct 12 11:17:59 UTC 2005
senger
Wed Oct 12 07:17:59 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/Clients
In directory pub.open-bio.org:/tmp/cvs-serv13525/src/Clients
Modified Files:
MobyDigestClient.java
Log Message:
moby-live/Java/src/Clients MobyDigestClient.java,1.4,1.5
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/Clients/MobyDigestClient.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/moby-live/Java/src/Clients/MobyDigestClient.java 2005/09/22 16:07:08 1.4
+++ /home/repository/moby/moby-live/Java/src/Clients/MobyDigestClient.java 2005/10/12 11:17:59 1.5
@@ -7,6 +7,8 @@
//
import org.biomoby.shared.*;
+import org.biomoby.shared.event.SimpleListener;
+import org.biomoby.shared.event.Notifier;
import org.biomoby.client.*;
import org.tulsoft.tools.BaseCmdLine;
@@ -64,8 +66,9 @@
// how much to show
boolean details = cmd.hasOption ("-details");
- if (cmd.hasOption ("-verbose"))
- worker.setDebug (true);
+ boolean verbose = (cmd.hasOption ("-v") || cmd.hasOption ("-verbose"));
+ if (verbose)
+ ((Notifier)worker).addNotificationListener (new SimpleListener());
// read (sometimes all) data types and their relationships
if (cmd.hasOption ("-d")) {
More information about the MOBY-guts
mailing list