| Summary: | [resources] ValidateEdit spec - should say "must prompt" if there is a UI context | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Kevin McGuire <Kevin_McGuire> |
| Component: | Resources | Assignee: | John Arthorne <john.arthorne> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jed.anderson, jeem |
| Version: | 2.1 | ||
| Target Milestone: | 2.1 RC1 | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Kevin McGuire
Looks like this change has been released. John, please verify and close. I don't know if this has changed recently, but the current doc seems to be clear: * If a shell is passed in as the context, the VCM component * may bring up a dialogs to query the user or report difficulties; the shell should be used to * parent any such dialogs; the caller may safely assume that the reasons for failure will have * been made clear to the user. I think the last part clarifies your question: "the caller may safely assume that the reasons for failure will have been made clear to the user." Saying the hook *must* bring up a dialog is too restrictive.. it might be a system that eagerly checks out without user involvement, or the user might have set a preference to never prompt on checkout. If a context is passed, all interaction with the user is left to the hook implementor. If no context is passed, it is entirely the caller's responsibility. Does this mean the default hook is not currently following the spec? The new wording is better.
>>Does this mean the default hook is not currently following the spec?
Correct. There is a bug against it.
Fixed. |