[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Thu May 13 15:54:17 UTC 2010
gordonp
Thu May 13 11:54:16 EDT 2010
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared
In directory dev.open-bio.org:/tmp/cvs-serv28159/src/main/org/biomoby/shared
Modified Files:
MobyDataType.java MobyNamespace.java
Log Message:
Added splash screen updates for those apps that use one
moby-live/Java/src/main/org/biomoby/shared MobyDataType.java,1.27,1.28 MobyNamespace.java,1.13,1.14
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyDataType.java,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyDataType.java 2010/03/26 18:08:18 1.27
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyDataType.java 2010/05/13 15:54:16 1.28
@@ -7,6 +7,8 @@
package org.biomoby.shared;
+import org.biomoby.client.util.SplashScreenStatus;
+
import java.net.URL;
import java.util.*;
import java.util.logging.*;
@@ -105,6 +107,7 @@
synchronized(datatypesMapByURL){
datatypes = datatypesMapByURL.get(reg == null ? "" : reg.getEndpoint());
if(datatypes == null){
+ SplashScreenStatus.setStatus("Setting Moby Central registry");
Central central = null;
try{
central = CentralImpl.getDefaultCentral(reg);
@@ -115,6 +118,7 @@
return null;
}
try{
+ SplashScreenStatus.setStatus("Loading Moby Central datatypes");
datatypes = central.getDataTypes();
for(MobyDataType type: datatypes){
type.setRegistry(reg); // isn't set properly by the parser called above
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyNamespace.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyNamespace.java 2008/10/30 02:33:25 1.13
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyNamespace.java 2010/05/13 15:54:16 1.14
@@ -8,6 +8,8 @@
package org.biomoby.shared;
import org.biomoby.client.CentralImpl;
+import org.biomoby.client.util.SplashScreenStatus;
+
import org.biomoby.registry.meta.Registry;
import java.util.*;
@@ -72,6 +74,7 @@
namespaces = namespacesMapByURL.get(reg == null ? "" : reg.getEndpoint());
if(namespaces == null){
Central central = null;
+ SplashScreenStatus.setStatus("Setting Moby Central registry");
try{
central = CentralImpl.getDefaultCentral(reg);
} catch(MobyException e){
@@ -81,6 +84,7 @@
return null;
}
try{
+ SplashScreenStatus.setStatus("Loading Moby Central namespaces");
namespaces = central.getFullNamespaces();
namespacesMapByURL.put(reg == null ? "" : reg.getEndpoint(),
namespaces);
More information about the MOBY-guts
mailing list