Remove UI dependencies in tmf.core.
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / event / TmfEvent.java
index 7f1cb30defa5c19f9f45f07d4e3147ade2ad76ba..0a1763a8641ac04be7369a40cba0452fda629c1a 100644 (file)
@@ -7,17 +7,17 @@
  * http://www.eclipse.org/legal/epl-v10.html
  *
  * Contributors:
- *   Francois Chouinard - Initial API and implementation
- *   Francois Chouinard - Updated as per TMF Event Model 1.0
- *   Alexandre Montplaisir - Made immutable
+ *     Francois Chouinard - Initial API and implementation
+ *     Francois Chouinard - Updated as per TMF Event Model 1.0
+ *     Alexandre Montplaisir - Made immutable
  *******************************************************************************/
 
 package org.eclipse.linuxtools.tmf.core.event;
 
+import org.eclipse.core.runtime.PlatformObject;
 import org.eclipse.linuxtools.tmf.core.timestamp.ITmfTimestamp;
 import org.eclipse.linuxtools.tmf.core.trace.ITmfContext;
 import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;
-import org.eclipse.ui.views.properties.IPropertySource;
 
 /**
  * A basic implementation of ITmfEvent.
@@ -29,8 +29,8 @@ import org.eclipse.ui.views.properties.IPropertySource;
  * @see ITmfEventType
  * @see ITmfEventField
  * @see ITmfTrace
-*/
-public class TmfEvent implements ITmfEvent {
+ */
+public class TmfEvent extends PlatformObject implements ITmfEvent {
 
     // ------------------------------------------------------------------------
     // Attributes
@@ -246,14 +246,4 @@ public class TmfEvent implements ITmfEvent {
                 + "]";
     }
 
-    /**
-     * @since 2.0
-     */
-    @Override
-    public Object getAdapter(Class adapter) {
-        if (adapter == IPropertySource.class) {
-            return new TmfEventPropertySource(this);
-        }
-        return null;
-    }
 }
This page took 0.023997 seconds and 5 git commands to generate.