/* * 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.compare.ui; import java.util.ResourceBundle; import org.teiid.core.designer.PluginUtil; import org.teiid.core.designer.util.PluginUtilImpl; /** * DiagramUiConstants * @since 8.0 */ public interface UiConstants { /** * The ID of the plug-in containing this constants class. * @since 4.0 */ String PLUGIN_ID = "org.teiid.designer.compare.ui"; //$NON-NLS-1$ String PACKAGE_ID = UiConstants.class.getPackage().getName(); /** * Contains private constants used by other constants within this class. * @since 4.0 */ class PC { static final String I18N_NAME = PACKAGE_ID + ".i18n"; //$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)); //============================================================================================================================ // Extension constants /** * Constants related to extensions, including all extension ID's. * @since 4.0 */ interface Extensions { // String DIAGRAM_EDITOR = "diagramEditorPage"; //$NON-NLS-1$ } /** * Constants related to extension points, including all extension point ID's and extension point schema component names. * @since 4.0 */ interface ExtensionPoints { } /** * Constants related to properties on a Diagram Model Node * @since 4.0 */ interface Errors { String SOME_MAPPING_FAILURE = "MappingErrors.someError"; //$NON-NLS-1$ } /** * Constants related to styles of drawing diagram connections ('routers') * @since 4.0 */ interface Colors { // Color SELECTION = ColorConstants.lightBlue; // Color INPUT_SET_HEADER = new Color(null, 250, 160, 210); } /** * Keys for images and image descriptors stored in the image registry. * @since 4.0 */ interface Images { String FULL = "icons/full/"; //$NON-NLS-1$ String OVR16 = FULL + "ovr16/"; //$NON-NLS-1$ String CTOOL16 = FULL + "ctool16/"; //$NON-NLS-1$ } }