analysis: internalize segment store stats messages
authorBernd Hufmann <Bernd.Hufmann@ericsson.com>
Wed, 11 May 2016 11:35:31 +0000 (07:35 -0400)
committerBernd Hufmann <bernd.hufmann@ericsson.com>
Fri, 13 May 2016 14:48:15 +0000 (10:48 -0400)
Change-Id: I62d9de2df0f0b24ce41485bf31d96a2b62ee47c1
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/72496
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
analysis/org.eclipse.tracecompass.analysis.timing.ui/META-INF/MANIFEST.MF
analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/analysis/timing/ui/views/segmentstore/statistics/AbstractSegmentStoreStatisticsViewer.java
analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/analysis/timing/ui/views/segmentstore/statistics/Messages.java [deleted file]
analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/analysis/timing/ui/views/segmentstore/statistics/messages.properties [deleted file]
analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/internal/analysis/timing/ui/views/segmentstore/statistics/Messages.java [new file with mode: 0644]
analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/internal/analysis/timing/ui/views/segmentstore/statistics/messages.properties [new file with mode: 0644]

index 8a8e5d3483bfb46b3d2e37fcb06f750ae67edac1..2cbb6c15d57b9f96a43ae8a51e6bb0abb58c793a 100644 (file)
@@ -25,4 +25,5 @@ Export-Package: org.eclipse.tracecompass.analysis.timing.ui.views.segmentstore,
  org.eclipse.tracecompass.internal.analysis.timing.ui,
  org.eclipse.tracecompass.internal.analysis.timing.ui.views.segmentstore.density,
  org.eclipse.tracecompass.internal.analysis.timing.ui.views.segmentstore.scatter,
+ org.eclipse.tracecompass.internal.analysis.timing.ui.views.segmentstore.statistics,
  org.eclipse.tracecompass.internal.analysis.timing.ui.views.segmentstore.table
index e832257573ad567c68bfd427fb5bf8a8a7321821..ad5f7d88bc0d0df2e8dd5d6e968b493a86e41005 100644 (file)
@@ -33,6 +33,7 @@ import org.eclipse.swt.widgets.Menu;
 import org.eclipse.tracecompass.analysis.timing.core.segmentstore.statistics.SegmentStoreStatistics;
 import org.eclipse.tracecompass.analysis.timing.ui.views.segmentstore.SubSecondTimeWithUnitFormat;
 import org.eclipse.tracecompass.internal.analysis.timing.ui.Activator;
+import org.eclipse.tracecompass.internal.analysis.timing.ui.views.segmentstore.statistics.Messages;
 import org.eclipse.tracecompass.tmf.core.analysis.TmfAbstractAnalysisModule;
 import org.eclipse.tracecompass.tmf.core.exceptions.TmfAnalysisException;
 import org.eclipse.tracecompass.tmf.core.signal.TmfSelectionRangeUpdatedSignal;
diff --git a/analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/analysis/timing/ui/views/segmentstore/statistics/Messages.java b/analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/analysis/timing/ui/views/segmentstore/statistics/Messages.java
deleted file mode 100644 (file)
index a508c5f..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2015, 2016 Ericsson
- *
- * All rights reserved. This program and the accompanying materials are
- * made available under the terms of the Eclipse Public License v1.0 which
- * accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *   Bernd Hufmann - Initial API and implementation
- *******************************************************************************/
-package org.eclipse.tracecompass.analysis.timing.ui.views.segmentstore.statistics;
-
-import org.eclipse.jdt.annotation.NonNullByDefault;
-import org.eclipse.osgi.util.NLS;
-
-/**
- * Messages used in the LTTng kernel CPU usage view and viewers.
- *
- * @author Bernd Hufmann
- */
-@NonNullByDefault({})
-public class Messages extends NLS {
-
-    private static final String BUNDLE_NAME = "org.eclipse.tracecompass.analysis.timing.ui.views.segmentstore.statistics.messages"; //$NON-NLS-1$
-
-    /** Name of level column */
-    public static String SegmentStoreStatistics_LevelLabel;
-    /** Name of the minimum column */
-    public static String SegmentStoreStatistics_Statistics_MinLabel;
-    /** Name of maximum column */
-    public static String SegmentStoreStatistics_MaxLabel;
-    /** Name of average column */
-    public static String SegmentStoreStatistics_AverageLabel;
-    /** Name of count column */
-    public static String SegmentStoreStatisticsViewer_Count;
-    /** Name of average column */
-    public static String SegmentStoreStatisticsViewer_StandardDeviation;
-    /** Menu item for go to minimum duration */
-    public static String SegmentStoreStatisticsViewer_GotoMinAction;
-    /** Menu item for go to maximum duration */
-    public static String SegmentStoreStatisticsViewer_GotoMaxAction;
-
-    static {
-        // initialize resource bundle
-        NLS.initializeMessages(BUNDLE_NAME, Messages.class);
-    }
-
-    private Messages() {
-    }
-}
diff --git a/analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/analysis/timing/ui/views/segmentstore/statistics/messages.properties b/analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/analysis/timing/ui/views/segmentstore/statistics/messages.properties
deleted file mode 100644 (file)
index bbc11cd..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-###############################################################################
-# Copyright (c) 2015, 2016 Ericsson
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-#     Bernd Hufmann - Initial API and implementation
-###############################################################################
-SegmentStoreStatistics_LevelLabel=Level
-SegmentStoreStatistics_Statistics_MinLabel=Minimum
-SegmentStoreStatistics_MaxLabel=Maximum
-SegmentStoreStatistics_AverageLabel=Average
-SegmentStoreStatisticsViewer_Count=Count
-SegmentStoreStatisticsViewer_StandardDeviation=Standard Deviation
-SegmentStoreStatisticsViewer_GotoMinAction=Go to minimum
-SegmentStoreStatisticsViewer_GotoMaxAction=Go to maximum
\ No newline at end of file
diff --git a/analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/internal/analysis/timing/ui/views/segmentstore/statistics/Messages.java b/analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/internal/analysis/timing/ui/views/segmentstore/statistics/Messages.java
new file mode 100644 (file)
index 0000000..3086c1a
--- /dev/null
@@ -0,0 +1,49 @@
+/*******************************************************************************
+ * Copyright (c) 2015, 2016 Ericsson
+ *
+ * All rights reserved. This program and the accompanying materials are
+ * made available under the terms of the Eclipse Public License v1.0 which
+ * accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *   Bernd Hufmann - Initial API and implementation
+ *******************************************************************************/
+package org.eclipse.tracecompass.internal.analysis.timing.ui.views.segmentstore.statistics;
+
+import org.eclipse.osgi.util.NLS;
+
+/**
+ * Messages used in the LTTng kernel CPU usage view and viewers.
+ *
+ * @author Bernd Hufmann
+ */
+public class Messages extends NLS {
+
+    private static final String BUNDLE_NAME = "org.eclipse.tracecompass.internal.analysis.timing.ui.views.segmentstore.statistics.messages"; //$NON-NLS-1$
+
+    /** Name of level column */
+    public static String SegmentStoreStatistics_LevelLabel;
+    /** Name of the minimum column */
+    public static String SegmentStoreStatistics_Statistics_MinLabel;
+    /** Name of maximum column */
+    public static String SegmentStoreStatistics_MaxLabel;
+    /** Name of average column */
+    public static String SegmentStoreStatistics_AverageLabel;
+    /** Name of count column */
+    public static String SegmentStoreStatisticsViewer_Count;
+    /** Name of average column */
+    public static String SegmentStoreStatisticsViewer_StandardDeviation;
+    /** Menu item for go to minimum duration */
+    public static String SegmentStoreStatisticsViewer_GotoMinAction;
+    /** Menu item for go to maximum duration */
+    public static String SegmentStoreStatisticsViewer_GotoMaxAction;
+
+    static {
+        // initialize resource bundle
+        NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+    }
+
+    private Messages() {
+    }
+}
diff --git a/analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/internal/analysis/timing/ui/views/segmentstore/statistics/messages.properties b/analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/internal/analysis/timing/ui/views/segmentstore/statistics/messages.properties
new file mode 100644 (file)
index 0000000..bbc11cd
--- /dev/null
@@ -0,0 +1,19 @@
+###############################################################################
+# Copyright (c) 2015, 2016 Ericsson
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+#     Bernd Hufmann - Initial API and implementation
+###############################################################################
+SegmentStoreStatistics_LevelLabel=Level
+SegmentStoreStatistics_Statistics_MinLabel=Minimum
+SegmentStoreStatistics_MaxLabel=Maximum
+SegmentStoreStatistics_AverageLabel=Average
+SegmentStoreStatisticsViewer_Count=Count
+SegmentStoreStatisticsViewer_StandardDeviation=Standard Deviation
+SegmentStoreStatisticsViewer_GotoMinAction=Go to minimum
+SegmentStoreStatisticsViewer_GotoMaxAction=Go to maximum
\ No newline at end of file
This page took 0.030285 seconds and 5 git commands to generate.