| Summary: | Pressing ESC key closes the Project Facets selection dialog and applies the changes as if OK was pressed | ||
|---|---|---|---|
| Product: | [WebTools] WTP Common Tools | Reporter: | Roberto Sanchez Herrera <shr31223> |
| Component: | Faceted Project Framework | Assignee: | wst.common <wst.common-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | Konstantin Komissarchik <konstantin> |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.2.4 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Roberto Sanchez Herrera
The ESC key support and the X button in upper right are fundamental features of all dialogs in Windows. Trying to mess with these (assuming that is even possible) would create worse usability problems than this would be addressing. (In reply to comment #1) > The ESC key support and the X button in upper right are fundamental features of > all dialogs in Windows. Trying to mess with these (assuming that is even > possible) would create worse usability problems than this would be addressing. In fact, the change is pretty simple. To disable the ESC key, you just need to override the canHandleShellCloseEvent method in FacetsSelectionDialog. And for the X button, just need to change the shell style of the same class Closing defect, thank you for looking at it. |