Ejemplo n.º 1
0
 /** @see org.eclipse.jface.action.IAction#run() */
 public void run() {
   LaunchHistory history =
       DebugUIPlugin.getDefault().getLaunchConfigurationManager().getLaunchHistory(fIdentifier);
   ILaunchConfiguration configuration = history.getRecentLaunch();
   IStructuredSelection selection = null;
   if (configuration == null) {
     selection = new StructuredSelection();
   } else {
     selection = new StructuredSelection(configuration);
   }
   int result =
       DebugUITools.openLaunchConfigurationDialogOnGroup(
           DebugUIPlugin.getShell(), selection, fIdentifier);
   notifyResult(result == Window.OK);
 }