Auto-Lock in eclipse for office files
Stefan Hoffmann (144●2●18●20)
| asked Oct 09 '15, 8:55 a.m.
edited Oct 10 '17, 11:43 a.m. by David Lafreniere (4.8k●7) Hi,
|
Accepted answer
Ralph Schoon (63.6k●3●36●46)
| answered Oct 12 '15, 6:05 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I just had the a bit time to try it out on RTC 6.0 Ifix3 and MSOffice 2012 or so.
If I open the file with "Default editor" or "In Place Editor" the file appears in Eclipse.
This is something to report, I think this should not be possible, weather this is a defect of RTC or a problem of Eclipse, I can't say. If I open the file with "System editor" or set up an external editor the file is opened appears outside of Eclipse.
I don't think that Eclipse or RTC can do anything about the scenario 4.
David Lafreniere selected this answer as the correct answer
Comments
Stefan Hoffmann
commented Dec 01 '15, 10:06 a.m.
Hi,
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
I don't use this feature at the moment (I should). All I can think of is the following:
If PowerPoint opens, it is still not an Eclipse editor. It is associated to the pptx file type in the preferences. So if PowerPoint opens, it opens outside of Eclipse. It should see the read only flag and if you try to save it would tell you that it is read only and you can only save as a new version. Basically that is what my PP does if a file is read only on the file system. In this case you would have to go back to make it writable, which would trigger the dialog in the description.
If PPT makes it writable without Eclipse noticing the change It would not come up with the dialog.
Hi Ralph,
The powerpoint integration does something in eclipse, but not what I want.
If I open the file from the windows explorer (outside of eclipse), power point behaves as you mentioned, it asked for removing the write protection. But if I open the file from within eclipse, it doesn't, just removes the protection and saves.
And removing the "read-only" flag in eclipse (properties of the file) doesn't trigger anything, it just removes the flag without opening the lock dialog.
I've checked with a simple *.txt file, there everything behaves as wanted. It is opened in eclipse, and when I try to modify the lock dialog pops up.
Currently I would say the feature is useless. The interesting files for locks (as images, offices documents) are mostly handled with an external editor (opened in the context of eclipse), but it seems external editors don't work.