[MOBY-guts] biomoby commit

Martin Senger senger at pub.open-bio.org
Sun Nov 6 16:47:11 UTC 2005


senger
Sun Nov  6 11:47:11 EST 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard
In directory pub.open-bio.org:/tmp/cvs-serv13871/src/main/org/biomoby/service/dashboard

Modified Files:
	AbstractPanel.java BuildDataTypeTree.java CommonDataTable.java 
	CommonTree.java Dashboard.java DashboardProperties.java 
	DataTypesBoard.java DataTypesTree.java DebuggingPanel.java 
	JProgressBarWithCancel.java NamespacesBoard.java 
	NamespacesTree.java PrimaryDataTable.java 
Log Message:


moby-live/Java/src/main/org/biomoby/service/dashboard AbstractPanel.java,1.14,1.15 BuildDataTypeTree.java,1.4,1.5 CommonDataTable.java,1.1,1.2 CommonTree.java,1.13,1.14 Dashboard.java,1.11,1.12 DashboardProperties.java,1.10,1.11 DataTypesBoard.java,1.6,1.7 DataTypesTree.java,1.10,1.11 DebuggingPanel.java,1.1,1.2 JProgressBarWithCancel.java,1.2,1.3 NamespacesBoard.java,1.1,1.2 NamespacesTree.java,1.5,1.6 PrimaryDataTable.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/AbstractPanel.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/AbstractPanel.java	2005/11/05 17:51:04	1.14
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/AbstractPanel.java	2005/11/06 16:47:11	1.15
@@ -21,22 +21,16 @@
 import javax.swing.Icon;
 import javax.swing.JButton;
 import javax.swing.JCheckBox;
-import javax.swing.JTextField;
 import javax.swing.JTextArea;
-import javax.swing.JComboBox;
 import javax.swing.JOptionPane;
 import javax.swing.JFileChooser;
 import javax.swing.AbstractButton;
 import javax.swing.BorderFactory;
 import javax.swing.JComponent;
-import javax.swing.SwingConstants;
 import javax.swing.border.Border;
-import javax.swing.border.TitledBorder;
 import javax.swing.border.CompoundBorder;
-import javax.swing.border.EmptyBorder;
 import javax.swing.Box;
 import javax.swing.BoxLayout;
-import javax.swing.filechooser.FileFilter;
 import javax.swing.text.html.HTMLDocument;
 
 import java.awt.Component;
@@ -45,7 +39,6 @@
 import java.awt.Insets;
 import java.awt.Font;
 import java.awt.Color;
-import java.awt.Dimension;
 import java.awt.event.ActionListener;
 import java.awt.event.ActionEvent;
 import java.awt.event.ItemListener;
@@ -54,7 +47,6 @@
 
 import java.io.File;
 import java.util.prefs.Preferences;
-import java.util.Map;
 
 /**
  * WORK IN PROGRESS. <p>

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/BuildDataTypeTree.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/BuildDataTypeTree.java	2005/10/26 08:05:18	1.4
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/BuildDataTypeTree.java	2005/11/06 16:47:11	1.5
@@ -17,13 +17,11 @@
 
 import javax.swing.JTree;
 import javax.swing.JPanel;
-import javax.swing.JTextField;
 import javax.swing.JLabel;
 import javax.swing.JScrollPane;
 import javax.swing.Icon;
 import javax.swing.JPopupMenu;
 import javax.swing.JOptionPane;
-import javax.swing.JMenuItem;
 import javax.swing.ToolTipManager;
 import javax.swing.AbstractAction;
 import javax.swing.tree.DefaultMutableTreeNode;
@@ -31,10 +29,7 @@
 import javax.swing.tree.DefaultTreeCellRenderer;
 import javax.swing.tree.TreeSelectionModel;
 import javax.swing.tree.TreePath;
-import javax.swing.event.TreeSelectionListener;
-import javax.swing.event.TreeSelectionEvent;
 import javax.swing.SwingUtilities;
-import javax.swing.BoxLayout;
 
 import java.awt.Component;
 import java.awt.Font;
@@ -48,13 +43,9 @@
 import javax.swing.BorderFactory;
 import javax.swing.border.Border;
 import javax.swing.border.TitledBorder;
-import javax.swing.border.CompoundBorder;
-import javax.swing.border.EmptyBorder;
-import javax.swing.border.EtchedBorder;
 
 import java.beans.PropertyChangeListener;
 import java.beans.PropertyChangeEvent;
-import java.util.HashSet;
 import java.util.Enumeration;
 
 /**

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/CommonDataTable.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/service/dashboard/CommonDataTable.java	2005/11/06 16:23:49	1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/CommonDataTable.java	2005/11/06 16:47:11	1.2
@@ -8,34 +8,19 @@
 
 package org.biomoby.service.dashboard;
 
-import org.biomoby.shared.MobyDataType;
-import org.biomoby.shared.MobyNamespace;
-import org.biomoby.shared.MobyPrimaryData;
-import org.biomoby.shared.MobyPrimaryDataSimple;
-import org.biomoby.shared.MobyPrimaryDataSet;
-import org.biomoby.shared.MobySecondaryData;
-
 import org.tulsoft.tools.gui.SwingUtils;
 
-import javax.swing.JLabel;
 import javax.swing.Icon;
 import javax.swing.JButton;
 import javax.swing.JScrollPane;
 import javax.swing.JTable;
-import javax.swing.JList;
-import javax.swing.JComboBox;
 import javax.swing.JComponent;
-import javax.swing.ListCellRenderer;
-import javax.swing.DefaultComboBoxModel;
 import javax.swing.table.AbstractTableModel;
 import javax.swing.table.TableCellRenderer;
 import javax.swing.table.TableCellEditor;
 import javax.swing.table.TableColumn;
 import javax.swing.table.JTableHeader;
-import javax.swing.table.DefaultTableCellRenderer;
 import javax.swing.AbstractCellEditor;
-import javax.swing.event.PopupMenuListener;
-import javax.swing.event.PopupMenuEvent;
 
 import java.awt.Component;
 import java.awt.event.ActionEvent;
@@ -136,7 +121,6 @@
     protected JTableHeader createDefaultTableHeader() {
 	return new JTableHeader (columnModel) {
 		public String getToolTipText (MouseEvent e) {
-		    String tip = null;
 		    java.awt.Point p = e.getPoint();
 		    int index = columnModel.getColumnIndexAtX (p.x);
 		    int realIndex = 

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/CommonTree.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/service/dashboard/CommonTree.java	2005/11/05 20:14:49	1.13
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/CommonTree.java	2005/11/06 16:47:11	1.14
@@ -8,7 +8,6 @@
 
 package org.biomoby.service.dashboard;
 
-import org.tulsoft.shared.UUtils;
 import org.tulsoft.tools.gui.SwingUtils;
 
 import javax.swing.JTree;
@@ -28,7 +27,6 @@
 import javax.swing.tree.TreePath;
 import javax.swing.event.TreeSelectionListener;
 import javax.swing.event.TreeSelectionEvent;
-import javax.swing.SwingUtilities;
 
 import java.awt.Component;
 import java.awt.Font;

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/Dashboard.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/Dashboard.java	2005/11/05 17:51:04	1.11
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/Dashboard.java	2005/11/06 16:47:11	1.12
@@ -33,12 +33,10 @@
 
 import java.beans.PropertyChangeListener;
 import java.beans.PropertyChangeEvent;
-import java.beans.PropertyChangeSupport;
 
 import java.util.Vector;
 import java.util.Enumeration;
 import java.util.Properties;
-import java.util.Hashtable;
 import java.util.Date;
 import java.net.URL;
 import java.text.DateFormat;

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/DashboardProperties.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/DashboardProperties.java	2005/11/03 15:21:57	1.10
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/DashboardProperties.java	2005/11/06 16:47:11	1.11
@@ -8,11 +8,6 @@
 
 package org.biomoby.service.dashboard;
 
-import javax.swing.JLabel;
-import javax.swing.text.html.HTMLDocument;
-import javax.swing.Icon;
-import javax.swing.JComponent;
-
 /**
  * A list of names of most/all recognized properties that can be fired
  * by dashboard panels, and a list of names of Java properties that

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/DataTypesBoard.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/DataTypesBoard.java	2005/11/06 16:23:49	1.6
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/DataTypesBoard.java	2005/11/06 16:47:11	1.7
@@ -11,7 +11,6 @@
 import org.biomoby.shared.MobyDataType;
 import org.biomoby.shared.event.NotificationEvent;
 import org.biomoby.shared.event.Notifier;
-import org.tulsoft.shared.UUtils;
 
 /**
  * This is a simple graphical widget combining together a tree (a

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/DataTypesTree.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/DataTypesTree.java	2005/11/06 16:23:49	1.10
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/DataTypesTree.java	2005/11/06 16:47:11	1.11
@@ -15,14 +15,10 @@
 import org.biomoby.service.generator.DataTypesGenerator;
 
 import org.tulsoft.shared.UUtils;
-import javax.swing.JMenuItem;
 import javax.swing.JCheckBoxMenuItem;
-import javax.swing.JProgressBar;
-import javax.swing.AbstractAction;
 import javax.swing.tree.DefaultMutableTreeNode;
 import javax.swing.tree.DefaultTreeModel;
 
-import java.awt.event.ActionEvent;
 import java.awt.event.ItemEvent;
 import java.awt.event.ItemListener;
 
@@ -268,9 +264,6 @@
     void addMembers (DefaultMutableTreeNode node, MobyDataType dataType) {
 	MobyRelationship[] rels = dataType.getChildren();
 	for (int i = 0; i < rels.length; i++) {
-	    String memberName = rels[i].getName();
-	    String memberType = rels[i].getDataTypeName();
-	    int memberRel = rels[i].getRelationshipType();
 	    node.add (new DefaultMutableTreeNode (new MemberNode (rels[i])));
 	}
     }

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/DebuggingPanel.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/service/dashboard/DebuggingPanel.java	2005/10/27 08:55:48	1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/DebuggingPanel.java	2005/11/06 16:47:11	1.2
@@ -16,14 +16,11 @@
 import javax.swing.JTextField;
 import javax.swing.Icon;
 import javax.swing.JComponent;
-import javax.swing.text.html.HTMLDocument;
 
 import java.awt.GridBagLayout;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
 
-import java.util.Map;
-
 /**
  * A debugging panel. <p>
  *

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/JProgressBarWithCancel.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/service/dashboard/JProgressBarWithCancel.java	2005/10/22 01:38:04	1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/JProgressBarWithCancel.java	2005/11/06 16:47:11	1.3
@@ -28,9 +28,7 @@
 
 import java.awt.GridBagLayout;
 import java.awt.GridBagConstraints;
-import java.awt.Dimension;
 import java.awt.Insets;
-import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
 
 /**

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/NamespacesBoard.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/service/dashboard/NamespacesBoard.java	2005/10/28 13:39:09	1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/NamespacesBoard.java	2005/11/06 16:47:11	1.2
@@ -11,7 +11,6 @@
 import org.biomoby.shared.MobyNamespace;
 import org.biomoby.shared.event.NotificationEvent;
 import org.biomoby.shared.event.Notifier;
-import org.tulsoft.shared.UUtils;
 
 /**
  * This is a simple graphical widget combining together a tree (a

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/NamespacesTree.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/NamespacesTree.java	2005/11/06 16:23:49	1.5
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/NamespacesTree.java	2005/11/06 16:47:11	1.6
@@ -9,27 +9,14 @@
 package org.biomoby.service.dashboard;
 
 import org.biomoby.shared.MobyException;
-import org.biomoby.shared.Central;
 import org.biomoby.shared.MobyNamespace;
-import org.biomoby.shared.MobyRelationship;
-import org.biomoby.service.generator.DataTypesGenerator;
 
 import org.tulsoft.shared.UUtils;
-import javax.swing.JMenuItem;
-import javax.swing.JCheckBoxMenuItem;
-import javax.swing.JProgressBar;
-import javax.swing.AbstractAction;
 import javax.swing.tree.DefaultMutableTreeNode;
 import javax.swing.tree.DefaultTreeModel;
 
-import java.awt.event.ActionEvent;
-import java.awt.event.ItemEvent;
-import java.awt.event.ItemListener;
-
 import java.util.HashMap;
 import java.util.HashSet;
-import java.util.Enumeration;
-import java.util.Vector;
 
 /**
  * A component showing and manipulating a tree of namespaces

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/PrimaryDataTable.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/service/dashboard/PrimaryDataTable.java	2005/11/06 16:23:49	1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/PrimaryDataTable.java	2005/11/06 16:47:11	1.2
@@ -13,25 +13,16 @@
 import org.biomoby.shared.MobyPrimaryData;
 import org.biomoby.shared.MobyPrimaryDataSimple;
 import org.biomoby.shared.MobyPrimaryDataSet;
-import org.biomoby.shared.MobySecondaryData;
-
-import org.tulsoft.tools.gui.SwingUtils;
 
 import javax.swing.JLabel;
-import javax.swing.Icon;
-import javax.swing.JButton;
-import javax.swing.JScrollPane;
 import javax.swing.JTable;
 import javax.swing.JList;
 import javax.swing.JComboBox;
-import javax.swing.JComponent;
 import javax.swing.ListCellRenderer;
 import javax.swing.DefaultComboBoxModel;
 import javax.swing.table.AbstractTableModel;
-import javax.swing.table.TableCellRenderer;
 import javax.swing.table.TableCellEditor;
 import javax.swing.table.TableColumn;
-import javax.swing.table.JTableHeader;
 import javax.swing.table.DefaultTableCellRenderer;
 import javax.swing.AbstractCellEditor;
 import javax.swing.event.PopupMenuListener;
@@ -40,9 +31,6 @@
 import java.awt.Component;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
-import java.awt.event.MouseEvent;
-
-import java.util.Vector;
 
 /**
  * A swing JTable that collects definitions of primary data (input or




More information about the MOBY-guts mailing list