/* * 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.xsd; import org.eclipse.core.runtime.Plugin; import org.osgi.framework.BundleContext; import org.teiid.core.designer.util.PluginUtilImpl; /** * @since 8.0 */ public class ModelerXsdPlugin extends Plugin implements PluginConstants { /////////////////////////////////////////////////////////////////////////////////////////////// // CLASS FIELDS /////////////////////////////////////////////////////////////////////////////////////////////// public static ModelerXsdPlugin INSTANCE; /////////////////////////////////////////////////////////////////////////////////////////////// // CLASS METHODS /////////////////////////////////////////////////////////////////////////////////////////////// public static ModelerXsdPlugin getDefault() { return INSTANCE; } /////////////////////////////////////////////////////////////////////////////////////////////// // CONSTRUCTORS /////////////////////////////////////////////////////////////////////////////////////////////// /** * Construct an instance of ModelerXsdPlugin. * @since 5.0.2 */ public ModelerXsdPlugin() { INSTANCE = this; } /////////////////////////////////////////////////////////////////////////////////////////////// // METHODS /////////////////////////////////////////////////////////////////////////////////////////////// /** * @see org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext) * @since 5.0.2 */ @Override public void start(final BundleContext context) throws Exception { super.start(context); ((PluginUtilImpl)Util).initializePlatformLogger(this); } }