Author: mmichaud
Date: 2009-03-30 10:50:22 -0700 (Mon, 30 Mar 2009)
New Revision: 16354
Modified:
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/FileHandler.java
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/GuiHandlerFactory.java
Log:
Modified:
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/FileHandler.java
===================================================================
---
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/FileHandler.java
2009-03-30 17:19:44 UTC (rev 16353)
+++
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/FileHandler.java
2009-03-30 17:50:22 UTC (rev 16354)
@@ -7,8 +7,6 @@
import java.awt.event.*;
import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
import java.io.InputStream;
import org.cytoscape.work.Tunable;
@@ -16,10 +14,10 @@
import org.jdesktop.layout.GroupLayout;
import org.jdesktop.layout.LayoutStyle;
-
import cytoscape.Cytoscape;
+
public class FileHandler extends AbstractGuiHandler {
File myFile;
Modified:
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/GuiHandlerFactory.java
===================================================================
---
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/GuiHandlerFactory.java
2009-03-30 17:19:44 UTC (rev 16353)
+++
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/GuiHandlerFactory.java
2009-03-30 17:50:22 UTC (rev 16354)
@@ -19,22 +19,20 @@
import org.cytoscape.work.util.ListMultipleSelection;
import org.cytoscape.work.util.ListSingleSelection;
-import cytoscape.util.FileUtil;
-import org.cytoscape.io.util.StreamUtil;
public class GuiHandlerFactory implements HandlerFactory<Guihandler> {
private Bookmarks bookmarks;
private BookmarksUtil bkUtil;
- private FileUtil flUtil;
- private StreamUtil stUtil;
+// private FileUtil flUtil;
+// private StreamUtil stUtil;
public GuiHandlerFactory(CyProperty<Bookmarks> book, BookmarksUtil
bkUtil) {
this.bookmarks = book.getProperties();
this.bkUtil = bkUtil;
- this.flUtil = flUtil;
- this.stUtil = stUtil;
+// this.flUtil = flUtil;
+// this.stUtil = stUtil;
}
public Guihandler getHandler(Method m, Object o, Tunable t) {
@@ -44,7 +42,6 @@
public Guihandler getHandler(Field f, Object o, Tunable t){
Class<?> type = f.getType();
-
if(type == Integer.class || type == int.class)
return new IntegerHandler(f,o,t);
else if(type == Double.class || type == double.class)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en
-~----------~----~----~----~------~----~------~--~---