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