2 * (c) Copyright Improve S.A., 2002.
5 package net.sourceforge.phpeclipse.actions;
7 import java.util.MissingResourceException;
8 import java.util.ResourceBundle;
10 public class PHPActionMessages {
12 private static final String RESOURCE_BUNDLE = "net.sourceforge.phpeclipse.actions.PHPActionMessages";//$NON-NLS-1$
14 private static ResourceBundle fgResourceBundle = ResourceBundle
15 .getBundle(RESOURCE_BUNDLE);
17 private PHPActionMessages() {
20 public static String getString(String key) {
22 return fgResourceBundle.getString(key);
23 } catch (MissingResourceException e) {
24 return "!" + key + "!";//$NON-NLS-2$ //$NON-NLS-1$
28 public static ResourceBundle getResourceBundle() {
29 return fgResourceBundle;