You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2011/10/31 07:48:31 UTC

svn commit: r1195355 [12/14] - in /incubator/airavata/trunk/modules: commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/type/ commons/gfac-schema/src/main/java/org/apache/airavata/commons/gfac/wsdl/ commons/registry-api/src/main/java/or...

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/AiravataTreeNodeFactory.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/AiravataTreeNodeFactory.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/AiravataTreeNodeFactory.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/AiravataTreeNodeFactory.java Mon Oct 31 06:48:11 2011
@@ -21,58 +21,73 @@
 
 package org.apache.airavata.xbaya.registrybrowser.nodes;
 
+import javax.swing.tree.DefaultMutableTreeNode;
+import javax.swing.tree.TreeNode;
+
 import org.apache.airavata.commons.gfac.type.HostDescription;
 import org.apache.airavata.commons.gfac.type.ServiceDescription;
 import org.apache.airavata.xbaya.XBayaEngine;
-import org.apache.airavata.xbaya.registrybrowser.model.*;
-
-import javax.swing.tree.DefaultMutableTreeNode;
-import javax.swing.tree.TreeNode;
+import org.apache.airavata.xbaya.registrybrowser.model.ApplicationDeploymentDescriptionWrap;
+import org.apache.airavata.xbaya.registrybrowser.model.ApplicationDeploymentDescriptions;
+import org.apache.airavata.xbaya.registrybrowser.model.GFacURL;
+import org.apache.airavata.xbaya.registrybrowser.model.GFacURLs;
+import org.apache.airavata.xbaya.registrybrowser.model.HostDescriptions;
+import org.apache.airavata.xbaya.registrybrowser.model.InputParameters;
+import org.apache.airavata.xbaya.registrybrowser.model.OutputParameters;
+import org.apache.airavata.xbaya.registrybrowser.model.ServiceDescriptions;
+import org.apache.airavata.xbaya.registrybrowser.model.ServiceParameter;
+import org.apache.airavata.xbaya.registrybrowser.model.ServiceParameters;
+import org.apache.airavata.xbaya.registrybrowser.model.XBayaWorkflow;
+import org.apache.airavata.xbaya.registrybrowser.model.XBayaWorkflowExperiment;
+import org.apache.airavata.xbaya.registrybrowser.model.XBayaWorkflowExperiments;
+import org.apache.airavata.xbaya.registrybrowser.model.XBayaWorkflowService;
+import org.apache.airavata.xbaya.registrybrowser.model.XBayaWorkflowTemplate;
+import org.apache.airavata.xbaya.registrybrowser.model.XBayaWorkflowTemplates;
 
 public class AiravataTreeNodeFactory {
-	public static TreeNode getTreeNode(Object o,TreeNode parent){
-        if (o instanceof XBayaEngine){
-            return new RegistryNode((XBayaEngine)o,parent);
-        }/*else if (o instanceof Registry){
-//			return new RegistryNode((Registry)o,parent);
-		}*/else if (o instanceof GFacURLs){
-			return new GFacURLsNode((GFacURLs)o,parent);
-		}else if (o instanceof GFacURL){
-			return new GFacURLNode((GFacURL)o,parent);
-		}else if (o instanceof HostDescriptions){
-			return new HostDescriptionsNode((HostDescriptions)o,parent);
-		}else if (o instanceof HostDescription){
-			return new HostDescriptionNode((HostDescription)o,parent);
-		}else if (o instanceof ServiceDescriptions){
-			return new ServiceDescriptionsNode((ServiceDescriptions)o,parent);
-		}else if (o instanceof ServiceDescription){
-			return new ServiceDescriptionNode((ServiceDescription)o,parent);
-		}else if (o instanceof ApplicationDeploymentDescriptions){
-			return new ApplicationDeploymentDescriptionsNode((ApplicationDeploymentDescriptions)o,parent);
-		}else if (o instanceof ApplicationDeploymentDescriptionWrap){
-			return new ApplicationDeploymentDescriptionNode((ApplicationDeploymentDescriptionWrap)o,parent);
-		}else if (o instanceof XBayaWorkflowTemplates){
-			return new XBayaWorkflowTemplatesNode((XBayaWorkflowTemplates)o,parent);
-		}else if (o instanceof XBayaWorkflowTemplate){
-			return new XBayaWorkflowTemplateNode((XBayaWorkflowTemplate)o,parent);
-		}else if (o instanceof ServiceParameter){
-			return new ParameterNode((ServiceParameter)o,parent);
-		}else if (o instanceof InputParameters){
-			return new InputParametersNode((InputParameters)o,parent);
-		}else if (o instanceof OutputParameters){
-			return new OutputParametersNode((OutputParameters)o,parent);
-		}else if (o instanceof ServiceParameters){
-			return new ParametersNode((ServiceParameters)o,parent);
-		}else if (o instanceof XBayaWorkflowExperiments){
-			return new XBayaWorkflowExperimentsNode((XBayaWorkflowExperiments)o,parent);
-		}else if (o instanceof XBayaWorkflowExperiment){
-			return new XBayaWorkflowExperimentNode((XBayaWorkflowExperiment)o,parent);
-		}else if (o instanceof XBayaWorkflow){
-			return new XBayaWorkflowNode((XBayaWorkflow)o,parent);
-		}else if (o instanceof XBayaWorkflowService){
-			return new XBayaWorkflowServiceNode((XBayaWorkflowService)o,parent);
-		}else{
-			return new DefaultMutableTreeNode(o);
-		}
-	}
+    public static TreeNode getTreeNode(Object o, TreeNode parent) {
+        if (o instanceof XBayaEngine) {
+            return new RegistryNode((XBayaEngine) o, parent);
+        }/*
+          * else if (o instanceof Registry){ // return new RegistryNode((Registry)o,parent); }
+          */else if (o instanceof GFacURLs) {
+            return new GFacURLsNode((GFacURLs) o, parent);
+        } else if (o instanceof GFacURL) {
+            return new GFacURLNode((GFacURL) o, parent);
+        } else if (o instanceof HostDescriptions) {
+            return new HostDescriptionsNode((HostDescriptions) o, parent);
+        } else if (o instanceof HostDescription) {
+            return new HostDescriptionNode((HostDescription) o, parent);
+        } else if (o instanceof ServiceDescriptions) {
+            return new ServiceDescriptionsNode((ServiceDescriptions) o, parent);
+        } else if (o instanceof ServiceDescription) {
+            return new ServiceDescriptionNode((ServiceDescription) o, parent);
+        } else if (o instanceof ApplicationDeploymentDescriptions) {
+            return new ApplicationDeploymentDescriptionsNode((ApplicationDeploymentDescriptions) o, parent);
+        } else if (o instanceof ApplicationDeploymentDescriptionWrap) {
+            return new ApplicationDeploymentDescriptionNode((ApplicationDeploymentDescriptionWrap) o, parent);
+        } else if (o instanceof XBayaWorkflowTemplates) {
+            return new XBayaWorkflowTemplatesNode((XBayaWorkflowTemplates) o, parent);
+        } else if (o instanceof XBayaWorkflowTemplate) {
+            return new XBayaWorkflowTemplateNode((XBayaWorkflowTemplate) o, parent);
+        } else if (o instanceof ServiceParameter) {
+            return new ParameterNode((ServiceParameter) o, parent);
+        } else if (o instanceof InputParameters) {
+            return new InputParametersNode((InputParameters) o, parent);
+        } else if (o instanceof OutputParameters) {
+            return new OutputParametersNode((OutputParameters) o, parent);
+        } else if (o instanceof ServiceParameters) {
+            return new ParametersNode((ServiceParameters) o, parent);
+        } else if (o instanceof XBayaWorkflowExperiments) {
+            return new XBayaWorkflowExperimentsNode((XBayaWorkflowExperiments) o, parent);
+        } else if (o instanceof XBayaWorkflowExperiment) {
+            return new XBayaWorkflowExperimentNode((XBayaWorkflowExperiment) o, parent);
+        } else if (o instanceof XBayaWorkflow) {
+            return new XBayaWorkflowNode((XBayaWorkflow) o, parent);
+        } else if (o instanceof XBayaWorkflowService) {
+            return new XBayaWorkflowServiceNode((XBayaWorkflowService) o, parent);
+        } else {
+            return new DefaultMutableTreeNode(o);
+        }
+    }
 }

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ApplicationDeploymentDescriptionNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ApplicationDeploymentDescriptionNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ApplicationDeploymentDescriptionNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ApplicationDeploymentDescriptionNode.java Mon Oct 31 06:48:11 2011
@@ -52,7 +52,8 @@ public class ApplicationDeploymentDescri
 
     @Override
     public String getCaption(boolean selected, boolean expanded, boolean leaf, boolean hasFocus) {
-        return getApplicationDeploymentDescriptionWrap().getDescription().getType().getApplicationName().getStringValue();
+        return getApplicationDeploymentDescriptionWrap().getDescription().getType().getApplicationName()
+                .getStringValue();
     }
 
     @Override
@@ -74,6 +75,7 @@ public class ApplicationDeploymentDescri
         return Arrays.asList(EditAction.ID, DeleteAction.ID);
     }
 
+    @Override
     public boolean triggerAction(JTree tree, String action) throws Exception {
         if (action.equals(DeleteAction.ID)) {
             deleteApplicationDescription(tree);
@@ -88,10 +90,13 @@ public class ApplicationDeploymentDescri
     private void deleteApplicationDescription(JTree tree) throws RegistryException {
         if (askQuestion("Application description",
                 "Are you sure that you want to remove the application description \""
-                        + getApplicationDeploymentDescriptionWrap().getDescription().getType().getApplicationName().getStringValue() + "\"?")) {
-            getRegistry().deleteDeploymentDescription(getApplicationDeploymentDescriptionWrap().getService(),
+                        + getApplicationDeploymentDescriptionWrap().getDescription().getType().getApplicationName()
+                                .getStringValue() + "\"?")) {
+            getRegistry().deleteDeploymentDescription(
+                    getApplicationDeploymentDescriptionWrap().getService(),
                     getApplicationDeploymentDescriptionWrap().getHost(),
-                    getApplicationDeploymentDescriptionWrap().getDescription().getType().getApplicationName().getStringValue());
+                    getApplicationDeploymentDescriptionWrap().getDescription().getType().getApplicationName()
+                            .getStringValue());
             ((AbstractAiravataTreeNode) getParent()).refresh();
             reloadTreeNode(tree, getParent());
         }

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ApplicationDeploymentDescriptionsNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ApplicationDeploymentDescriptionsNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ApplicationDeploymentDescriptionsNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ApplicationDeploymentDescriptionsNode.java Mon Oct 31 06:48:11 2011
@@ -21,6 +21,13 @@
 
 package org.apache.airavata.xbaya.registrybrowser.nodes;
 
+import java.util.Arrays;
+import java.util.List;
+
+import javax.swing.Icon;
+import javax.swing.JTree;
+import javax.swing.tree.TreeNode;
+
 import org.apache.airavata.common.utils.SwingUtil;
 import org.apache.airavata.registry.api.Registry;
 import org.apache.airavata.registry.api.exception.RegistryException;
@@ -32,11 +39,6 @@ import org.apache.airavata.xbaya.registr
 import org.apache.airavata.xbaya.registrybrowser.model.ApplicationDeploymentDescriptionWrap;
 import org.apache.airavata.xbaya.registrybrowser.model.ApplicationDeploymentDescriptions;
 
-import javax.swing.*;
-import javax.swing.tree.TreeNode;
-import java.util.Arrays;
-import java.util.List;
-
 public class ApplicationDeploymentDescriptionsNode extends AbstractAiravataTreeNode {
     private ApplicationDeploymentDescriptions applicationDeploymentDescriptions;
 
@@ -79,12 +81,14 @@ public class ApplicationDeploymentDescri
         return Arrays.asList(AddAction.ID, RefreshAction.ID, DeleteAction.ID);
     }
 
+    @Override
     public boolean triggerAction(JTree tree, String action) throws Exception {
         if (action.equals(DeleteAction.ID)) {
             deleteApplicationDescription(tree);
             return true;
         } else if (action.equals(AddAction.ID)) {
-            ApplicationDescriptionDialog applicationDescriptionDialog = new ApplicationDescriptionDialog(getXBayaEngine());
+            ApplicationDescriptionDialog applicationDescriptionDialog = new ApplicationDescriptionDialog(
+                    getXBayaEngine());
             applicationDescriptionDialog.open();
             if (applicationDescriptionDialog.isApplicationDescCreated()) {
                 refresh();

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/HostDescriptionNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/HostDescriptionNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/HostDescriptionNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/HostDescriptionNode.java Mon Oct 31 06:48:11 2011
@@ -72,6 +72,7 @@ public class HostDescriptionNode extends
         return Arrays.asList(EditAction.ID, DeleteAction.ID);
     }
 
+    @Override
     public boolean triggerAction(JTree tree, String action) throws Exception {
         if (action.equals(DeleteAction.ID)) {
             deleteHostDescription(tree);

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/HostDescriptionsNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/HostDescriptionsNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/HostDescriptionsNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/HostDescriptionsNode.java Mon Oct 31 06:48:11 2011
@@ -21,6 +21,13 @@
 
 package org.apache.airavata.xbaya.registrybrowser.nodes;
 
+import java.util.Arrays;
+import java.util.List;
+
+import javax.swing.Icon;
+import javax.swing.JTree;
+import javax.swing.tree.TreeNode;
+
 import org.apache.airavata.common.utils.SwingUtil;
 import org.apache.airavata.commons.gfac.type.HostDescription;
 import org.apache.airavata.registry.api.Registry;
@@ -32,11 +39,6 @@ import org.apache.airavata.xbaya.registr
 import org.apache.airavata.xbaya.registrybrowser.menu.RefreshAction;
 import org.apache.airavata.xbaya.registrybrowser.model.HostDescriptions;
 
-import javax.swing.*;
-import javax.swing.tree.TreeNode;
-import java.util.Arrays;
-import java.util.List;
-
 public class HostDescriptionsNode extends AbstractAiravataTreeNode {
     private HostDescriptions hostDescriptions;
 
@@ -78,6 +80,7 @@ public class HostDescriptionsNode extend
         return Arrays.asList(AddAction.ID, RefreshAction.ID, DeleteAction.ID);
     }
 
+    @Override
     public boolean triggerAction(JTree tree, String action) throws Exception {
         if (action.equals(DeleteAction.ID)) {
             deleteHostDescription(tree);
@@ -85,7 +88,7 @@ public class HostDescriptionsNode extend
         } else if (action.equals(AddAction.ID)) {
             HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(getXBayaEngine());
             // TODO : remove this
-            //hostDescriptionDialog.open();
+            // hostDescriptionDialog.open();
             hostDescriptionDialog.show();
             if (hostDescriptionDialog.isHostCreated()) {
                 refresh();

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/InputParametersNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/InputParametersNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/InputParametersNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/InputParametersNode.java Mon Oct 31 06:48:11 2011
@@ -29,19 +29,17 @@ import org.apache.airavata.xbaya.registr
 
 public class InputParametersNode extends ParametersNode {
 
-	public InputParametersNode(InputParameters parameters, TreeNode parent) {
-		super(parameters, parent);
-	}
+    public InputParametersNode(InputParameters parameters, TreeNode parent) {
+        super(parameters, parent);
+    }
 
-	@Override
-	public String getCaption(boolean selected, boolean expanded, boolean leaf,
-			boolean hasFocus) {
-		return "Input";
-	}
-	
-	@Override
-	public Icon getIcon(boolean selected, boolean expanded, boolean leaf,
-			boolean hasFocus) {
-		return SwingUtil.createImageIcon("input_para.png");
-	}
+    @Override
+    public String getCaption(boolean selected, boolean expanded, boolean leaf, boolean hasFocus) {
+        return "Input";
+    }
+
+    @Override
+    public Icon getIcon(boolean selected, boolean expanded, boolean leaf, boolean hasFocus) {
+        return SwingUtil.createImageIcon("input_para.png");
+    }
 }

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/OutputParametersNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/OutputParametersNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/OutputParametersNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/OutputParametersNode.java Mon Oct 31 06:48:11 2011
@@ -29,19 +29,17 @@ import org.apache.airavata.xbaya.registr
 
 public class OutputParametersNode extends ParametersNode {
 
-	public OutputParametersNode(OutputParameters parameters, TreeNode parent) {
-		super(parameters, parent);
-	}
+    public OutputParametersNode(OutputParameters parameters, TreeNode parent) {
+        super(parameters, parent);
+    }
 
-	@Override
-	public String getCaption(boolean selected, boolean expanded, boolean leaf,
-			boolean hasFocus) {
-		return "Output";
-	}
-	
-	@Override
-	public Icon getIcon(boolean selected, boolean expanded, boolean leaf,
-			boolean hasFocus) {
-		return SwingUtil.createImageIcon("output_para.png");
-	}
+    @Override
+    public String getCaption(boolean selected, boolean expanded, boolean leaf, boolean hasFocus) {
+        return "Output";
+    }
+
+    @Override
+    public Icon getIcon(boolean selected, boolean expanded, boolean leaf, boolean hasFocus) {
+        return SwingUtil.createImageIcon("output_para.png");
+    }
 }

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ParameterNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ParameterNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ParameterNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ParameterNode.java Mon Oct 31 06:48:11 2011
@@ -33,63 +33,62 @@ import org.apache.airavata.xbaya.registr
 import org.apache.airavata.xbaya.registrybrowser.model.ServiceParameter;
 
 public class ParameterNode extends AbstractAiravataTreeNode {
-	private ServiceParameter parameter;
-	
-	public ParameterNode(ServiceParameter parameter, TreeNode parent) {
-		super(parent);
-		setParameter(parameter);
-	}
-
-	@Override
-	protected List<TreeNode> getChildren() {
-		return emptyList();
-	}
-
-	@Override
-	public String getCaption(boolean selected, boolean expanded, boolean leaf,
-			boolean hasFocus) {
-		if (getParameter().getValue()!=null){
-			return wrapAsHtml(getParameter().getName(),": ","<i>"+getParameter().getValue().toString()+"</i>");
-		}else{
-			return getParameter().getName();
-		}
-	}
-
-	@Override
-	public Icon getIcon(boolean selected, boolean expanded, boolean leaf,
-			boolean hasFocus) {
-		return SwingUtil.createImageIcon("parameter.png");
-	}
-
-	@Override
-	public List<String> getSupportedActions() {
-		return Arrays.asList();
-	}
-
-	public boolean triggerAction(JTree tree,String action) throws Exception{
-		return super.triggerAction(tree, action);
-	}
-
-	@Override
-	public String getActionCaption(AbstractBrowserActionItem action) {
-		return action.getDefaultCaption();
-	}
-
-	@Override
-	public Icon getActionIcon(AbstractBrowserActionItem action) {
-		return null;
-	}
-
-	@Override
-	public String getActionDescription(AbstractBrowserActionItem action) {
-		return null;
-	}
-
-	public ServiceParameter getParameter() {
-		return parameter;
-	}
-
-	public void setParameter(ServiceParameter parameter) {
-		this.parameter = parameter;
-	}
+    private ServiceParameter parameter;
+
+    public ParameterNode(ServiceParameter parameter, TreeNode parent) {
+        super(parent);
+        setParameter(parameter);
+    }
+
+    @Override
+    protected List<TreeNode> getChildren() {
+        return emptyList();
+    }
+
+    @Override
+    public String getCaption(boolean selected, boolean expanded, boolean leaf, boolean hasFocus) {
+        if (getParameter().getValue() != null) {
+            return wrapAsHtml(getParameter().getName(), ": ", "<i>" + getParameter().getValue().toString() + "</i>");
+        } else {
+            return getParameter().getName();
+        }
+    }
+
+    @Override
+    public Icon getIcon(boolean selected, boolean expanded, boolean leaf, boolean hasFocus) {
+        return SwingUtil.createImageIcon("parameter.png");
+    }
+
+    @Override
+    public List<String> getSupportedActions() {
+        return Arrays.asList();
+    }
+
+    @Override
+    public boolean triggerAction(JTree tree, String action) throws Exception {
+        return super.triggerAction(tree, action);
+    }
+
+    @Override
+    public String getActionCaption(AbstractBrowserActionItem action) {
+        return action.getDefaultCaption();
+    }
+
+    @Override
+    public Icon getActionIcon(AbstractBrowserActionItem action) {
+        return null;
+    }
+
+    @Override
+    public String getActionDescription(AbstractBrowserActionItem action) {
+        return null;
+    }
+
+    public ServiceParameter getParameter() {
+        return parameter;
+    }
+
+    public void setParameter(ServiceParameter parameter) {
+        this.parameter = parameter;
+    }
 }

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ParameterValueNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ParameterValueNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ParameterValueNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ParameterValueNode.java Mon Oct 31 06:48:11 2011
@@ -33,59 +33,58 @@ import org.apache.airavata.schemas.gfac.
 import org.apache.airavata.xbaya.registrybrowser.menu.AbstractBrowserActionItem;
 
 public class ParameterValueNode extends AbstractAiravataTreeNode {
-	private Parameter parameter;
-	
-	public ParameterValueNode(Parameter parameter, TreeNode parent) {
-		super(parent);
-		setParameter(parameter);
-	}
-
-	@Override
-	protected List<TreeNode> getChildren() {
-		return emptyList();
-	}
-
-	@Override
-	public String getCaption(boolean selected, boolean expanded, boolean leaf,
-			boolean hasFocus) {
-		return getParameter().getParameterName();
-	}
-
-	@Override
-	public Icon getIcon(boolean selected, boolean expanded, boolean leaf,
-			boolean hasFocus) {
-		return SwingUtil.createImageIcon("parameter.png");
-	}
-
-	@Override
-	public List<String> getSupportedActions() {
-		return Arrays.asList();
-	}
-
-	public boolean triggerAction(JTree tree,String action) throws Exception{
-		return super.triggerAction(tree, action);
-	}
-
-	@Override
-	public String getActionCaption(AbstractBrowserActionItem action) {
-		return action.getDefaultCaption();
-	}
-
-	@Override
-	public Icon getActionIcon(AbstractBrowserActionItem action) {
-		return null;
-	}
-
-	@Override
-	public String getActionDescription(AbstractBrowserActionItem action) {
-		return null;
-	}
-
-	public Parameter getParameter() {
-		return parameter;
-	}
-
-	public void setParameter(Parameter parameter) {
-		this.parameter = parameter;
-	}
+    private Parameter parameter;
+
+    public ParameterValueNode(Parameter parameter, TreeNode parent) {
+        super(parent);
+        setParameter(parameter);
+    }
+
+    @Override
+    protected List<TreeNode> getChildren() {
+        return emptyList();
+    }
+
+    @Override
+    public String getCaption(boolean selected, boolean expanded, boolean leaf, boolean hasFocus) {
+        return getParameter().getParameterName();
+    }
+
+    @Override
+    public Icon getIcon(boolean selected, boolean expanded, boolean leaf, boolean hasFocus) {
+        return SwingUtil.createImageIcon("parameter.png");
+    }
+
+    @Override
+    public List<String> getSupportedActions() {
+        return Arrays.asList();
+    }
+
+    @Override
+    public boolean triggerAction(JTree tree, String action) throws Exception {
+        return super.triggerAction(tree, action);
+    }
+
+    @Override
+    public String getActionCaption(AbstractBrowserActionItem action) {
+        return action.getDefaultCaption();
+    }
+
+    @Override
+    public Icon getActionIcon(AbstractBrowserActionItem action) {
+        return null;
+    }
+
+    @Override
+    public String getActionDescription(AbstractBrowserActionItem action) {
+        return null;
+    }
+
+    public Parameter getParameter() {
+        return parameter;
+    }
+
+    public void setParameter(Parameter parameter) {
+        this.parameter = parameter;
+    }
 }

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ParametersNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ParametersNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ParametersNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ParametersNode.java Mon Oct 31 06:48:11 2011
@@ -33,59 +33,59 @@ import org.apache.airavata.xbaya.registr
 import org.apache.airavata.xbaya.registrybrowser.model.ServiceParameters;
 
 public class ParametersNode extends AbstractAiravataTreeNode {
-	private ServiceParameters parametersList;
-	public ParametersNode(ServiceParameters parameters,TreeNode parent) {
-		super(parent);
-		setParametersList(parameters);
-	}
-
-	@Override
-	protected List<TreeNode> getChildren() {
-		return getTreeNodeList(getParametersList().getParameters().toArray(), this);
-	}
-
-	@Override
-	public String getCaption(boolean selected, boolean expanded, boolean leaf,
-			boolean hasFocus) {
-		return "Parameters";
-	}
-
-	@Override
-	public Icon getIcon(boolean selected, boolean expanded, boolean leaf,
-			boolean hasFocus) {
-		return SwingUtil.createImageIcon("parameter.png");
-	}
-
-	@Override
-	public List<String> getSupportedActions() {
-		return Arrays.asList();
-	}
-	
-	public boolean triggerAction(JTree tree,String action) throws Exception{
-		return super.triggerAction(tree, action);
-	}
-
-	@Override
-	public String getActionCaption(AbstractBrowserActionItem action) {
-		return action.getDefaultCaption();
-	}
-
-	@Override
-	public Icon getActionIcon(AbstractBrowserActionItem action) {
-		return null;
-	}
-
-	@Override
-	public String getActionDescription(AbstractBrowserActionItem action) {
-		return null;
-	}
-
-	public ServiceParameters getParametersList() {
-		return parametersList;
-	}
-
-	public void setParametersList(ServiceParameters parametersList) {
-		this.parametersList = parametersList;
-	}
+    private ServiceParameters parametersList;
+
+    public ParametersNode(ServiceParameters parameters, TreeNode parent) {
+        super(parent);
+        setParametersList(parameters);
+    }
+
+    @Override
+    protected List<TreeNode> getChildren() {
+        return getTreeNodeList(getParametersList().getParameters().toArray(), this);
+    }
+
+    @Override
+    public String getCaption(boolean selected, boolean expanded, boolean leaf, boolean hasFocus) {
+        return "Parameters";
+    }
+
+    @Override
+    public Icon getIcon(boolean selected, boolean expanded, boolean leaf, boolean hasFocus) {
+        return SwingUtil.createImageIcon("parameter.png");
+    }
+
+    @Override
+    public List<String> getSupportedActions() {
+        return Arrays.asList();
+    }
+
+    @Override
+    public boolean triggerAction(JTree tree, String action) throws Exception {
+        return super.triggerAction(tree, action);
+    }
+
+    @Override
+    public String getActionCaption(AbstractBrowserActionItem action) {
+        return action.getDefaultCaption();
+    }
+
+    @Override
+    public Icon getActionIcon(AbstractBrowserActionItem action) {
+        return null;
+    }
+
+    @Override
+    public String getActionDescription(AbstractBrowserActionItem action) {
+        return null;
+    }
+
+    public ServiceParameters getParametersList() {
+        return parametersList;
+    }
+
+    public void setParametersList(ServiceParameters parametersList) {
+        this.parametersList = parametersList;
+    }
 
 }

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/RegistryNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/RegistryNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/RegistryNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/RegistryNode.java Mon Oct 31 06:48:11 2011
@@ -21,18 +21,24 @@
 
 package org.apache.airavata.xbaya.registrybrowser.nodes;
 
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+
+import javax.swing.Icon;
+import javax.swing.tree.TreeNode;
+
 import org.apache.airavata.common.utils.SwingUtil;
 import org.apache.airavata.registry.api.Registry;
 import org.apache.airavata.xbaya.XBayaEngine;
 import org.apache.airavata.xbaya.registrybrowser.menu.AbstractBrowserActionItem;
 import org.apache.airavata.xbaya.registrybrowser.menu.RefreshAction;
-import org.apache.airavata.xbaya.registrybrowser.model.*;
-
-import javax.swing.*;
-import javax.swing.tree.TreeNode;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
+import org.apache.airavata.xbaya.registrybrowser.model.ApplicationDeploymentDescriptions;
+import org.apache.airavata.xbaya.registrybrowser.model.GFacURLs;
+import org.apache.airavata.xbaya.registrybrowser.model.HostDescriptions;
+import org.apache.airavata.xbaya.registrybrowser.model.ServiceDescriptions;
+import org.apache.airavata.xbaya.registrybrowser.model.XBayaWorkflowExperiments;
+import org.apache.airavata.xbaya.registrybrowser.model.XBayaWorkflowTemplates;
 
 public class RegistryNode extends AbstractAiravataTreeNode {
     private Registry registry;
@@ -41,9 +47,10 @@ public class RegistryNode extends Abstra
     public RegistryNode(XBayaEngine engine, TreeNode parent) {
         super(parent);
         setRegistry(engine.getConfiguration().getJcrComponentRegistry().getRegistry());
-        this.engine=engine;
+        this.engine = engine;
     }
 
+    @Override
     protected List<TreeNode> getChildren() {
         List<Object> children = new ArrayList<Object>();
         GFacURLs gFacURLs = new GFacURLs(getRegistry());
@@ -62,6 +69,7 @@ public class RegistryNode extends Abstra
         return getTreeNodeList(children.toArray(), this);
     }
 
+    @Override
     public Registry getRegistry() {
         return registry;
     }

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ServiceDescriptionNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ServiceDescriptionNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ServiceDescriptionNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ServiceDescriptionNode.java Mon Oct 31 06:48:11 2011
@@ -41,24 +41,24 @@ import org.apache.airavata.xbaya.registr
 import org.apache.airavata.xbaya.registrybrowser.model.ServiceParameters;
 
 public class ServiceDescriptionNode extends AbstractAiravataTreeNode {
-	private ServiceDescription serviceDescription;
+    private ServiceDescription serviceDescription;
 
-	public ServiceDescriptionNode(ServiceDescription serviceDescription, TreeNode parent) {
-		super(parent);
-		setServiceDescription(serviceDescription);
-	}
-
-	@Override
-	protected List<TreeNode> getChildren() {
-		List<ServiceParameters> parameterTypeList=new ArrayList<ServiceParameters>();
-		if (getServiceDescription().getType().getInputParametersArray().length>0){
-			parameterTypeList.add(new InputParameters(getServiceDescription().getType().getInputParametersArray()));
-		}
-		if (getServiceDescription().getType().getOutputParametersArray().length>0){
-			parameterTypeList.add(new OutputParameters(getServiceDescription().getType().getOutputParametersArray()));
-		}
-		return getTreeNodeList(parameterTypeList.toArray(), this);
-	}
+    public ServiceDescriptionNode(ServiceDescription serviceDescription, TreeNode parent) {
+        super(parent);
+        setServiceDescription(serviceDescription);
+    }
+
+    @Override
+    protected List<TreeNode> getChildren() {
+        List<ServiceParameters> parameterTypeList = new ArrayList<ServiceParameters>();
+        if (getServiceDescription().getType().getInputParametersArray().length > 0) {
+            parameterTypeList.add(new InputParameters(getServiceDescription().getType().getInputParametersArray()));
+        }
+        if (getServiceDescription().getType().getOutputParametersArray().length > 0) {
+            parameterTypeList.add(new OutputParameters(getServiceDescription().getType().getOutputParametersArray()));
+        }
+        return getTreeNodeList(parameterTypeList.toArray(), this);
+    }
 
     @Override
     public String getCaption(boolean selected, boolean expanded, boolean leaf, boolean hasFocus) {
@@ -83,6 +83,7 @@ public class ServiceDescriptionNode exte
         return Arrays.asList(EditAction.ID, DeleteAction.ID);
     }
 
+    @Override
     public boolean triggerAction(JTree tree, String action) throws Exception {
         if (action.equals(DeleteAction.ID)) {
             deleteHostDescription(tree);

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ServiceDescriptionsNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ServiceDescriptionsNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ServiceDescriptionsNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/ServiceDescriptionsNode.java Mon Oct 31 06:48:11 2011
@@ -80,6 +80,7 @@ public class ServiceDescriptionsNode ext
         return Arrays.asList(AddAction.ID, RefreshAction.ID, DeleteAction.ID);
     }
 
+    @Override
     public boolean triggerAction(JTree tree, String action) throws Exception {
         if (action.equals(DeleteAction.ID)) {
             deleteServiceDescription(tree);

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowExperimentNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowExperimentNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowExperimentNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowExperimentNode.java Mon Oct 31 06:48:11 2011
@@ -33,8 +33,8 @@ import org.apache.airavata.xbaya.registr
 import org.apache.airavata.xbaya.registrybrowser.model.XBayaWorkflowExperiment;
 
 public class XBayaWorkflowExperimentNode extends AbstractAiravataTreeNode {
-	private XBayaWorkflowExperiment experiment;
-	
+    private XBayaWorkflowExperiment experiment;
+
     public XBayaWorkflowExperimentNode(XBayaWorkflowExperiment experiment, TreeNode parent) {
         super(parent);
         setExperiment(experiment);
@@ -60,6 +60,7 @@ public class XBayaWorkflowExperimentNode
         return Arrays.asList();
     }
 
+    @Override
     public boolean triggerAction(JTree tree, String action) throws Exception {
         return super.triggerAction(tree, action);
     }
@@ -79,11 +80,11 @@ public class XBayaWorkflowExperimentNode
         return null;
     }
 
-	public XBayaWorkflowExperiment getExperiment() {
-		return experiment;
-	}
-
-	public void setExperiment(XBayaWorkflowExperiment experiment) {
-		this.experiment = experiment;
-	}
+    public XBayaWorkflowExperiment getExperiment() {
+        return experiment;
+    }
+
+    public void setExperiment(XBayaWorkflowExperiment experiment) {
+        this.experiment = experiment;
+    }
 }

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowExperimentsNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowExperimentsNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowExperimentsNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowExperimentsNode.java Mon Oct 31 06:48:11 2011
@@ -34,8 +34,8 @@ import org.apache.airavata.xbaya.registr
 import org.apache.airavata.xbaya.registrybrowser.model.XBayaWorkflowExperiments;
 
 public class XBayaWorkflowExperimentsNode extends AbstractAiravataTreeNode {
-	private XBayaWorkflowExperiments experiments;
-	
+    private XBayaWorkflowExperiments experiments;
+
     public XBayaWorkflowExperimentsNode(XBayaWorkflowExperiments experiments, TreeNode parent) {
         super(parent);
         setExperiments(experiments);
@@ -61,6 +61,7 @@ public class XBayaWorkflowExperimentsNod
         return Arrays.asList(RefreshAction.ID);
     }
 
+    @Override
     public boolean triggerAction(JTree tree, String action) throws Exception {
         return super.triggerAction(tree, action);
     }
@@ -80,11 +81,11 @@ public class XBayaWorkflowExperimentsNod
         return null;
     }
 
-	public XBayaWorkflowExperiments getExperiments() {
-		return experiments;
-	}
-
-	public void setExperiments(XBayaWorkflowExperiments experiments) {
-		this.experiments = experiments;
-	}
+    public XBayaWorkflowExperiments getExperiments() {
+        return experiments;
+    }
+
+    public void setExperiments(XBayaWorkflowExperiments experiments) {
+        this.experiments = experiments;
+    }
 }

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowNode.java Mon Oct 31 06:48:11 2011
@@ -42,12 +42,12 @@ public class XBayaWorkflowNode extends A
 
     @Override
     protected List<TreeNode> getChildren() {
-        return getTreeNodeList(getXbayaWorkflow().getWorkflowServices().toArray(),this);
+        return getTreeNodeList(getXbayaWorkflow().getWorkflowServices().toArray(), this);
     }
 
     @Override
     public String getCaption(boolean selected, boolean expanded, boolean leaf, boolean hasFocus) {
-        return getXbayaWorkflow().getWorkflowName()+" : "+getXbayaWorkflow().getWorkflowId();
+        return getXbayaWorkflow().getWorkflowName() + " : " + getXbayaWorkflow().getWorkflowId();
     }
 
     @Override
@@ -68,6 +68,7 @@ public class XBayaWorkflowNode extends A
         return Arrays.asList();
     }
 
+    @Override
     public boolean triggerAction(JTree tree, String action) throws Exception {
         return super.triggerAction(tree, action);
     }

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowServiceNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowServiceNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowServiceNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowServiceNode.java Mon Oct 31 06:48:11 2011
@@ -44,23 +44,25 @@ public class XBayaWorkflowServiceNode ex
 
     @Override
     protected List<TreeNode> getChildren() {
-		List<ServiceParameters> parameterTypeList=new ArrayList<ServiceParameters>();
-		if (getXbayaWorkflowService().getInputParameters()!=null && getXbayaWorkflowService().getInputParameters().getParameters().size()>0){
-			parameterTypeList.add(getXbayaWorkflowService().getInputParameters());
-		}
-		if (getXbayaWorkflowService().getOutputParameters()!=null && getXbayaWorkflowService().getOutputParameters().getParameters().size()>0){
-			parameterTypeList.add(getXbayaWorkflowService().getOutputParameters());
-		}
-		return getTreeNodeList(parameterTypeList.toArray(), this);
+        List<ServiceParameters> parameterTypeList = new ArrayList<ServiceParameters>();
+        if (getXbayaWorkflowService().getInputParameters() != null
+                && getXbayaWorkflowService().getInputParameters().getParameters().size() > 0) {
+            parameterTypeList.add(getXbayaWorkflowService().getInputParameters());
+        }
+        if (getXbayaWorkflowService().getOutputParameters() != null
+                && getXbayaWorkflowService().getOutputParameters().getParameters().size() > 0) {
+            parameterTypeList.add(getXbayaWorkflowService().getOutputParameters());
+        }
+        return getTreeNodeList(parameterTypeList.toArray(), this);
     }
 
     @Override
     public String getCaption(boolean selected, boolean expanded, boolean leaf, boolean hasFocus) {
         String type = "";
-//        if (selected) {
-//			type = " <font color=\"#D3D3D3\">Service call</font>";
-//		}
-		return wrapAsHtml(getXbayaWorkflowService().getServiceNodeId(),type);
+        // if (selected) {
+        // type = " <font color=\"#D3D3D3\">Service call</font>";
+        // }
+        return wrapAsHtml(getXbayaWorkflowService().getServiceNodeId(), type);
     }
 
     @Override
@@ -73,6 +75,7 @@ public class XBayaWorkflowServiceNode ex
         return Arrays.asList();
     }
 
+    @Override
     public boolean triggerAction(JTree tree, String action) throws Exception {
         return super.triggerAction(tree, action);
     }
@@ -92,11 +95,11 @@ public class XBayaWorkflowServiceNode ex
         return null;
     }
 
-	public XBayaWorkflowService getXbayaWorkflowService() {
-		return xbayaWorkflowService;
-	}
-
-	public void setXbayaWorkflowService(XBayaWorkflowService xbayaWorkflowService) {
-		this.xbayaWorkflowService = xbayaWorkflowService;
-	}
+    public XBayaWorkflowService getXbayaWorkflowService() {
+        return xbayaWorkflowService;
+    }
+
+    public void setXbayaWorkflowService(XBayaWorkflowService xbayaWorkflowService) {
+        this.xbayaWorkflowService = xbayaWorkflowService;
+    }
 }

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowTemplateNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowTemplateNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowTemplateNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowTemplateNode.java Mon Oct 31 06:48:11 2011
@@ -74,6 +74,7 @@ public class XBayaWorkflowTemplateNode e
         return Arrays.asList(DeleteAction.ID);
     }
 
+    @Override
     public boolean triggerAction(JTree tree, String action) throws Exception {
         if (action.equals(DeleteAction.ID)) {
             deleteHostDescription(tree);

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowTemplatesNode.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowTemplatesNode.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowTemplatesNode.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/registrybrowser/nodes/XBayaWorkflowTemplatesNode.java Mon Oct 31 06:48:11 2011
@@ -71,6 +71,7 @@ public class XBayaWorkflowTemplatesNode 
         return Arrays.asList(AddAction.ID, RefreshAction.ID);
     }
 
+    @Override
     public boolean triggerAction(JTree tree, String action) throws Exception {
         if (action.equals(AddAction.ID)) {
             JOptionPane.showMessageDialog(null, "TODO");

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/streaming/StreamServiceCallbackHandler.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/streaming/StreamServiceCallbackHandler.java?rev=1195355&r1=1195354&r2=1195355&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/streaming/StreamServiceCallbackHandler.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/streaming/StreamServiceCallbackHandler.java Mon Oct 31 06:48:11 2011
@@ -19,115 +19,115 @@
  *
  */
 
-/**
- * StreamServiceCallbackHandler.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1  Built on : Oct 19, 2009 (10:59:00 EDT)
- */
-
-package org.apache.airavata.xbaya.streaming;
-
-/**
- * StreamServiceCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and
- * receiveError methods.
- */
-public abstract class StreamServiceCallbackHandler {
-
-    protected Object clientData;
-
-    /**
-     * User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and
-     * appropriate method of this CallBack is called.
-     * 
-     * @param clientData
-     *            Object mechanism by which the user can pass in user data that will be avilable at the time this
-     *            callback is called.
-     */
-    public StreamServiceCallbackHandler(Object clientData) {
-        this.clientData = clientData;
-    }
-
-    /**
-     * Please use this constructor if you don't want to set any clientData
-     */
-    public StreamServiceCallbackHandler() {
-        this.clientData = null;
-    }
-
-    /**
-     * Get the client data
-     */
-
-    public Object getClientData() {
-        return clientData;
-    }
-
-    /**
-     * auto generated Axis2 call back method for registerEPLWithInsert method override this method for handling normal
-     * response from registerEPLWithInsert operation
-     */
-    public void receiveResultregisterEPLWithInsert(java.lang.String result) {
-    }
-
-    /**
-     * auto generated Axis2 Error handler override this method for handling error response from registerEPLWithInsert
-     * operation
-     */
-    public void receiveErrorregisterEPLWithInsert(java.lang.Exception e) {
-    }
-
-    /**
-     * auto generated Axis2 call back method for getQueueLength method override this method for handling normal response
-     * from getQueueLength operation
-     */
-    public void receiveResultgetQueueLength(org.apache.airavata.xbaya.streaming.StreamServiceStub.QueueLength[] result) {
-    }
-
-    /**
-     * auto generated Axis2 Error handler override this method for handling error response from getQueueLength operation
-     */
-    public void receiveErrorgetQueueLength(java.lang.Exception e) {
-    }
-
-    /**
-     * auto generated Axis2 call back method for publishToStream method override this method for handling normal
-     * response from publishToStream operation
-     */
-    public void receiveResultpublishToStream(java.lang.String result) {
-    }
-
-    /**
-     * auto generated Axis2 Error handler override this method for handling error response from publishToStream
-     * operation
-     */
-    public void receiveErrorpublishToStream(java.lang.Exception e) {
-    }
-
-    /**
-     * auto generated Axis2 call back method for publish method override this method for handling normal response from
-     * publish operation
-     */
-    public void receiveResultpublish(java.lang.String result) {
-    }
-
-    /**
-     * auto generated Axis2 Error handler override this method for handling error response from publish operation
-     */
-    public void receiveErrorpublish(java.lang.Exception e) {
-    }
-
-    /**
-     * auto generated Axis2 call back method for getStreams method override this method for handling normal response
-     * from getStreams operation
-     */
-    public void receiveResultgetStreams(org.apache.airavata.xbaya.streaming.StreamServiceStub.StreamDescription[] result) {
-    }
-
-    /**
-     * auto generated Axis2 Error handler override this method for handling error response from getStreams operation
-     */
-    public void receiveErrorgetStreams(java.lang.Exception e) {
-    }
-
-}
+/**
+ * StreamServiceCallbackHandler.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis2 version: 1.5.1  Built on : Oct 19, 2009 (10:59:00 EDT)
+ */
+
+package org.apache.airavata.xbaya.streaming;
+
+/**
+ * StreamServiceCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and
+ * receiveError methods.
+ */
+public abstract class StreamServiceCallbackHandler {
+
+    protected Object clientData;
+
+    /**
+     * User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and
+     * appropriate method of this CallBack is called.
+     * 
+     * @param clientData
+     *            Object mechanism by which the user can pass in user data that will be avilable at the time this
+     *            callback is called.
+     */
+    public StreamServiceCallbackHandler(Object clientData) {
+        this.clientData = clientData;
+    }
+
+    /**
+     * Please use this constructor if you don't want to set any clientData
+     */
+    public StreamServiceCallbackHandler() {
+        this.clientData = null;
+    }
+
+    /**
+     * Get the client data
+     */
+
+    public Object getClientData() {
+        return clientData;
+    }
+
+    /**
+     * auto generated Axis2 call back method for registerEPLWithInsert method override this method for handling normal
+     * response from registerEPLWithInsert operation
+     */
+    public void receiveResultregisterEPLWithInsert(java.lang.String result) {
+    }
+
+    /**
+     * auto generated Axis2 Error handler override this method for handling error response from registerEPLWithInsert
+     * operation
+     */
+    public void receiveErrorregisterEPLWithInsert(java.lang.Exception e) {
+    }
+
+    /**
+     * auto generated Axis2 call back method for getQueueLength method override this method for handling normal response
+     * from getQueueLength operation
+     */
+    public void receiveResultgetQueueLength(org.apache.airavata.xbaya.streaming.StreamServiceStub.QueueLength[] result) {
+    }
+
+    /**
+     * auto generated Axis2 Error handler override this method for handling error response from getQueueLength operation
+     */
+    public void receiveErrorgetQueueLength(java.lang.Exception e) {
+    }
+
+    /**
+     * auto generated Axis2 call back method for publishToStream method override this method for handling normal
+     * response from publishToStream operation
+     */
+    public void receiveResultpublishToStream(java.lang.String result) {
+    }
+
+    /**
+     * auto generated Axis2 Error handler override this method for handling error response from publishToStream
+     * operation
+     */
+    public void receiveErrorpublishToStream(java.lang.Exception e) {
+    }
+
+    /**
+     * auto generated Axis2 call back method for publish method override this method for handling normal response from
+     * publish operation
+     */
+    public void receiveResultpublish(java.lang.String result) {
+    }
+
+    /**
+     * auto generated Axis2 Error handler override this method for handling error response from publish operation
+     */
+    public void receiveErrorpublish(java.lang.Exception e) {
+    }
+
+    /**
+     * auto generated Axis2 call back method for getStreams method override this method for handling normal response
+     * from getStreams operation
+     */
+    public void receiveResultgetStreams(org.apache.airavata.xbaya.streaming.StreamServiceStub.StreamDescription[] result) {
+    }
+
+    /**
+     * auto generated Axis2 Error handler override this method for handling error response from getStreams operation
+     */
+    public void receiveErrorgetStreams(java.lang.Exception e) {
+    }
+
+}