Example usage for org.eclipse.jface.internal.provisional.action IToolBarContributionItem getMinimumItemsToShow

List of usage examples for org.eclipse.jface.internal.provisional.action IToolBarContributionItem getMinimumItemsToShow

Introduction

In this page you can find the example usage for org.eclipse.jface.internal.provisional.action IToolBarContributionItem getMinimumItemsToShow.

Prototype

public int getMinimumItemsToShow();

Source Link

Document

Returns the minimum number of tool items to show in the cool item.

Usage

From source file:org.eclipse.ui.internal.PlaceholderContributionItem.java

License:Open Source License

/**
 * Constructs a new instance of <code>PlaceholderContributionItem</code>
 * from the item it is intended to replace.
 * //w  ww. ja  va2s .  c o  m
 * @param item
 *            The item to be replaced; must not be <code>null</code>.
 */
PlaceholderContributionItem(final IToolBarContributionItem item) {
    item.saveWidgetState();
    id = item.getId();
    storedHeight = item.getCurrentHeight();
    storedWidth = item.getCurrentWidth();
    storedMinimumItems = item.getMinimumItemsToShow();
    storedUseChevron = item.getUseChevron();
}