Interface IPropertySheetToolbarItemsProvider
- All Known Implementing Classes:
MdExtensionPropertySheetToolbarItemsProvider,PropertySheetToolbarActionsManager
public interface IPropertySheetToolbarItemsProvider
Service to handle additional md property palette toolbar contribution items provided by plugins.
-
Method Summary
Modifier and TypeMethodDescriptionCollection<org.eclipse.jface.action.IContributionItem>getItems()Returns collection of the palette toolbar contribution items.org.eclipse.jface.preference.IPreferenceStoreReturns preference store used to store toolbar contribution items state of the current items provider.voidpropertyChange(org.eclipse.jface.util.PropertyChangeEvent event, IScene scene) Called by extension point when property related to some contribution item is changed.voidselectionChanged(ISelection selection) Notifies this listener that the selection has changed.
-
Method Details
-
getItems
Collection<org.eclipse.jface.action.IContributionItem> getItems()Returns collection of the palette toolbar contribution items.- Returns:
- collection of toolbar contribution items, never
null
-
getPreferenceStore
org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()Returns preference store used to store toolbar contribution items state of the current items provider.- Returns:
- preference store, never
null
-
selectionChanged
Notifies this listener that the selection has changed.This method is called when the editor selection changes.
- Parameters:
selection- the current selection. This may benull
-
propertyChange
Called by extension point when property related to some contribution item is changed.- Parameters:
event- property change event reference, cannot benullscene- scene, cannot benull
-