TMF: Add get parent to state system
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / statesystem / ITmfStateSystem.java
index 4682c15fd4766b4597bc2fcc27143a69dfb61571..05f662b3d9e5f70596bc1568698d6abef93f6eb8 100644 (file)
@@ -248,6 +248,17 @@ public interface ITmfStateSystem {
      */
     String getFullAttributePath(int attributeQuark);
 
+    /**
+     * Returns the parent quark of the attribute.
+     *
+     * @param attributeQuark
+     *            The quark of the attribute
+     * @return Quark of the parent attribute or <code>-1</code> if root quark or
+     *         no parent.
+     * @since 3.0
+     */
+    int getParentAttributeQuark(int attributeQuark);
+
     /**
      * @name Query methods
      */
This page took 0.023983 seconds and 5 git commands to generate.