use of org.talend.dataprofiler.rcp.intro.linksbar.LinksToolbarItem in project tdq-studio-se by Talend.
the class ApplicationActionBarAdvisor method fillCoolBar.
/*
* (non-Javadoc)
*
* @see org.eclipse.ui.application.ActionBarAdvisor#fillCoolBar(org.eclipse.jface.action.ICoolBarManager)
*/
@Override
protected void fillCoolBar(ICoolBarManager coolBar) {
IToolBarManager toolbar = new ToolBarManager(SWT.FLAT | SWT.RIGHT);
// $NON-NLS-1$
coolBar.add(new ToolBarContributionItem(toolbar, "switch_persp"));
toolbar.add(new ChangePerspectiveAction(true));
toolbar.add(ActionFactory.SAVE.create(window));
// add feature:15174
// Workbench3xImplementation4CoolBar.createLinksToolbarItem(coolBar);
IToolBarManager toolBarManager = new ToolBarManager(SWT.FLAT | SWT.RIGHT);
toolBarManager.add(new LinksToolbarItem());
coolBar.add(new ToolBarContributionItem(toolBarManager, LinksToolbarItem.COOLITEM_LINKS_ID));
}
Aggregations