Hansz wrote:I assume it's the default java editor... it's the one that opens up when I select the 'source' tab... as when I do something in the Designer it would edit the same source file I guess... but when I try to save that file it complains about being 'read only' (which it is because Clear-case hasn't done a 'check out' yet). Putting in an extra space somewhere is enough in triggering it into asking if it should check it out and then I can save it.
I am still not clear on which editor is exhibiting the behavior your like. What are the exact sequence of events you see when using the standard Java editor and when using the Designer editor? What happens in WSAD, if you open and edit the file with the built-in WSAD test editor? Does ClearCase ask you to check out the file in that case?
Hansz wrote:It just feels to me that the same behaviour should appear if I change something through the Designer which effectively is just another way of changing the source file ... right ?
No. The ClearCase behavior you are seeing is likely due to some hack they have introduced to specifically intercept changes in the standard Java editor. They may have injected a text changed listener on the Java editor's text pane so that they can detect any typed in changes. They don't, however, detect any changes made to the editor's buffer, so they don't detect changes made by Designer.
Hansz wrote:To be honest I don't know how close ClearCase and WSAD integrate ... but as far as I can see ClearCase is 'just' another plugin ...
I haven't looked closely at the ClearCase plugin since WSAD v4.0. At the time, it didn't integrate very well, and, in fact, used several hacks to implement its behavior (including things like direct access to widget tree selections rather than getting selections via the Eclipse API).
In order to do anything here, I need to better understand exactly what ClearCase is responding to and in which editors it actually works (there are several different editors in WSAD). If it is, in fact, hacking in a text changed listener on the editor's text pane, we might be able to simulate a text changed event and thus trigger their check out request behavior.