KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > views > framelist > FrameListMessages


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.ui.views.framelist;
12
13
14 /**
15  * Utility class which helps with managing messages.
16  * @deprecated These messages are not API and should not be referenced
17  * outside of this plug-in.
18  */

19 class FrameListMessages {
20
21     private FrameListMessages() {
22         // prevent instantiation of class
23
}
24
25     /**
26      * Returns the formatted message for the given key in
27      * the resource bundle.
28      *
29      * @param key the resource name
30      * @param args the message arguments
31      * @return the string
32      */

33     public static String JavaDoc format(String JavaDoc key, Object JavaDoc[] args) {
34         return key;
35     }
36
37     /**
38      * Returns the resource object with the given key in
39      * the resource bundle. If there isn't any value under
40      * the given key, the key is returned.
41      *
42      * @param key the resource name
43      * @return the string
44      */

45     public static String JavaDoc getString(String JavaDoc key) {
46       return key;
47     }
48 }
49
Popular Tags