Package org.eclipse.gef.ui.properties
Class UndoablePropertySheetEntry
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.views.properties.PropertySheetEntry
org.eclipse.gef.ui.properties.UndoablePropertySheetEntry
- All Implemented Interfaces:
- IPropertySheetEntry
 UndoablePropertySheetEntry provides undo support for changes made to
 IPropertySources by the PropertySheetViewer. Clients can construct a
 PropertySheetPage and use this class
 as the root entry. All changes made to property sources displayed on that
 page will be done using the provided command stack.
 
NOTE: If you intend to use an IPropertySourceProvider for a PropertySheetPage whose root entry is an instance of of UndoablePropertySheetEntry, you should set the IPropertySourceProvider on that root entry, rather than the PropertySheetPage.
- 
Field SummaryFields inherited from interface org.eclipse.ui.views.properties.IPropertySheetEntryFILTER_ID_EXPERT
- 
Constructor SummaryConstructorsConstructorDescriptionUndoablePropertySheetEntry(CommandStack commandStack) Constructs the root entry using the given command stack.
- 
Method SummaryModifier and TypeMethodDescriptionprotected PropertySheetEntryvoiddispose()protected CommandStackReturns theCommandStackthat is used by this entry.voidprotected voidvalueChanged(PropertySheetEntry child) Methods inherited from class org.eclipse.ui.views.properties.PropertySheetEntryaddPropertySheetEntryListener, applyEditorValue, getBackground, getCategory, getChildEntries, getDescription, getDescriptor, getDisplayName, getEditor, getEditValue, getErrorText, getFilters, getFont, getForeground, getHelpContextIds, getImage, getParent, getPropertySource, getValueAsString, getValues, hasChildEntries, refreshFromRoot, removePropertySheetEntryListener, setPropertySourceProvider, setValuesMethods inherited from class org.eclipse.core.commands.common.EventManageraddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
- 
Constructor Details- 
UndoablePropertySheetEntryConstructs the root entry using the given command stack.- Parameters:
- commandStack- the command stack to use
- Since:
- 3.1
 
 
- 
- 
Method Details- 
createChildEntry- Overrides:
- createChildEntryin class- PropertySheetEntry
- See Also:
 
- 
disposepublic void dispose()- Specified by:
- disposein interface- IPropertySheetEntry
- Overrides:
- disposein class- PropertySheetEntry
- See Also:
 
- 
getCommandStackReturns theCommandStackthat is used by this entry. It is obtained from the parent in case the entry is not a root entry.- Returns:
- the CommandStackto be used.
- Since:
- 3.7
 
- 
resetPropertyValuepublic void resetPropertyValue()- Specified by:
- resetPropertyValuein interface- IPropertySheetEntry
- Overrides:
- resetPropertyValuein class- PropertySheetEntry
- See Also:
 
- 
valueChanged- Overrides:
- valueChangedin class- PropertySheetEntry
- See Also:
 
 
-