airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject svn commit: r1220491 - /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/graph/impl/NodeImpl.java
Date Sun, 18 Dec 2011 17:52:37 GMT
Author: chathura
Date: Sun Dec 18 17:52:37 2011
New Revision: 1220491

URL: http://svn.apache.org/viewvc?rev=1220491&view=rev
Log:
AIRAVATA-231

Removing Stream functionalities from the XBaya system.

This removed CEPNODE, StreamJoinNode, MergeNode, CEPSubworkflowNode

https://issues.apache.org/jira/browse/AIRAVATA-231

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

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/graph/impl/NodeImpl.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/graph/impl/NodeImpl.java?rev=1220491&r1=1220490&r2=1220491&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/graph/impl/NodeImpl.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/graph/impl/NodeImpl.java
Sun Dec 18 17:52:37 2011
@@ -41,7 +41,6 @@ import org.apache.airavata.xbaya.graph.N
 import org.apache.airavata.xbaya.graph.Port;
 import org.apache.airavata.xbaya.graph.Port.Kind;
 import org.apache.airavata.xbaya.monitor.gui.MonitorEventHandler;
-import org.apache.airavata.xbaya.streaming.StreamTableModel;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.xmlpull.infoset.XmlElement;
@@ -77,8 +76,6 @@ public abstract class NodeImpl implement
 
     private Point position;
 
-    protected String streamName;
-
     // The followings are used only during parsing the XML.
 
     private List<String> inputPortIDs;
@@ -579,39 +576,7 @@ public abstract class NodeImpl implement
         return nodeElement;
     }
 
-    /**
-     * Returns the streamName.
-     * 
-     * @return The streamName
-     */
-    public String getStreamName() {
-        return this.streamName;
-    }
-
-    /**
-     * Sets streamName.
-     * 
-     * @param streamName
-     *            The streamName to set.
-     */
-    public void setStreamName(String streamName) {
-        this.streamName = streamName;
-    }
 
-    /**
-     * Returns the rate.
-     * 
-     * @return The rate
-     */
-    public String getRate() {
-        if (streamName != null) {
-            StreamTableModel model = graph.getStreamModel();
-            if (model != null) {
-                return model.getRate(streamName);
-            }
-        }
-        return "";
-    }
 
     /**
      * Adds a configuration element to a specified node element.
@@ -694,23 +659,7 @@ public abstract class NodeImpl implement
         throw new XBayaRuntimeException("Port with id not found :" + id);
     }
 
-    /**
-     * @see org.apache.airavata.xbaya.graph.Node#setLabel(java.lang.String)
-     */
-    @Override
-    public void setLabel(String label) {
-        this.label = label;
-
-    }
-
-    /**
-     * @see org.apache.airavata.xbaya.graph.Node#inventLabel(java.lang.String)
-     */
-    @Override
-    public void inventLabel(String seed) {
-        this.label = this.streamName + "(" + seed + ")";
 
-    }
 
     /**
      * @return



Mime
View raw message