import org.eclipse.linuxtools.tmf.core.component.ITmfDataProvider;\r
import org.eclipse.linuxtools.tmf.core.component.TmfComponent;\r
import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;\r
+import org.eclipse.linuxtools.tmf.core.event.ITmfEventField;\r
import org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp;\r
import org.eclipse.linuxtools.tmf.core.event.TmfEvent;\r
import org.eclipse.linuxtools.tmf.core.event.TmfEventField;\r
}\r
\r
protected void setItemData(TableItem item, TmfEvent event, long rank) {\r
- TmfEventField[] fields = extractItemFields(event);\r
+ ITmfEventField[] fields = extractItemFields(event);\r
String[] content = new String[fields.length];\r
for (int i = 0; i < fields.length; i++) {\r
content[i] = (String) fields[i].getValue();\r
* FIXME: Add support for column selection\r
*/\r
//TmfEventContent content, String id, Object value\r
- protected TmfEventField[] extractItemFields(TmfEvent event) {\r
- TmfEventField[] fields = new TmfEventField[0];\r
+ protected ITmfEventField[] extractItemFields(TmfEvent event) {\r
+ ITmfEventField[] fields = new TmfEventField[0];\r
if (event != null) {\r
fields = new TmfEventField[] {\r
new TmfEventField(ITmfEvent.EVENT_FIELD_TIMESTAMP, ((Long) event.getTimestamp().getValue()).toString()),\r