This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Ability to provide custom action for controlling task cancellation | ||
---|---|---|---|
Product: | platform | Reporter: | _ gsporar <gsporar> |
Component: | Progress | Assignee: | Jan Peska <JPESKA> |
Status: | NEW --- | ||
Severity: | blocker | CC: | mkrauskopf |
Priority: | P3 | Keywords: | API, UI |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
_ gsporar
2007-08-24 15:44:34 UTC
This message is provided by the progress support and is the same for -all- tasks that you attempt to canc^H^H^H^H stop. Perhaps the message should be "Are you sure you want to terminate {x}", or perhaps "stop" instead of "terminate" ? *** Issue 110459 has been marked as a duplicate of this issue. *** *** Issue 110459 has been marked as a duplicate of this issue. *** We agreed with Milos that this and issue 110495 will be solved with this enhancement. So changing subject accordingly. *** Issue 110459 has been marked as a duplicate of this issue. *** I posted the following to a duplicate of this (110459), reposting here to make sure it's addressed: I'm not sure adding an API for custom termination interaction is the best way to do it. Whether or not a user program should be killable without interaction is not an attribute of the technology, it's an attribute of the developer type. Put another way, there are Java developers who want to be able to terminate their running program / test without interaction, just as there are Ruby developers who may want the confirmation dialog. Putting this logic into specific task handlers will just encourage different behavior in places where the difference doesn't make sense. Instead, whoever is posting the "Are you sure?" dialog today needs to add a checkbox to suppress show-in-future, and persist the state. |