@Override
public void start(BundleContext context) throws Exception {
super.start(context);
JtracPlugin plugin = new JtracPlugin(); // this has to be refactored into headless later
plugin.start(context);
TasksUiPlugin.getRepositoryManager().addListener(JtracPlugin.getDefault().getConnector().getTaskRepositoryListener());
}
@Override
public void stop(BundleContext context) throws Exception {