tmf: Use tabs in statistics view for each traces
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.ui / src / org / eclipse / linuxtools / internal / lttng / ui / views / controlflow / Messages.java
CommitLineData
6e512b93
ASL
1/*******************************************************************************\r
2 * Copyright (c) 2009 Ericsson\r
3 * \r
4 * All rights reserved. This program and the accompanying materials are\r
5 * made available under the terms of the Eclipse Public License v1.0 which\r
6 * accompanies this distribution, and is available at\r
7 * http://www.eclipse.org/legal/epl-v10.html\r
8 * \r
9 * Contributors:\r
10 * Alvaro Sanchez-Leon (alvsan09@gmail.com) - Initial API and implementation\r
11 *******************************************************************************/\r
638eac44 12package org.eclipse.linuxtools.internal.lttng.ui.views.controlflow;\r
6e512b93
ASL
13\r
14import java.util.MissingResourceException;\r
15import java.util.ResourceBundle;\r
16\r
17public class Messages {\r
638eac44 18 private static final String BUNDLE_NAME = "org.eclipse.linuxtools.internal.lttng.ui.views.controlflow.messages"; //$NON-NLS-1$\r
6e512b93
ASL
19\r
20 private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle\r
21 .getBundle(BUNDLE_NAME);\r
22\r
23 private Messages() {\r
24 }\r
25\r
26 public static String getString(String key) {\r
27 try {\r
28 return RESOURCE_BUNDLE.getString(key);\r
29 } catch (MissingResourceException e) {\r
30 return '!' + key + '!';\r
31 }\r
32 }\r
33}\r
This page took 0.039286 seconds and 5 git commands to generate.