01: /*******************************************************************************
02: * Copyright (c) 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.navigator;
11:
12: /**
13: * Utility class which helps managing messages
14: * @since 2.0
15: * @deprecated These messages are not API and should not be referenced
16: * outside of this plug-in.
17: */
18: public class ResourceNavigatorMessages {
19:
20: private ResourceNavigatorMessages() {
21: // prevent instantiation of class
22: }
23:
24: /**
25: * Returns the formatted message for the given key in
26: * the resource bundle.
27: *
28: * @param key the resource name
29: * @param args the message arguments
30: * @return the string
31: */
32: public static String format(String key, Object[] args) {
33: return key;
34: }
35:
36: /**
37: * Returns the resource object with the given key in
38: * the resource bundle. If there isn't any value under
39: * the given key, the key is returned.
40: *
41: * @param key the resource name
42: * @return the string
43: */
44: public static String getString(String key) {
45: return key;
46: }
47: }
|