[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Thu Feb 8 16:59:58 UTC 2007
gordonp
Thu Feb 8 11:59:58 EST 2007
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util
In directory dev.open-bio.org:/tmp/cvs-serv27169/main/ca/ucalgary/seahawk/util
Modified Files:
DynamicJPopupMenu.java MobyUtils.java
NamespaceContextImpl.java PrintableJEditorPane.java
Sequence.java
Log Message:
Documentation updates
moby-live/Java/src/main/ca/ucalgary/seahawk/util DynamicJPopupMenu.java,1.1,1.2 MobyUtils.java,1.4,1.5 NamespaceContextImpl.java,1.1,1.2 PrintableJEditorPane.java,1.1,1.2 Sequence.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/DynamicJPopupMenu.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/DynamicJPopupMenu.java 2006/10/25 02:33:22 1.1
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/DynamicJPopupMenu.java 2007/02/08 16:59:58 1.2
@@ -1,5 +1,8 @@
package ca.ucalgary.seahawk.util;
+import java.awt.Component;
+import javax.swing.*;
+
/**
* This class was created to overcome the basic issue that JPopupMenus do not like to be resized
* once they have been set visible. To do this, you must make it invisible, add/delete items, and
@@ -11,11 +14,6 @@
* @author Paul Gordon gordonp at ucalgary.ca
*/
-
-import java.awt.Component;
-import javax.swing.*;
-
-
public class DynamicJPopupMenu extends JPopupMenu{
private Object semaphore;
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/MobyUtils.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/MobyUtils.java 2006/10/27 20:11:01 1.4
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/MobyUtils.java 2007/02/08 16:59:58 1.5
@@ -10,6 +10,11 @@
import java.util.Vector;
import javax.swing.JLabel;
+/**
+ * Contains utility methods for Moby Object creation from unstructured data, and for
+ * creating the Seahawk GUI.
+ */
+
public class MobyUtils{
public static final int MAX_OBJ_NAME_LEN = 18;
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/NamespaceContextImpl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/NamespaceContextImpl.java 2006/10/25 02:33:22 1.1
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/NamespaceContextImpl.java 2007/02/08 16:59:58 1.2
@@ -1,7 +1,3 @@
-/**
- * This class is used to provide namespace context for XPath espression evaluation
- * in the Seahawk data mapping rules file.
- */
package ca.ucalgary.seahawk.util;
@@ -13,6 +9,10 @@
import java.util.Iterator;
import java.util.Map;
+/**
+ * This class is used to provide namespace context for XPath espression evaluation
+ * in the Seahawk data mapping rules file.
+ */
public class NamespaceContextImpl implements NamespaceContext, PrefixResolver{
private Map prefixes;
private Map nsURIs;
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/PrintableJEditorPane.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/PrintableJEditorPane.java 2006/10/25 02:33:23 1.1
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/PrintableJEditorPane.java 2007/02/08 16:59:58 1.2
@@ -1,8 +1,3 @@
-/**
- * A class used to make the rendered contents of a JEditorPane printable in Java.
- *
- * @author Paul Gordon (gordonp at ucalgary.ca)
- */
package ca.ucalgary.seahawk.util;
import java.awt.Dimension;
@@ -14,6 +9,11 @@
import javax.swing.JEditorPane;
import javax.swing.RepaintManager;
+/**
+ * A class used to make the rendered contents of a JEditorPane printable in Java.
+ *
+ * @author Paul Gordon (gordonp at ucalgary.ca)
+ */
public class PrintableJEditorPane extends JEditorPane implements Printable{
public int print (Graphics g, PageFormat pf, int pageIndex) throws PrinterException{
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/Sequence.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/Sequence.java 2006/10/25 02:33:23 1.1
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/Sequence.java 2007/02/08 16:59:58 1.2
@@ -1,9 +1,9 @@
+package ca.ucalgary.seahawk.util;
+
/**
- * Utility methods to report properties of DNA and protein sequence
+ * Utility methods to report properties of DNA and protein sequence.
*/
-package ca.ucalgary.seahawk.util;
-
public class Sequence{
/**
More information about the MOBY-guts
mailing list