use of org.eclipse.n4js.ui.workingsets.internal.N4JSProjectActionGroup in project n4js by eclipse.
the class N4JSNavigatorActionProvider method init.
@Override
public void init(final ICommonActionExtensionSite site) {
ICommonViewerWorkbenchSite workbenchSite = null;
if (site.getViewSite() instanceof ICommonViewerWorkbenchSite)
workbenchSite = (ICommonViewerWorkbenchSite) site.getViewSite();
if (workbenchSite != null) {
if (workbenchSite.getPart() != null && workbenchSite.getPart() instanceof IViewPart) {
final IViewPart viewPart = (IViewPart) workbenchSite.getPart();
projectGroup = new N4JSProjectActionGroup(viewPart);
workingSetActionProvider = new N4JSWorkingSetActionProvider();
workingSetActionProvider.init(site);
assignWorkingSetsAction.init(site);
}
}
}
Aggregations