/** * Sets the visibility of the manager. If the visibility is * <code>true</code> then each item within the manager appears within the * parent manager. Otherwise, the items are not visible. * * @param visible * the new visibility */ private void setVisible(boolean visible) { if (toolBarContributionItem != null) { toolBarContributionItem.setVisible(visible); if (toolBarContributionItem.getParent() != null) { toolBarContributionItem.getParent().markDirty(); } } }