Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP how to make TreeViewer non editable
RCP how to make TreeViewer non editable [message #1783894] Tue, 20 March 2018 06:54
Inaki Berrio is currently offline Inaki BerrioFriend
Messages: 4
Registered: August 2017
Junior Member
Hi all!

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);
editingDomain.getResourceToReadOnlyMap().put(res, true);


But I am unable to make just the TreeViewer non editable.

Any help??

Thanks a lot!
Previous Topic:How do i get source path with my plugin?
Next Topic:Contribute to EMF Genmodel Menu
Goto Forum:
  


Current Time: Tue Nov 13 02:57:52 GMT 2018

Powered by FUDForum. Page generated in 0.02499 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top