Class StandaloneActivator

  • All Implemented Interfaces:
    EditorEmbedderFactory.IEditorCreator, ModelEditorConfigurer.IModelEditorConfigurer, org.osgi.framework.BundleActivator

    public class StandaloneActivator
    extends Activator
    The activator class controls the plug-in life cycle. This class is required only if the IVML editor shall be used as a standalone plugin in Eclipse. EASy-Producer does not need this code, which aims at loading all projects from the workspace root. In order to reduce the number of plugins, we refrained from creating an own plugin project for that activator. If you want to use that activator, please change the manifest as part of the packaging/deployment activities. In case that you want aim at using the resolver from the ReasonerCore, please call de.uni_hildesheim.sse.reasoning.core.importResolver.ReasoningImportResolver.registerAsTopResolver(); before activating the IVML UI via this activator.
    • Field Summary

      • Fields inherited from class de.uni_hildesheim.sse.ui.internal.IvmlActivator

        DE_UNI_HILDESHEIM_SSE_IVML
      • Fields inherited from class org.eclipse.core.runtime.Plugin

        PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private java.io.File getWorkspaceRoot()
      Returns the workspace root as file.
      void start​(org.osgi.framework.BundleContext context)  
      void stop​(org.osgi.framework.BundleContext context)  
      • Methods inherited from class de.uni_hildesheim.sse.ui.internal.IvmlActivator

        createInjector, getInjector, getInstance, getRuntimeModule, getSharedStateModule, getUiModule
      • Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin

        createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
      • Methods inherited from class org.eclipse.core.runtime.Plugin

        find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StandaloneActivator

        public StandaloneActivator()
    • Method Detail

      • getWorkspaceRoot

        private java.io.File getWorkspaceRoot()
        Returns the workspace root as file.
        Returns:
        the workspace root as file
      • start

        public void start​(org.osgi.framework.BundleContext context)
                   throws java.lang.Exception
        Specified by:
        start in interface org.osgi.framework.BundleActivator
        Overrides:
        start in class Activator
        Throws:
        java.lang.Exception
      • stop

        public void stop​(org.osgi.framework.BundleContext context)
                  throws java.lang.Exception
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Overrides:
        stop in class Activator
        Throws:
        java.lang.Exception