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>
/**
* <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>
* 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();
* @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
* @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) };