示例#1
0
  /** 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));
  }
示例#2
0
  protected RemoveBreakpointAction(ISelectionProvider provider) {
    super(provider, "Remove Breakpoint");

    setImageDescriptor(SDBGDebugUIPlugin.getImageDescriptor("obj16/rem_co.gif"));
    setEnabled(false);
  }