analysis: Add the critical path view
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.graph.ui / src / org / eclipse / tracecompass / internal / analysis / graph / ui / criticalpath / view / Messages.java
1 /*******************************************************************************
2 * Copyright (c) 2015 École Polytechnique de Montréal
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *******************************************************************************/
9
10 package org.eclipse.tracecompass.internal.analysis.graph.ui.criticalpath.view;
11
12 import org.eclipse.jdt.annotation.Nullable;
13 import org.eclipse.osgi.util.NLS;
14 import org.eclipse.tracecompass.common.core.NonNullUtils;
15
16 /**
17 * Externalized strings for the critical path view
18 *
19 * @author Geneviève Bastien
20 */
21 @SuppressWarnings("javadoc")
22 public class Messages {
23 private static final String BUNDLE_NAME = "org.eclipse.tracecompass.internal.analysis.graph.ui.criticalpath.view.messages"; //$NON-NLS-1$
24
25 public static @Nullable String CriticalFlowView_multipleStates;
26
27 public static @Nullable String CriticalFlowView_stateTypeName;
28
29 public static @Nullable String CriticalFlowView_columnProcess;
30
31 public static @Nullable String CriticalFlowView_columnElapsed;
32
33 public static @Nullable String CriticalFlowView_columnPercent;
34
35 public static @Nullable String CriticalPathModule_waitingForGraph;
36
37 public static @Nullable String CriticalPathView_selectAlgorithm;
38
39 static {
40 // initialize resource bundle
41 NLS.initializeMessages(BUNDLE_NAME, Messages.class);
42 }
43
44 private Messages() {
45 }
46
47 /**
48 * Helper method to expose externalized strings as non-null objects.
49 */
50 static String getMessage(@Nullable String msg) {
51 return NonNullUtils.nullToEmptyString(msg);
52 }
53
54 }
This page took 0.032418 seconds and 5 git commands to generate.