blob: 40e7586585c47c0631f699839c502ae26f632c92 [file] [log] [blame]
// ExternalDataSourceEditorPlugin.java
package org.eclipse.stem.diseasemodels.externaldatasource.presentation;
/*******************************************************************************
* Copyright (c) 2007, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
import org.eclipse.emf.common.EMFPlugin;
import org.eclipse.emf.common.ui.EclipseUIPlugin;
import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.stem.core.common.provider.CoreEditPlugin;
import org.eclipse.stem.definitions.labels.provider.DefinitionsEditPlugin;
import org.eclipse.stem.diseasemodels.standard.provider.DiseasemodelsEditPlugin;
import org.osgi.framework.BundleContext;
/**
* This is the central singleton for the ExternalDataSource editor plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public final class ExternalDataSourceEditorPlugin extends EMFPlugin {
/**
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static final ExternalDataSourceEditorPlugin INSTANCE = new ExternalDataSourceEditorPlugin();
/**
* Keep track of the singleton.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
static Implementation plugin;
/**
* Create the instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ExternalDataSourceEditorPlugin() {
super
(new ResourceLocator [] {
DiseasemodelsEditPlugin.INSTANCE,
CoreEditPlugin.INSTANCE,
DefinitionsEditPlugin.INSTANCE,
});
}
/**
* Returns the singleton instance of the Eclipse plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the singleton instance.
* @generated
*/
@Override
public ResourceLocator getPluginResourceLocator() {
return plugin;
}
/**
* Returns the singleton instance of the Eclipse plugin.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the singleton instance.
* @generated
*/
public static Implementation getPlugin() {
return plugin;
}
/**
* The actual implementation of the Eclipse <b>Plugin</b>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated NOT
*/
public static class Implementation extends EclipseUIPlugin {
/**
* Creates an instance.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated NOT
*/
public Implementation() {
super();
// Remember the static instance.
//
plugin = this;
}
/**
*
*/
@Override
public void start(BundleContext context) throws Exception {
super.start(context);
new ExternalDataSourceDiseaseModelPropertyEditorAdapterFactory();
}
/**
*
*/
@Override
public void stop(BundleContext context) throws Exception {
// TODO Auto-generated method stub
super.stop(context);
}
} // Implementation
}