public void partActivated(IWorkbenchPartReference partRef) { if (isThisPart(partRef)) { fActive = true; activateParticipants(fActiveConsole); } }
fStack.remove(fActiveConsole); fStack.add(0,fActiveConsole); activateParticipants(fActiveConsole);
fStack.remove(fActiveConsole); fStack.add(0,fActiveConsole); activateParticipants(fActiveConsole);
@Override public void partActivated(IWorkbenchPartReference partRef) { if (isThisPart(partRef)) { fActive = true; IContextService contextService = getSite().getService(IContextService.class); if(contextService != null) { fActivatedContext = contextService.activateContext(IConsoleConstants.ID_CONSOLE_VIEW); activateParticipants(fActiveConsole); } } }