Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to avoid childAction in TreeView?(User should not be allowed to create new children.)
How to avoid childAction in TreeView? [message #638504] Thu, 11 November 2010 14:23 Go to next message
Guntpat  is currently offline Guntpat Friend
Messages: 1
Registered: November 2010
Junior Member
Helle dear eclipse community,

I have a question concerning the creation of new children within the TreeView. On a certain level of hierarchy, it should be forbidden to create new children based on some content which is handled by the user. Is there a possibility to get access to the Model classes within the method "generateCreateChildActions" within the class ModelActionBarContributor within the "Editor perspective"?

Kind regards
Guntpat
Re: How to avoid childAction in TreeView? [message #638529 is a reply to message #638504] Thu, 11 November 2010 14:46 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30559
Registered: July 2009
Senior Member
Guntpat,

Comments below.

Guntpat wrote:
> Helle dear eclipse community,
>
> I have a question concerning the creation of new children within the
> TreeView. On a certain level of hierarchy, it should be forbidden to
> create new children based on some content which is handled by the
> user. Is there a possibility to get access to the Model classes within
> the method "generateCreateChildActions"
The selection object contains the model objects to which the action applies.
> within the class ModelActionBarContributor within the "Editor
> perspective"?
>
> Kind regards
> Guntpat
Previous Topic:[CDO]Revision view
Next Topic:EObject EGet Problem
Goto Forum:
  


Current Time: Wed Oct 23 12:45:08 GMT 2019

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

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

Back to the top