Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-vcm-dev] Question regarding file modification behaviour ...

When trying to edit a file that is under control of a team provider we 
get informed by IFileModificationValidator.validateEdit. Now, in our 
scenario, the follwoing happens:

- We display a MessageDialog, asking the user whether he wants to open
  the file for edit or not.

- The user which already started to type some code presses the 'n' key 
  during his typing.

- The dialog closes, the file stays in read-only state. If the user
  continues typing, nothing more happens.

Suggestion:

Although validateEdit returned an IStatus != IStatus.OK, the system should
ask validateEdit on consecutive key typings.

-- 
"Engineering does not require science. Science helps a lot but 
people built perfectly good brick walls long before they knew why 
cement works." - Alan Cox




Back to the top