Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-core-dev] querstion about IWorkbench::validateEdit

hi,
i have a read-only IFile - i'd like to check if it's possible to edit/save
it.
i called IWorkbench::validateEdit
but it returns an OK status - contrary to what i expected (i have no vcm
plugin running).
i expected it to return an error status by default and an OK status only
on vcm systems like ClearCase.

the doc says that "the caller can safely assume that all of the given files
haven been prepared
* for modification and that there is good reason to believe that
<code>IFile.setContents</code>

* (or <code>appendContents</code>) would be successful on any of them

".

this is not what i see, however.

i'm sure i misunderstand something.
thanks
a.



Back to the top