2 * (c) Copyright Improve S.A., 2002.
5 package net.sourceforge.phpeclipse.actions;
8 import java.util.MissingResourceException;
9 import java.util.ResourceBundle;
11 public class PHPActionMessages {
13 private static final String RESOURCE_BUNDLE= "net.sourceforge.phpeclipse.actions.PHPActionMessages";//$NON-NLS-1$
15 private static ResourceBundle fgResourceBundle= ResourceBundle.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;