org.eclipse.net4j.util.ui
Class UIActivator.WithState

java.lang.Object
  extended by org.eclipse.core.runtime.Plugin
      extended by org.eclipse.ui.plugin.AbstractUIPlugin
          extended by org.eclipse.net4j.util.ui.UIActivator
              extended by org.eclipse.net4j.util.ui.UIActivator.WithState
All Implemented Interfaces:
org.osgi.framework.BundleActivator
Enclosing class:
UIActivator

public abstract static class UIActivator.WithState
extends UIActivator

Since:
3.1

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.net4j.util.ui.UIActivator
UIActivator.WithState
 
Field Summary
 
Fields inherited from class org.eclipse.net4j.util.ui.UIActivator
bundleContext
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
UIActivator.WithState(OMBundle bundle)
           
 
Method Summary
protected  void doStart()
           
protected abstract  void doStartWithState(Object state)
           
protected  void doStop()
           
protected abstract  Object doStopWithState()
           
 
Methods inherited from class org.eclipse.net4j.util.ui.UIActivator
getOMBundle, loadImageDescriptor, start, stop
 
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

UIActivator.WithState

public UIActivator.WithState(OMBundle bundle)
Method Detail

doStart

protected final void doStart()
                      throws Exception
Overrides:
doStart in class UIActivator
Throws:
Exception

doStop

protected final void doStop()
                     throws Exception
Overrides:
doStop in class UIActivator
Throws:
Exception

doStartWithState

protected abstract void doStartWithState(Object state)
                                  throws Exception
Throws:
Exception

doStopWithState

protected abstract Object doStopWithState()
                                   throws Exception
Throws:
Exception


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.