[MOBY-guts] biomoby commit

Eddie Kawas kawas at pub.open-bio.org
Thu Apr 7 21:01:14 UTC 2005


kawas
Thu Apr  7 17:01:13 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-serv4895/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool

Modified Files:
	InputOutputFocusListener.java ServiceInstancePanelFactory.java 
	ServiceCreationTool.java Service.java 
Log Message:
fixed some lexical/etc errors that javac found.

moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool InputOutputFocusListener.java,1.1,1.2 ServiceInstancePanelFactory.java,1.1,1.2 ServiceCreationTool.java,1.1,1.2 Service.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/InputOutputFocusListener.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/InputOutputFocusListener.java	2005/04/07 16:42:27	1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/InputOutputFocusListener.java	2005/04/07 21:01:13	1.2
@@ -46,27 +46,27 @@
 	 * Method that handles the FocusEvents
 	 */
 	public void focusLost(FocusEvent fe) {
-		String name = fe.getComponent().getName();
-		if (name.equals("name")) {
+		String _name = fe.getComponent().getName();
+		if (_name.equals("name")) {
 			InputOutputFocusListener.name =
 				((JTextField) (fe.getComponent())).getText();
-		} else if (name.equals("enumeration")) {
+		} else if (_name.equals("enumeration")) {
 			InputOutputFocusListener.enumeration =
 				((JTextField) (fe.getComponent())).getText();
 			secondaryEnumerationField = (JTextField) (fe.getComponent());
-		} else if (name.equals("secondaryInputName")) {
+		} else if (_name.equals("secondaryInputName")) {
 			secondaryInputName = ((JTextField) (fe.getComponent())).getText();
-		} else if (name.equals("default")) {
+		} else if (_name.equals("default")) {
 			secondaryInputDefaultField =
 				((JTextField) (fe.getComponent())).getText();
-		} else if (name.equals("min")) {
+		} else if (_name.equals("min")) {
 			secondaryInputMinField =
 				((JTextField) (fe.getComponent())).getText();
 
 			if (!checkIfInteger(secondaryInputMinField)) {
 				secondaryInputMinField = "";
 			}
-		} else if (name.equals("max")) {
+		} else if (_name.equals("max")) {
 			secondaryInputMaxField =
 				((JTextField) (fe.getComponent())).getText();
 			if (!checkIfInteger(secondaryInputMaxField)) {

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/ServiceInstancePanelFactory.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/ServiceInstancePanelFactory.java	2005/04/07 16:42:27	1.1
+++ /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
@@ -541,13 +541,13 @@
 		detailLabel.setText(detailLabelText);
 		int len = dataTypeName.length();
 
-		JTextField datatype = new JTextField((len > 10) ? len - 5 : len + 15), dataName = new JTextField(
+		JTextField _datatype = new JTextField((len > 10) ? len - 5 : len + 15), dataName = new JTextField(
 				(len > 10) ? len - 5 : len + 15);
-		datatype.setPreferredSize(datatype.getMinimumSize());
+		_datatype.setPreferredSize(_datatype.getMinimumSize());
 		dataName.setPreferredSize(dataName.getMinimumSize());
-		datatype.setEditable(false);
-		datatype.setName("dataName");
-		datatype.setText(dataTypeName);
+		_datatype.setEditable(false);
+		_datatype.setName("dataName");
+		_datatype.setText(dataTypeName);
 
 		dataName.setName("name"); // required
 		dataName.setActionCommand("simpleDataName");
@@ -614,7 +614,7 @@
 		JLabel typeLabel = new JLabel("<html><b>Data Type: </b></html>");
 		typeLabel.setPreferredSize(nameLabel.getMinimumSize());
 		f1.add(typeLabel);
-		f1.add(datatype);
+		f1.add(_datatype);
 		JLabel namespaceLabel = new JLabel("<html><b>Namespace(s): </b></html>");
 		namespaceLabel.setPreferredSize(namespaceLabel.getMinimumSize());
 		f1.add(namespaceLabel);
@@ -1264,11 +1264,11 @@
 				"<html><b>Are you sure you would like to submit your service?</b></html>",
 				-1);
 
-		JButton submit = new JButton(" Register Your Service ");
-		submit.setActionCommand("registerService");
-		submit.setName("registerService");
-		submit.addActionListener(bal);
-		ButtonBeautifier.enhanceButton(submit, 5, tool.getClass());
+		JButton _submit = new JButton(" Register Your Service ");
+		_submit.setActionCommand("registerService");
+		_submit.setName("registerService");
+		_submit.addActionListener(bal);
+		ButtonBeautifier.enhanceButton(_submit, 5, tool.getClass());
 
 		JButton cancel = new JButton(" Don't Register Yet ");
 		cancel.setActionCommand("back");
@@ -1278,7 +1278,7 @@
 
 		JPanel buttons = null;
 		buttons = initPanel(buttons, "", 1);
-		buttons.add(submit);
+		buttons.add(_submit);
 		buttons.add(cancel);
 		panel.add(buttons, BorderLayout.PAGE_END);
 

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/ServiceCreationTool.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/ServiceCreationTool.java	2005/04/07 16:42:27	1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/ServiceCreationTool.java	2005/04/07 21:01:13	1.2
@@ -34,7 +34,7 @@
      */
     private static final long serialVersionUID = 1L;
     //	set to false if creating a java application
-	private final boolean isApplet = true;
+	private static final boolean isApplet = true;
 	private String newline = System.getProperty("line.separator");
 
 	/* private member variables */

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/serviceInstanceCreationTool/Service.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/Service.java	2005/04/07 16:42:27	1.1
+++ /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
@@ -24,7 +24,6 @@
  */
 public class Service extends MobyService {
 
-    private String signatureURL = "";
 
     private boolean PROTO = false;
 




More information about the MOBY-guts mailing list