Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-team-dev] File modification validator is not notified on save from OLE


In general, external editor behavior cannot be controlled from within Eclipse. In other words, validateEdit/Save will not be called on save and the editor may choose to make a file writtable. As for a button on the Eclipse toolbar initialting the save, I don't know how these are wired together. It may be possible to perform the validateEdit at that point, assuming that the button can actually determine which resource is being edited. You may want to ask on the UI or Text mailing list about that since they most likely provide the editor.

Michael



"Vladimir Grishchenko" <vladgri@xxxxxxxxxxx>
Sent by: platform-team-dev-admin@xxxxxxxxxxx

01/12/2004 12:56 PM

Please respond to
platform-team-dev

To
<platform-team-dev@xxxxxxxxxxx>
cc
Subject
[platform-team-dev] File modification validator is not notified on save from OLE





Hello,

It appears that no methods on IFileModificationValidator are called in case of a save by an editor
opened using OLE in the Eclipse shell (MS Word in particular). The interesting thing is that the
platform is likely aware of a save operation being started because it can be initiated by pressing a
button on the Eclipse's main toolbar. Is it a known problem or limitation? Another negative
side-effect is that read-only flag is cleared upon save, at least in the case of editing a doc file
with MS Word.

Thanks,
Vladimir.
_______________________________________________
platform-team-dev mailing list
platform-team-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-team-dev


Back to the top