Example usage for org.eclipse.jface.action SubToolBarManager setVisible

List of usage examples for org.eclipse.jface.action SubToolBarManager setVisible

Introduction

In this page you can find the example usage for org.eclipse.jface.action SubToolBarManager setVisible.

Prototype

public void setVisible(boolean visible) 

Source Link

Document

Sets the visibility of the manager.

Usage

From source file:org.kalypso.ui.editor.actions.FeatureSelectionActionGroup.java

License:Open Source License

/**
 * Creates the sub-toolbar where the selection-dependent contribution items are added.
 * <p>/*from  ww  w . j av a 2  s . c  o  m*/
 * Default implementation just creates a sub-toolbar and makes it visible.
 * </p>
 * <p>
 * Intended to be overwritten by clients.
 * </p>
 */
protected SubToolBarManager createSubToolbarManager(final IToolBarManager toolBarManager) {
    final SubToolBarManager subToolBarManager = new SubToolBarManager(toolBarManager);
    subToolBarManager.setVisible(true);
    return subToolBarManager;
}