public class UndoablePropertySheetPage
extends org.eclipse.ui.views.properties.PropertySheetPage
IWorkbenchPart
is not active.Constructor and Description |
---|
UndoablePropertySheetPage(org.eclipse.ui.IWorkbenchPart workbenchPart,
org.eclipse.core.commands.operations.IOperationHistory operationHistory,
org.eclipse.core.commands.operations.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.
|
org.eclipse.ui.IWorkbenchPart |
getWorkbenchPart()
Returns the
IWorkbenchPart this UndoablePropertySheetPage
is related to. |
void |
setActionBars(org.eclipse.ui.IActionBars actionBars) |
@Inject public UndoablePropertySheetPage(org.eclipse.ui.IWorkbenchPart workbenchPart, org.eclipse.core.commands.operations.IOperationHistory operationHistory, org.eclipse.core.commands.operations.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 org.eclipse.ui.part.IPage
dispose
in class org.eclipse.ui.views.properties.PropertySheetPage
PropertySheetPage.dispose()
public org.eclipse.ui.IWorkbenchPart getWorkbenchPart()
IWorkbenchPart
this UndoablePropertySheetPage
is related to.IWorkbenchPart
that was passed in upon creation.public void setActionBars(org.eclipse.ui.IActionBars actionBars)
setActionBars
in interface org.eclipse.ui.part.IPage
setActionBars
in class org.eclipse.ui.views.properties.PropertySheetPage
Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.