airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1182864 - in /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya: appwrapper/RegisterApplicationsMenu.java component/gui/ComponentMenu.java
Date Thu, 13 Oct 2011 14:09:34 GMT
Author: lahiru
Date: Thu Oct 13 14:09:33 2011
New Revision: 1182864

URL: http://svn.apache.org/viewvc?rev=1182864&view=rev
Log:
removing XRegistry items from menu and fixing build error: https://issues.apache.org/jira/browse/AIRAVATA-140.

Modified:
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/appwrapper/RegisterApplicationsMenu.java
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/component/gui/ComponentMenu.java

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/appwrapper/RegisterApplicationsMenu.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/appwrapper/RegisterApplicationsMenu.java?rev=1182864&r1=1182863&r2=1182864&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/appwrapper/RegisterApplicationsMenu.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/appwrapper/RegisterApplicationsMenu.java
Thu Oct 13 14:09:33 2011
@@ -31,7 +31,6 @@ import javax.swing.JMenuItem;
 import org.apache.airavata.xbaya.XBayaEngine;
 import org.apache.airavata.xbaya.component.gui.JCRRegistryWindow;
 import org.apache.airavata.xbaya.myproxy.gui.MyProxyChecker;
-import org.apache.airavata.xbaya.registrybrowser.JCRBrowserDialog;
 
 public class RegisterApplicationsMenu {
 

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/component/gui/ComponentMenu.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/component/gui/ComponentMenu.java?rev=1182864&r1=1182863&r2=1182864&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/component/gui/ComponentMenu.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/component/gui/ComponentMenu.java
Thu Oct 13 14:09:33 2011
@@ -92,7 +92,6 @@ public class ComponentMenu {
 	private void createComponentMenu() {
 		this.fileRegistryItem = createFileRegistryMenuItem();
 		this.jcrRegistryItem = createJCRRegistryItem();
-		this.xregistryItem = createXRegistryItem();
 		this.webItem = createWebRegistryItem();
 		this.urlItem = createURLRegistryItem();
 		this.workflowItem = createWorkflowItem();
@@ -100,11 +99,9 @@ public class ComponentMenu {
 		this.refreshSelectedItem = createRefreshSelectedRegistryItem();
 		this.refreshAllItem = createRefreshAllRegistriesItem();
 		this.streamSourceItem = createStreamSourceItem();
-
 		this.componentMenu = new JMenu("Component");
 		this.componentMenu.setMnemonic(KeyEvent.VK_C);
 		this.componentMenu.add(this.fileRegistryItem);
-		this.componentMenu.add(this.xregistryItem);
 		this.componentMenu.add(this.jcrRegistryItem);
 		this.componentMenu.add(this.webItem);
 		this.componentMenu.add(this.urlItem);
@@ -293,24 +290,10 @@ public class ComponentMenu {
 		return item;
 	}
 
-	private JMenuItem createXRegistryItem() {
-		JMenuItem item = new JMenuItem("Add XRegistry");
-		item.setMnemonic(KeyEvent.VK_X);
-		item.addActionListener(new AbstractAction() {
-			private XRegistryWindow window;
 
-			public void actionPerformed(ActionEvent e) {
-				if (this.window == null) {
-					this.window = new XRegistryWindow(ComponentMenu.this.engine);
-				}
-				this.window.show();
-			}
-		});
-		return item;
-	}
 
 	private JMenuItem createJCRRegistryItem() {
-		JMenuItem item = new JMenuItem("Add JCR Registry");
+		JMenuItem item = new JMenuItem("Add Registry");
 		item.setMnemonic(KeyEvent.VK_J);
 		item.addActionListener(new AbstractAction() {
 			private JCRRegistryWindow window;



Mime
View raw message