use of org.talend.designer.runtime.visualization.internal.ui.properties.cpu.actions.FindAction in project tdi-studio-se by Talend.
the class CpuSection method contributeToActionBars.
/**
* Contributes to action bars.
*/
private void contributeToActionBars() {
IActionBars actionBars = getActionBars();
OpenDeclarationAction.createOpenDeclarationAction(actionBars);
actionBars.setGlobalActionHandler(ActionFactory.FIND.getId(), new FindAction());
CopyAction.createCopyAction(actionBars);
}
use of org.talend.designer.runtime.visualization.internal.ui.properties.cpu.actions.FindAction in project tdi-studio-se by Talend.
the class CpuDumpEditor method contributeToActionBars.
/**
* Contributes to action bars.
*/
private void contributeToActionBars() {
IActionBars actionBars = getEditorSite().getActionBars();
actionBars.setGlobalActionHandler(JdtActionConstants.OPEN, new OpenDeclarationAction());
actionBars.setGlobalActionHandler(ActionFactory.FIND.getId(), new FindAction());
actionBars.setGlobalActionHandler(ActionFactory.COPY.getId(), new CopyAction());
}
Aggregations