Interface MenuActionComboBox.IContributionItemFactory<V>

Type Parameters:
V - the type of items contained by parent MenuActionComboBox
All Known Implementing Classes:
MenuActionComboBox.ItemFactory
Enclosing class:
MenuActionComboBox<T>

public static interface MenuActionComboBox.IContributionItemFactory<V>
The factory is used to create items for MenuActionComboBox.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.jface.action.IContributionItem
    create(V item, int index)
    Creates a new contribution item for dropdown menu that is a representation of the given item in specified index.
  • Method Details

    • create

      org.eclipse.jface.action.IContributionItem create(V item, int index)
      Creates a new contribution item for dropdown menu that is a representation of the given item in specified index.
      Parameters:
      item - the item on basis of which the ContributionItem will be created
      index - the index of the given item (see IComboBox.indexOf(Object)
      Returns:
      a new ContributionItem element for dropdown menu
      See Also:
      • ContributionItem