org.eclipse.gef
Class GEFPlugin

java.lang.Object
  extended byorg.eclipse.core.runtime.Plugin
      extended byorg.eclipse.ui.plugin.AbstractUIPlugin
          extended byorg.eclipse.gef.GEFPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public final class GEFPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin


Field Summary
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
GEFPlugin()
          Creates the singleton instance of the GEF plugin.
 
Method Summary
static org.eclipse.ui.views.properties.IPropertySheetEntry createUndoablePropertySheetEntry(CommandStack stack)
          Create a property sheet entry which will execute commands on a command stack.
static GEFPlugin getDefault()
          Gets the plugin singleton.
 
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, start, startup, stop
 
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

GEFPlugin

public GEFPlugin()
Creates the singleton instance of the GEF plugin.

Method Detail

getDefault

public static GEFPlugin getDefault()
Gets the plugin singleton.

Returns:
the default GEFPlugin singleton

createUndoablePropertySheetEntry

public static org.eclipse.ui.views.properties.IPropertySheetEntry createUndoablePropertySheetEntry(CommandStack stack)
Create a property sheet entry which will execute commands on a command stack. Calls to setting property values will be wrapped inside a single command which is executed on the given stack.

Parameters:
stack - a command stack
Returns:
the implementation for the entry