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 12 package org.eclipse.ui.views.properties; 13 14 15 /** 16 * Utility class which helps manage messages. 17 * @deprecated These messages are not API and should not be referenced 18 * outside of this plug-in. 19 */ 20 class IDEPropertiesMessages { 21 private IDEPropertiesMessages() { 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 format(String key, Object[] 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 getString(String key) { 46 return key; 47 } 48 } 49