Re-structure LTTng sub-project as per the Linux Tools guidelines
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / statistics / model / TmfBaseStatisticsTree.java
index 156c0622eba48848a5eb74bfc52edb87892641bc..debac476fdbe94d6b6f8fb378d1b1dec0f3cb281 100755 (executable)
@@ -18,9 +18,9 @@ import java.util.LinkedList;
 import java.util.Map;
 import java.util.Set;
 
-import org.eclipse.linuxtools.tmf.event.TmfEvent;
+import org.eclipse.linuxtools.tmf.core.event.TmfEvent;
+import org.eclipse.linuxtools.tmf.core.util.TmfFixedArray;
 import org.eclipse.linuxtools.tmf.ui.views.statistics.ITmfExtraEventInfo;
-import org.eclipse.linuxtools.tmf.util.TmfFixedArray;
 
 /**
  * <h4>Store information about base statistics data</h4>
@@ -31,7 +31,7 @@ public class TmfBaseStatisticsTree extends AbsTmfStatisticsTree {
     /**
      * <h4>Header for the event types categories.</h4>
      */
-    private static final String HEADER_EVENT_TYPES = Messages.TmfStatisticsData_EventTypes;
+    public static final String HEADER_EVENT_TYPES = Messages.TmfStatisticsData_EventTypes;
 
     /**
      * <h4>Indicate that it's a value.</h4>
@@ -43,8 +43,8 @@ public class TmfBaseStatisticsTree extends AbsTmfStatisticsTree {
      * It differentiate a category of a value by being appended to a value.
      * </p>
      */
-    private static final String NODE = "z"; //$NON-NLS-1$
-    private static final String ROOT_NODE_KEY = mergeString(ROOT.get(0), NODE);
+    protected static final String NODE = "z"; //$NON-NLS-1$
+    protected static final String ROOT_NODE_KEY = mergeString(ROOT.get(0), NODE);
 
     public TmfBaseStatisticsTree() {
         super();
@@ -141,7 +141,7 @@ public class TmfBaseStatisticsTree extends AbsTmfStatisticsTree {
      * @return Array of FixedArray representing the paths.
      */
     @SuppressWarnings({ "rawtypes", "unchecked" })
-    private TmfFixedArray<String>[] getTypePaths(TmfEvent event, ITmfExtraEventInfo extraInfo) {
+    protected TmfFixedArray<String>[] getTypePaths(TmfEvent event, ITmfExtraEventInfo extraInfo) {
         String trace = extraInfo.getTraceName();
         // String type = event.getType().getTypeId(); // Add too much
         // informations
@@ -162,7 +162,7 @@ public class TmfBaseStatisticsTree extends AbsTmfStatisticsTree {
      * @return Array of FixedArray representing the paths.
      */
     @SuppressWarnings({ "rawtypes", "unchecked" })
-    private TmfFixedArray<String>[] getNormalPaths(TmfEvent event, ITmfExtraEventInfo extraInfo) {
+    protected TmfFixedArray<String>[] getNormalPaths(TmfEvent event, ITmfExtraEventInfo extraInfo) {
         String trace = extraInfo.getTraceName();
 
         TmfFixedArray[] paths = { new TmfFixedArray<String>(trace) };
This page took 0.024633 seconds and 5 git commands to generate.