tmf: Add support for custom event type by text line or XML element
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / parsers / custom / CustomXmlInputElement.java
index 79fbf333eabbefc0c00ba1c78cc4728ff8c5ca71..75d4b82c7d0135e7c1498310a9dc8e080e2a66fa 100644 (file)
@@ -48,6 +48,9 @@ public final class CustomXmlInputElement {
     /** Child elements */
     private List<CustomXmlInputElement> fChildElements;
 
+    /** Event type associated with this input element */
+    private String fEventType;
+
     /**
      * Default (empty) constructor
      */
@@ -205,6 +208,23 @@ public final class CustomXmlInputElement {
         fInputName = inputName;
     }
 
+    /**
+     * @return the eventType, or null
+     * @since 2.1
+     */
+    public String getEventType() {
+        return fEventType;
+    }
+
+    /**
+     * @param eventType
+     *            the eventType to set, or null
+     * @since 2.1
+     */
+    public void setEventType(String eventType) {
+        fEventType = eventType;
+    }
+
     /**
      * @return the inputAction
      */
This page took 0.028581 seconds and 5 git commands to generate.