|
| 1 | +// Generated File. Do Not Modify |
| 2 | +/* |
| 3 | +Copyright (c) 2008,2017, Oracle and/or its affiliates. All rights reserved. |
| 4 | +
|
| 5 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | +you may not use this file except in compliance with the License. |
| 7 | +You may obtain a copy of the License at |
| 8 | +
|
| 9 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +
|
| 11 | +Unless required by applicable law or agreed to in writing, software |
| 12 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +See the License for the specific language governing permissions and |
| 15 | +limitations under the License. |
| 16 | +*/ |
| 17 | + |
| 18 | +package oracle.db.examples.sqldeveloper.extension.favorites; |
| 19 | + |
| 20 | +import java.awt.Image; |
| 21 | +import javax.swing.Icon; |
| 22 | + |
| 23 | +import oracle.dbtools.raptor.utils.MessagesBase; |
| 24 | + |
| 25 | +public class FavoritesResources extends MessagesBase { |
| 26 | + // Generated Resource Keys |
| 27 | + public static final String favorites_folder_label = "favorites_folder_label"; //$NON-NLS-1$ |
| 28 | + |
| 29 | + private static final String BUNDLE_NAME = "oracle.db.examples.sqldeveloper.extension.favorites.FavoritesResources"; //$NON-NLS-1$ |
| 30 | + |
| 31 | + private static final FavoritesResources INSTANCE = new FavoritesResources(); |
| 32 | + |
| 33 | + private FavoritesResources() { |
| 34 | + super(BUNDLE_NAME, FavoritesResources.class.getClassLoader()); |
| 35 | + } |
| 36 | + |
| 37 | +// public static ResourceBundle getBundle() { |
| 38 | +// return INSTANCE.getResourceBundle(); |
| 39 | +// } |
| 40 | + |
| 41 | +// /** |
| 42 | +// * @deprecated use getBundle() |
| 43 | +// */ |
| 44 | +// public static ResourceBundle getInstance() { |
| 45 | +// return getBundle(); |
| 46 | + // } |
| 47 | + |
| 48 | + public static String getString( String key ) { |
| 49 | + return INSTANCE.getStringImpl(key); |
| 50 | + } |
| 51 | + |
| 52 | + public static String get( String key ) { |
| 53 | + return getString(key); |
| 54 | + } |
| 55 | + |
| 56 | + public static Image getImage( String key ) { |
| 57 | + return INSTANCE.getImageImpl(key); |
| 58 | + } |
| 59 | + |
| 60 | + public static String format(String key, Object ... arguments) { |
| 61 | + return INSTANCE.formatImpl(key, arguments); |
| 62 | + } |
| 63 | + |
| 64 | + public static Icon getIcon(String key) { |
| 65 | + return INSTANCE.getIconImpl(key); |
| 66 | + } |
| 67 | + |
| 68 | + public static Integer getInteger(String key) { |
| 69 | + return INSTANCE.getIntegerImpl(key); |
| 70 | + } |
| 71 | + |
| 72 | +} |
0 commit comments