You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ch...@apache.org on 2012/11/01 14:21:29 UTC

svn commit: r1404581 - in /airavata/branches/0.5/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya: interpretor/WorkflowInterpretorSkeleton.java ui/dialogs/registry/JCRRegistryWindow.java

Author: chathuri
Date: Thu Nov  1 13:21:29 2012
New Revision: 1404581

URL: http://svn.apache.org/viewvc?rev=1404581&view=rev
Log:
hiding create new registry user

Modified:
    airavata/branches/0.5/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorSkeleton.java
    airavata/branches/0.5/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ui/dialogs/registry/JCRRegistryWindow.java

Modified: airavata/branches/0.5/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorSkeleton.java
URL: http://svn.apache.org/viewvc/airavata/branches/0.5/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorSkeleton.java?rev=1404581&r1=1404580&r2=1404581&view=diff
==============================================================================
--- airavata/branches/0.5/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorSkeleton.java (original)
+++ airavata/branches/0.5/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpretorSkeleton.java Thu Nov  1 13:21:29 2012
@@ -353,7 +353,7 @@ public class WorkflowInterpretorSkeleton
             try {
              //   if(listener != null)
              //   listener.stop();
-            } catch (MonitorException e) {
+            } catch (Exception e) {
                 e.printStackTrace();
             }
         }

Modified: airavata/branches/0.5/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ui/dialogs/registry/JCRRegistryWindow.java
URL: http://svn.apache.org/viewvc/airavata/branches/0.5/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ui/dialogs/registry/JCRRegistryWindow.java?rev=1404581&r1=1404580&r2=1404581&view=diff
==============================================================================
--- airavata/branches/0.5/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ui/dialogs/registry/JCRRegistryWindow.java (original)
+++ airavata/branches/0.5/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ui/dialogs/registry/JCRRegistryWindow.java Thu Nov  1 13:21:29 2012
@@ -57,7 +57,7 @@ public class JCRRegistryWindow {
 
     private JPasswordField passwordTextField;
 
-    private XBayaLinkButton newUserButton;
+//    private XBayaLinkButton newUserButton;
 
     private NewJCRRegistryUserDialog newUserWindow;
 
@@ -151,15 +151,15 @@ public class JCRRegistryWindow {
         XBayaLabel urlLabel = new XBayaLabel("URL", this.urlTextField);
         XBayaLabel nameLabel = new XBayaLabel("Username", this.usernameTextField);
         XBayaLabel passLabel = new XBayaLabel("Password", this.usernameTextField);
-        this.newUserButton = new XBayaLinkButton("Create new user...");
-        newUserButton.setHorizontalAlignment(XBayaLinkButton.RIGHT);
+//        this.newUserButton = new XBayaLinkButton("Create new user...");
+//        newUserButton.setHorizontalAlignment(XBayaLinkButton.RIGHT);
         JLabel emptyLabel = new JLabel("");
 
-        newUserButton.addActionListener(new AbstractAction() {
-            public void actionPerformed(ActionEvent e) {
-                createNewUser();
-            }
-        });
+//        newUserButton.addActionListener(new AbstractAction() {
+//            public void actionPerformed(ActionEvent e) {
+//                createNewUser();
+//            }
+//        });
 
         GridPanel infoPanel = new GridPanel();
 //        infoPanel.add(urlLabel);
@@ -169,8 +169,8 @@ public class JCRRegistryWindow {
         infoPanel.add(passLabel);
         infoPanel.add(this.passwordTextField);
         infoPanel.add(emptyLabel);
-        infoPanel.add(this.newUserButton);
-        infoPanel.layout(3, 2, GridPanel.WEIGHT_NONE, 1);
+//        infoPanel.add(this.newUserButton);
+        infoPanel.layout(2, 2, GridPanel.WEIGHT_NONE, 1);
         
         infoPanel.getSwingComponent().setBorder(BorderFactory.createEtchedBorder());