Interface ToggleablePluginItem<C extends BaseContext>

All Known Subinterfaces:
ToggleableToolbarItem

public interface ToggleablePluginItem<C extends BaseContext>
Definition of an item providing a toggleable state.
Since:
5.0.204
  • Method Details

    • setSelectionListener

      void setSelectionListener(ToggleablePluginItem.SelectionListener selectionListener)
      Passes a selection change listener to this plugin item. Use given listener to inform about selection changes different to selected state passed in setSelected(BaseContext, boolean)
      Since:
      5.0.204
    • setSelected

      void setSelected(C context, boolean selected)
      Sets the selection mode of this item.
      Parameters:
      context - The context operating in.
      selected - true, if selected.
      Since:
      5.0.204