code: public ShowInContext getShowInContext()
  	{
  		IProcess process = getProcess();
  		if (process == null)
  		{
  			return null;
  		}
  		IDebugTarget target = (IDebugTarget) process.getAdapter(IDebugTarget.class);
  		ISelection selection = null;
  		if (target == null)
  		{
  			selection = new TreeSelection(new TreePath(new Object[] {
  					DebugPlugin.getDefault().getLaunchManager(),
  					process.getLaunch(), process }));
  		} else
  		{
  			selection = new TreeSelection(new TreePath(new Object[] {
  					DebugPlugin.getDefault().getLaunchManager(),
  					target.getLaunch(), target }));
  		}
  		return new ShowInContext(null, selection);
  	}
docs: /*
  (non-Javadoc)
  @see org.eclipse.ui.part.IShowInSource#getShowInContext()