Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » SubCategories in properties view
SubCategories in properties view [message #639742] Wed, 17 November 2010 16:15 Go to next message
Luca Gherardi is currently offline Luca GherardiFriend
Messages: 62
Registered: November 2010
Member
Hi all,

I'm new in this forum.
I've searched a bit for a solution to my problem but I fail.

This is my model:

I have an element that contains a subElement. This subElement has 16 attributes.

I'd like to see in the properties view of the elment also the attributes of the sub elements. I did it, but not in a subCategory.

See this example of properties that i'd like to see

+Element category
_name: xxx
_type: yyy
_+subElement subcategory
__attr1: xxx
__attr2: yyy
__......
__attr16: zzz

Can someone tell me how I can obtain this result.

Best regards.
Luca

[Updated on: Wed, 17 November 2010 16:17]

Report message to a moderator

Re: SubCategories in properties view [message #639769 is a reply to message #639742] Wed, 17 November 2010 17:28 Go to previous message
Asiri Rathnayake is currently offline Asiri RathnayakeFriend
Messages: 80
Registered: September 2010
Location: Colombo, Sri Lanka.
Member
Hi,

You should refer http://www.eclipse.org/articles/Article-Properties-View/prop erties-view.html

With that knowledge you might have to fiddle with the GMF generated code in order to hookup your custom property descriptor.

- Asiri

[Updated on: Wed, 17 November 2010 17:29]

Report message to a moderator

Previous Topic:How to edit the navigator tree structure
Next Topic:common figures for different editparts
Goto Forum:
  


Current Time: Sat Apr 20 04:25:03 GMT 2024

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

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

Back to the top