airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samin...@apache.org
Subject svn commit: r1339582 - in /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya: graph/gui/GraphCanvas.java gui/XBayaToolBar.java
Date Thu, 17 May 2012 12:58:11 GMT
Author: samindaw
Date: Thu May 17 12:58:10 2012
New Revision: 1339582

URL: http://svn.apache.org/viewvc?rev=1339582&view=rev
Log:
toolbar group existance & button check + new workflow graph for a graph canvas set editability
update call

Modified:
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/graph/gui/GraphCanvas.java
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/gui/XBayaToolBar.java

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/graph/gui/GraphCanvas.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/graph/gui/GraphCanvas.java?rev=1339582&r1=1339581&r2=1339582&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/graph/gui/GraphCanvas.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/graph/gui/GraphCanvas.java
Thu May 17 12:58:10 2012
@@ -235,6 +235,7 @@ public class GraphCanvas implements XBay
         updateSize();
         this.panel.repaint();
         updateOriginalWorkflowElement();
+        executionModeChanged(engine.getConfiguration());
     }
 
     /**

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/gui/XBayaToolBar.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/gui/XBayaToolBar.java?rev=1339582&r1=1339581&r2=1339582&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/gui/XBayaToolBar.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/gui/XBayaToolBar.java
Thu May 17 12:58:10 2012
@@ -279,8 +279,10 @@ public class XBayaToolBar implements XBa
     	tempToolbarButtons.putAll(toolbarButtons);
     	for (String groupId : groupIds) {
     		tempToolbarButtons.remove(groupId);
-    		List<ToolbarButton> buttons = toolbarButtons.get(groupId);
-			addButtonsToToolbar(buttons);
+    		if (toolbarButtons.containsKey(groupId) && toolbarButtons.get(groupId)!=null)
{
+				List<ToolbarButton> buttons = toolbarButtons.get(groupId);
+				addButtonsToToolbar(buttons);
+			}
 		}
     	for (String groupId : tempToolbarButtons.keySet()) {
     		List<ToolbarButton> buttons = tempToolbarButtons.get(groupId);



Mime
View raw message