[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Thu Feb 3 21:40:36 UTC 2011
gordonp
Thu Feb 3 16:40:36 EST 2011
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui
In directory dev.open-bio.org:/tmp/cvs-serv19982/src/main/ca/ucalgary/seahawk/gui
Modified Files:
DataImportChoiceDialog.java
Log Message:
Fixed javadoc and enabled multi-selection (import more than one item to the clipboard at a time)
moby-live/Java/src/main/ca/ucalgary/seahawk/gui DataImportChoiceDialog.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/DataImportChoiceDialog.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/gui/DataImportChoiceDialog.java 2010/04/11 02:25:03 1.1
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/DataImportChoiceDialog.java 2011/02/03 21:40:36 1.2
@@ -1,11 +1,8 @@
package ca.ucalgary.seahawk.gui;
/**
- * Generates a preview of a Taverna2 workflow and shows it in a dialog where
- * metadata such as title, author, and description can be entered.
- *
- * Renders the workflow using a remote CGI and asks the user if they want to
- * proceed with the export of the workflow.
+ * Generates a dialog for the user to select what Moby object(s) should be
+ * imported from the legacy data being pasted into Seahawk.
*/
import java.awt.*;
@@ -42,6 +39,7 @@
// Default select items inheriting from the preferred data type, or
choiceList = new JList(this.dataChoices);
+ choiceList.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
Vector<Integer> initialSelectionIndices = new Vector<Integer>();
if(preferredDataType != null && !preferredDataType.getName().equals(MobyTags.MOBYOBJECT)){
for(int i = 0; i < dataChoices.length; i++){
More information about the MOBY-guts
mailing list