tmf: Split the state system in a separate plugin
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / statesystem / ITmfAnalysisModuleWithStateSystems.java
index a1ba17dd989e57bf1790cf80d38dc3d56dd116e7..4d982d121aa227333db5299ce29557564d467b77 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2013 École Polytechnique de Montréal
+ * Copyright (c) 2013, 2014 École Polytechnique de Montréal
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -13,8 +13,9 @@
 package org.eclipse.linuxtools.tmf.core.statesystem;
 
 import org.eclipse.jdt.annotation.NonNull;
-import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.jdt.annotation.Nullable;
+import org.eclipse.linuxtools.statesystem.core.ITmfStateSystem;
+import org.eclipse.linuxtools.tmf.core.analysis.IAnalysisModule;
 
 /**
  * Interface for analysis modules providing state systems.
@@ -22,8 +23,7 @@ import org.eclipse.jdt.annotation.Nullable;
  * @author Geneviève Bastien
  * @since 3.0
  */
-@NonNullByDefault
-public interface ITmfAnalysisModuleWithStateSystems {
+public interface ITmfAnalysisModuleWithStateSystems extends IAnalysisModule {
 
     /**
      * Return a specific state system provided by this analysis.
@@ -36,26 +36,13 @@ public interface ITmfAnalysisModuleWithStateSystems {
     @Nullable
     ITmfStateSystem getStateSystem(@NonNull String id);
 
-    /**
-     * FIXME The ID's should be saved in the state system themselves
-     * (ITmfStateSystem.getId()), so this will eventually not be needed.
-     *
-     * Return the ID of a given state system.
-     *
-     * @param ss
-     *            The state system for which you want the ID, null if there is
-     *            no match.
-     * @return The corresponding state system
-     */
-    @Nullable
-    String getStateSystemId(@NonNull ITmfStateSystem ss);
-
     /**
      * Return all the state systems provided by this analysis module, in
      * Iterable format.
      *
      * @return The state systems
      */
+    @NonNull
     Iterable<ITmfStateSystem> getStateSystems();
 
 }
This page took 0.025583 seconds and 5 git commands to generate.