01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.views.properties;
11:
12: /**
13: * Utility class which helps manage messages.
14: * @deprecated These messages are not API and should not be referenced
15: * outside of this plug-in.
16: */
17: class IDEPropertiesMessages {
18: private IDEPropertiesMessages() {
19: // prevent instantiation of class
20: }
21:
22: /**
23: * Returns the formatted message for the given key in
24: * the resource bundle.
25: *
26: * @param key the resource name
27: * @param args the message arguments
28: * @return the string
29: */
30: public static String format(String key, Object[] args) {
31: return key;
32: }
33:
34: /**
35: * Returns the resource object with the given key in
36: * the resource bundle. If there isn't any value under
37: * the given key, the key is returned.
38: *
39: * @param key the resource name
40: * @return the string
41: */
42: public static String getString(String key) {
43: return key;
44: }
45: }
|