org.eclipse.emf.transaction.ui.view
Class ExtendedPropertySheetPage
java.lang.Object
org.eclipse.ui.part.Page
org.eclipse.ui.views.properties.PropertySheetPage
org.eclipse.emf.edit.ui.view.ExtendedPropertySheetPage
org.eclipse.emf.transaction.ui.view.ExtendedPropertySheetPage
- All Implemented Interfaces:
- EventListener, IAdaptable, ISelectionListener, IPage, IPageBookViewPage, IPropertySheetPage
public class ExtendedPropertySheetPage
- extends ExtendedPropertySheetPage
An extension of the extended property sheet page that performs refreshes
in read transactions.
Methods inherited from class org.eclipse.ui.views.properties.PropertySheetPage |
createControl, dispose, getAdapter, getControl, getSaveablePart, initDragAndDrop, setActionBars, setFocus, setPropertySourceProvider, setRootEntry, setSorter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtendedPropertySheetPage
public ExtendedPropertySheetPage(AdapterFactoryEditingDomain editingDomain)
- Initializes me with the editing domain in which I create transactions.
- Parameters:
editingDomain
- my editing domain
getTransactionalEditingDomain
protected TransactionalEditingDomain getTransactionalEditingDomain()
- Obtains my editing domain.
- Returns:
- my editing domain
refresh
public void refresh()
- Delegates to the superclass implementation within a read transaction,
if an editing domain is available.
- Overrides:
refresh
in class PropertySheetPage
selectionChanged
public void selectionChanged(IWorkbenchPart part,
ISelection selection)
- Delegates to the superclass implementation within a read transaction,
if an editing domain is available.
- Specified by:
selectionChanged
in interface ISelectionListener
- Overrides:
selectionChanged
in class PropertySheetPage