tmf: Modernize ITmfEventField
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / event / ITmfEventType.java
index 665dba2182acba3a4525af6a6b196a7ca1cbc187..07dd4b3e5e9903e1538c57d4649b22620b43c06b 100644 (file)
@@ -12,6 +12,8 @@
 
 package org.eclipse.linuxtools.tmf.core.event;
 
+import java.util.Collection;
+
 /**
  * The generic event type in TMF. It contains a reference to the full field structure
  * for that event type.
@@ -61,12 +63,7 @@ public interface ITmfEventType {
 
     /**
      * @return the event field names (labels)
+     * @since 3.0
      */
-    String[] getFieldNames();
-
-    /**
-     * @param index the event field index
-     * @return the corresponding event field label
-     */
-    String getFieldName(int index);
+    Collection<String> getFieldNames();
 }
This page took 0.024902 seconds and 5 git commands to generate.