Eclipse GEF
3.0.1

org.eclipse.gef
Class GEFPlugin

java.lang.Object
  extended byorg.eclipse.gef.GEFPlugin

public final class GEFPlugin
extends Object


Constructor Summary
GEFPlugin()
          Creates the singleton instance of the GEF plugin.
 
Method Summary
static 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 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

Eclipse GEF
3.0.1

Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.