[MOBY-guts] biomoby commit

Eddie Kawas kawas at pub.open-bio.org
Sat Dec 18 19:00:55 UTC 2004


kawas
Sat Dec 18 14:00:55 EST 2004
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/serviceInstanceCreationTool
In directory pub.open-bio.org:/tmp/cvs-serv30348/org/biomoby/client/gui/serviceInstanceCreationTool

Modified Files:
	ServiceInstancePanelFactory.java 
Log Message:
fixed bug where MOBY, CGI, WSDL appearred when in 'edit service details' view.

moby-live/Java/src/main/org/biomoby/client/gui/serviceInstanceCreationTool ServiceInstancePanelFactory.java,1.3,1.4
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/serviceInstanceCreationTool/ServiceInstancePanelFactory.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/gui/serviceInstanceCreationTool/ServiceInstancePanelFactory.java	2004/12/18 18:51:27	1.3
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/gui/serviceInstanceCreationTool/ServiceInstancePanelFactory.java	2004/12/18 19:00:55	1.4
@@ -892,10 +892,9 @@
 
 		// create the text area to display the service info
 		JTextArea area = new JTextArea();
-		area.setText(/* tool.getService().getObjectString(name) */
-		MobyInputOutputData.ObjectInXML(name));
+		area.setText(MobyInputOutputData.ObjectInXML(name));
 		area.setCaretPosition(0);
-
+		JScrollPane scrollableTextArea = new JScrollPane(area);
 		// create a back button
 		JButton back = new JButton(" Go Back ");
 		back.setActionCommand("back2Object");
@@ -909,7 +908,7 @@
 		button.add(back);
 
 		// add everything to the panel
-		panel.add(area, BorderLayout.CENTER);
+		panel.add(scrollableTextArea, BorderLayout.CENTER);
 		panel.add(button, BorderLayout.PAGE_END);
 		return panel;
 	}
@@ -1337,7 +1336,7 @@
 		if (SET)
 			sigUrlField.setText(s.getSignatureURL());
 		// Create comboboxes
-		String[] typeItems = { "Moby", "CGI", "WSDL" };
+		String[] typeItems = { "Moby"/*, "CGI", "WSDL" */};
 		JComboBox categoryComboBox = new JComboBox(typeItems);
 		categoryComboBox.setName("category");
 		categoryComboBox.setActionCommand("category");




More information about the MOBY-guts mailing list