Package org.eclipse.gef.ui.properties
Class UndoablePropertySheetPage
java.lang.Object
org.eclipse.ui.part.Page
org.eclipse.ui.views.properties.PropertySheetPage
org.eclipse.gef.ui.properties.UndoablePropertySheetPage
- All Implemented Interfaces:
- EventListener,- IAdaptable,- ISelectionListener,- IPage,- IPageBookViewPage,- IPropertySheetPage
PropertySheetPage extension that allows to perform undo/redo of property
 value changes also in case the editor is not active.
- Since:
- 3.7
- 
Field SummaryFields inherited from class org.eclipse.ui.views.properties.PropertySheetPageHELP_CONTEXT_PROPERTY_SHEET_PAGE
- 
Constructor SummaryConstructorsConstructorDescriptionUndoablePropertySheetPage(CommandStack commandStack, IAction undoAction, IAction redoAction) Constructs a newUndoablePropertySheetPage.
- 
Method SummaryModifier and TypeMethodDescriptionvoiddispose()Overwritten to unregister command stack listener.voidsetActionBars(IActionBars actionBars) Overwritten to register global action handlers for undo and redo.Methods inherited from class org.eclipse.ui.views.properties.PropertySheetPagecreateControl, getAdapter, getControl, getSaveablePart, handleEntrySelection, initDragAndDrop, makeContributions, refresh, selectionChanged, setFocus, setPropertySourceProvider, setRootEntry, setSorter
- 
Constructor Details- 
UndoablePropertySheetPageConstructs a newUndoablePropertySheetPage.- Parameters:
- commandStack- The- CommandStackshared with the editor.
- undoAction- The global action handler to be registered for undo operations.
- redoAction- The global action handler to be registered for redo operations.
 
 
- 
- 
Method Details- 
disposepublic void dispose()Overwritten to unregister command stack listener.- Specified by:
- disposein interface- IPage
- Overrides:
- disposein class- PropertySheetPage
- See Also:
 
- 
setActionBarsOverwritten to register global action handlers for undo and redo.- Specified by:
- setActionBarsin interface- IPage
- Overrides:
- setActionBarsin class- PropertySheetPage
- See Also:
 
 
-