/* * JBoss, Home of Professional Open Source. * * See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing. * * See the AUTHORS.txt file distributed with this work for a full listing of individual contributors. */ package org.teiid.designer.xml; import java.util.ResourceBundle; import org.teiid.core.designer.PluginUtil; import org.teiid.core.designer.util.PluginUtilImpl; /** * PluginConstants * This class is intended for use within this plugin only. * @since 8.0 */ public interface PluginConstants { //=========================================== // Constants /** * The ID of the plug-in containing this constants class. * @since 4.0 */ String PLUGIN_ID = "org.teiid.designer.xml"; //$NON-NLS-1$ String PACKAGE_ID = PluginConstants.class.getPackage().getName(); /** * Contains private constants used by other constants within this class. * @since 4.0 */ class PC { protected static final String I18N_NAME = PACKAGE_ID + ".i18n"; //$NON-NLS-1$ } interface PreferenceKeys { public static final String MAPPING_TYPE_FROM_XSD = "mappingTypeFromXsd"; //$NON-NLS-1$ } /** * Provides access to the plugin's log and to it's resources. * @since 4.0 */ PluginUtil Util = new PluginUtilImpl(PLUGIN_ID, PC.I18N_NAME, ResourceBundle.getBundle(PC.I18N_NAME)); }