[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-vcm-dev] Team + Refactoring (cont.) (fwd)
|
My experience is that validateEdit is called when using the Java
refactoring. This happens before the preview is displayed (while checking
the preconditions).
- Boris
On Tue, 23 Jul 2002, Bryan Stephenson wrote:
> In Java Refactoring, say in the case of a rename, there is a pre pass in
> which read only status of resources to be modified is
> determined. If resources to be modified are "read-only" the operation
> cannot proceed and the errror dialog is presented.
>
> Is this purely a file-system test of the resource status or are the validate
> edit/save hooks invoked at this point? In a pessimistic locking
> environment, the normal state of local files is read-only and explicit
> checkouts have to be done to make them writable. If the hooks are not
> invoked in this pre check, then the user will have to manually do a blanket
> checkout (nasty) or check out each read-only file individually.
>
> I can see that the hooks will be called before an actual edit/save but is
> this true in the case of the preview.
>
>
> Bryan Stephenson
>
> _______________________________________________
> platform-vcm-dev mailing list
> platform-vcm-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-vcm-dev
>
>
--
"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