|RCP how to make TreeViewer non editable [message #1783894]
||Tue, 20 March 2018 06:54
| Inaki Berrio
Registered: August 2017
I am a university student making my last university project in EMF, so I am new to this technology. I am developing different RCP tools based on different metamodels. In one of the tools I need to make the properties view editable while the TreeViewer must keep read-only. I find the way to make all the resource non-editable doing this in the handleActivate method of the Editor:
Resource res = editingDomain.getResourceSet().getResource().get(0);
But I am unable to make just the TreeViewer non editable.
Thanks a lot!
Powered by FUDForum
. Page generated in 0.01478 seconds