/*
* Copyright (C) 2006-2016 DLR, Germany
*
* All rights reserved
*
* http://www.rcenvironment.de/
*/
package de.rcenvironment.components.tiglviewer.gui.internal;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import de.rcenvironment.components.tiglviewer.execution.TiglViewerComponent;
import de.rcenvironment.components.tiglviewer.gui.runtime.TiglViewerRuntimeView;
/**
* Simple activator to "inject" the runtime view.
*
* @author Jan Flink
*/
public class Activator implements BundleActivator {
@Override
public void start(BundleContext arg0) throws Exception {
TiglViewerComponent.setRuntimeView(new TiglViewerRuntimeView());
}
@Override
public void stop(BundleContext arg0) throws Exception {}
}