Author: mmichaud
Date: 2009-03-11 08:46:28 -0700 (Wed, 11 Mar 2009)
New Revision: 16203
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/GuiTunableInterceptor.java
Log:
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-10 23:28:39 UTC (rev 16202)
+++
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/GuiHandlerFactory.java
2009-03-11 15:46:28 UTC (rev 16203)
@@ -19,7 +19,7 @@
private BookmarksUtil bkUtil;
private FileUtil flUtil;
- public GuiHandlerFactory(CyProperty<Bookmarks> book, BookmarksUtil
bkUtil) {
+ public GuiHandlerFactory(CyProperty<Bookmarks> book, BookmarksUtil
bkUtil,FileUtil flUtil) {
this.bookmarks = book.getProperties();
this.bkUtil = bkUtil;
this.flUtil = flUtil;
Modified:
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/GuiTunableInterceptor.java
===================================================================
---
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/GuiTunableInterceptor.java
2009-03-10 23:28:39 UTC (rev 16202)
+++
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/GuiTunableInterceptor.java
2009-03-11 15:46:28 UTC (rev 16203)
@@ -4,7 +4,6 @@
import java.awt.Component;
import java.util.ArrayList;
import java.util.HashMap;
-import java.util.List;
import java.util.Map;
import javax.swing.BorderFactory;
@@ -13,6 +12,7 @@
import javax.swing.JPanel;
import javax.swing.border.TitledBorder;
+
import org.cytoscape.work.internal.tunables.utils.*;
import org.cytoscape.work.*;
import org.cytoscape.work.Tunable.Param;
@@ -24,6 +24,7 @@
private Component parent;
private Map<java.util.List<Guihandler>,JPanel> panelMap;
+
public GuiTunableInterceptor(HandlerFactory<Guihandler> factory) {
super( factory );
panelMap = new HashMap<java.util.List<Guihandler>,JPanel>();
@@ -99,8 +100,8 @@
buttons,
buttons[0]);
+
// process the values set in the gui : USELESS BECAUSE OF
LISTENERS
-
if ( n == JOptionPane.OK_OPTION ){
for ( Guihandler h : lh ) h.handle();
return true;
@@ -108,7 +109,9 @@
else
return false;
}
+
+
private JPanel createJPanel(String title, Guihandler gh) {
if ( gh == null )
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---