Modified: 
uima/ruta/trunk/ruta-ep-ide/src/main/java/org/apache/uima/ruta/ide/parser/ast/RutaAction.java
URL: 
http://svn.apache.org/viewvc/uima/ruta/trunk/ruta-ep-ide/src/main/java/org/apache/uima/ruta/ide/parser/ast/RutaAction.java?rev=1849219&r1=1849218&r2=1849219&view=diff
==============================================================================
--- 
uima/ruta/trunk/ruta-ep-ide/src/main/java/org/apache/uima/ruta/ide/parser/ast/RutaAction.java
 (original)
+++ 
uima/ruta/trunk/ruta-ep-ide/src/main/java/org/apache/uima/ruta/ide/parser/ast/RutaAction.java
 Tue Dec 18 19:52:18 2018
@@ -45,14 +45,16 @@ public class RutaAction extends Expressi
 
   private String name;
 
+  private String label;
+
   /**
    * @param start
    * @param end
    * @param exprs
    * @param kind
    */
-  public RutaAction(int start, int end, List<ASTNode> exprs, int kind, String 
name,
-          int nameStart, int nameEnd) {
+  public RutaAction(int start, int end, List<ASTNode> exprs, int kind, String 
name, int nameStart,
+          int nameEnd) {
     super(start, end);
     if (exprs != null) {
       this.exprs = exprs;
@@ -103,7 +105,16 @@ public class RutaAction extends Expressi
     return exprs;
   }
 
+  @Override
   public String toString() {
     return this.getClass().getSimpleName() + " : " + super.toString();
   }
+
+  public void setLabel(String label) {
+    this.label = label;
+  }
+
+  public String getLabel() {
+    return label;
+  }
 }


Reply via email to