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: 33142
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


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO]Revision view
Next Topic:EObject EGet Problem
Goto Forum:
  


Current Time: Fri Apr 26 21:02:30 GMT 2024

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

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

Back to the top