/** Create a new CreateLaunchAction. */ public CreateLaunchAction( ManageLaunchesDialog launchConfigurationDialog, ILaunchConfigurationType configType) { super("Create a new " + configType.getName()); this.launchConfigurationDialog = launchConfigurationDialog; this.configType = configType; setImageDescriptor( new DecorationOverlayIcon( SDBGDebugUIPlugin.getImage(DebugUITools.getDefaultImageDescriptor(configType)), SDBGDebugUIPlugin.getImageDescriptor("ovr16/new.png"), IDecoration.TOP_RIGHT)); }
@Override public void run() { if (breakpoint != null) { try { breakpoint.delete(); } catch (CoreException e) { SDBGDebugUIPlugin.logError(e); } } }
protected RemoveBreakpointAction(ISelectionProvider provider) { super(provider, "Remove Breakpoint"); setImageDescriptor(SDBGDebugUIPlugin.getImageDescriptor("obj16/rem_co.gif")); setEnabled(false); }