public class UndoablePropertySheetPage extends PropertySheetPage
IWorkbenchPart
is not active.HELP_CONTEXT_PROPERTY_SHEET_PAGE
Constructor and Description |
---|
UndoablePropertySheetPage(IWorkbenchPart workbenchPart,
IOperationHistory operationHistory,
IUndoContext undoContext)
Constructs a new
UndoablePropertySheetPage using the provided
IOperationHistory . |
Modifier and Type | Method and Description |
---|---|
protected UndoablePropertySheetEntry |
createRootEntry()
Creates the
IPropertySheetEntry that is used as the root entry of
this UndoablePropertySheetPage . |
void |
dispose()
Overwritten to unregister command stack listener.
|
IWorkbenchPart |
getWorkbenchPart()
Returns the
IWorkbenchPart this UndoablePropertySheetPage
is related to. |
void |
setActionBars(IActionBars actionBars) |
createControl, getAdapter, getControl, getSaveablePart, handleEntrySelection, initDragAndDrop, makeContributions, refresh, selectionChanged, setFocus, setPropertySourceProvider, setRootEntry, setSorter
@Inject public UndoablePropertySheetPage(IWorkbenchPart workbenchPart, IOperationHistory operationHistory, IUndoContext undoContext)
UndoablePropertySheetPage
using the provided
IOperationHistory
.operationHistory
- The IOperationHistory
shared with the editor/view.undoContext
- The IUndoContext
shared with the editor/view.workbenchPart
- The IWorkbenchPart
this
UndoablePropertySheetPage
is related to. .protected UndoablePropertySheetEntry createRootEntry()
IPropertySheetEntry
that is used as the root entry of
this UndoablePropertySheetPage
.UndoablePropertySheetEntry
, bound to the
IOperationHistory
and IUndoContext
used by this
UndoablePropertySheetPage
.public void dispose()
dispose
in interface IPage
dispose
in class PropertySheetPage
PropertySheetPage.dispose()
public IWorkbenchPart getWorkbenchPart()
IWorkbenchPart
this UndoablePropertySheetPage
is related to.IWorkbenchPart
that was passed in upon creation.public void setActionBars(IActionBars actionBars)
setActionBars
in interface IPage
setActionBars
in class PropertySheetPage
Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.