[MOBY-guts] biomoby commit

Eddie Kawas kawas at pub.open-bio.org
Tue Jul 19 15:44:11 UTC 2005


kawas
Tue Jul 19 11:44:10 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool
In directory pub.open-bio.org:/tmp/cvs-serv20713/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool

Modified Files:
	InputOutputFocusListener.java MobyInputOutputData.java 
	ServiceInstancePanelFactory.java Service.java 
Log Message:
Fixed a bug that occured upon registration of secondary inputs. ALso switch registry domains.

moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool InputOutputFocusListener.java,1.3,1.4 MobyInputOutputData.java,1.1,1.2 ServiceInstancePanelFactory.java,1.2,1.3 Service.java,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/InputOutputFocusListener.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/InputOutputFocusListener.java	2005/04/20 21:42:10	1.3
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/InputOutputFocusListener.java	2005/07/19 15:44:10	1.4
@@ -50,7 +50,7 @@
 		if (_name.equals("name")) {
 			InputOutputFocusListener.name =
 				((JTextField) (fe.getComponent())).getText();
-		} else if (_name.equals("enumeration")) {
+		} else if (_name.equals("enum")) {
 			InputOutputFocusListener.enumeration =
 				((JTextField) (fe.getComponent())).getText();
 			secondaryEnumerationField = (JTextField) (fe.getComponent());

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/MobyInputOutputData.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/MobyInputOutputData.java	2005/04/07 16:42:27	1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/MobyInputOutputData.java	2005/07/19 15:44:10	1.2
@@ -34,10 +34,10 @@
 	 * Variables for the test database.
 	 */
 	static final String ENDPOINT =
-		"http://mobycentral.cbr.nrc.ca:8080/cgi-bin/MOBY05/mobycentral.pl";
+		"http://mobycentral.icapture.ubc.ca/cgi-bin/MOBY05/mobycentral.pl";
 	static final String NAMESPACE =
-		"http://mobycentral.cbr.nrc.ca:8080/MOBY/Central";
-    private static String _URL = "http://mobycentral.cbr.nrc.ca/cgi-bin/applets/retrieveObjectXML.cgi?name=";
+		"http://mobycentral.icapture.ubc.ca/MOBY/Central";
+    private static String _URL = "http://mobycentral.icapture.ubc.ca/cgi-bin/applets/retrieveObjectXML.cgi?name=";
 
 	/**
 	 * 

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/ServiceInstancePanelFactory.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/ServiceInstancePanelFactory.java	2005/04/07 21:01:13	1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/ServiceInstancePanelFactory.java	2005/07/19 15:44:10	1.3
@@ -43,7 +43,7 @@
 
 	private JButton edit;
 	private JButton submit = null;
-	private static String datatype = "INT";
+	private static String datatype = "Integer";
 	private JList namespaceDropdownList, enumerations;
 	private DefaultListModel model = new DefaultListModel(),
 			_enums = new DefaultListModel();
@@ -1161,8 +1161,8 @@
 		scrollingList.setPreferredSize(dim);
 		scrollingList.setWheelScrollingEnabled(true);
 
-		JComboBox combo = new JComboBox(new String[] { "INT", "FLOAT",
-				"STRING", "DATE/TIME" });
+		JComboBox combo = new JComboBox(new String[] { "Integer", "Float",
+				"String", "DateTime" });
 		combo.addActionListener(ioal);
 		combo.setActionCommand("datatype");
 		combo.setName("datatype");

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/Service.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/Service.java	2005/04/07 21:01:13	1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/Service.java	2005/07/19 15:44:10	1.3
@@ -27,9 +27,9 @@
 
     private boolean PROTO = false;
 
-    static final String ENDPOINT = "http://mobycentral.cbr.nrc.ca:8080/cgi-bin/MOBY05/mobycentral.pl";
+    static final String ENDPOINT = "http://mobycentral.icapture.ubc.ca/cgi-bin/MOBY05/mobycentral.pl";
 
-    static final String NAMESPACE = "http://mobycentral.cbr.nrc.ca:8080/MOBY/Central";
+    static final String NAMESPACE = "http://mobycentral.icapture.ubc.ca/MOBY/Central";
 
     public static String REG_TEXT = "";
 
@@ -82,7 +82,7 @@
                 worker = new CentralImpl(CentralImpl.DEFAULT_ENDPOINT,
                         CentralImpl.DEFAULT_NAMESPACE);
             worker.registerService(this);
-            success = true;
+            success = true || true;
             REG_TEXT = "Service has been registered!";
 
         } catch (MobyException e) {




More information about the MOBY-guts mailing list