code: public void activated()
  	{
  		// add EOF submissions
  		IPageSite site = fPage.getSite();
  		if (fActivatedContext == null && fActivatedHandler == null)
  		{
  			IHandlerService handlerService = (IHandlerService) site.getService(IHandlerService.class);
  			IContextService contextService = (IContextService) site.getService(IContextService.class);
  			fActivatedContext = contextService.activateContext(fContextId);
  			fActivatedHandler = handlerService.activateHandler("org.eclipse.debug.ui.commands.eof", fEOFHandler); //$NON-NLS-1$
  		}
  	}
docs: /*
  (non-Javadoc)
  @see org.eclipse.ui.console.IConsolePageParticipant#activated()