Interface IPropertySheetToolbarItemsProvider


  • public interface IPropertySheetToolbarItemsProvider
    Service to handle additional md property palette toolbar contribution items provided by plugins.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Collection<org.eclipse.jface.action.IContributionItem> getItems()
      Returns collection of the palette toolbar contribution items.
      org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
      Returns preference store used to store toolbar contribution items state of the current items provider.
      void propertyChange​(org.eclipse.jface.util.PropertyChangeEvent event, IScene scene)
      Called by extension point when property related to some contribution item is changed.
      void selectionChanged​(ISelection selection)
      Notifies this listener that the selection has changed.
    • Method Detail

      • 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

        void selectionChanged​(ISelection selection)
        Notifies this listener that the selection has changed.

        This method is called when the editor selection changes.

        Parameters:
        selection - the current selection. This may be null
      • propertyChange

        void propertyChange​(org.eclipse.jface.util.PropertyChangeEvent event,
                            IScene scene)
        Called by extension point when property related to some contribution item is changed.
        Parameters:
        event - property change event reference, cannot be null
        scene - scene, cannot be null