Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF detailled section in properties view for references
GMF detailled section in properties view for references [message #555627] Fri, 27 August 2010 12:28 Go to next message
masija . is currently offline masija .Friend
Messages: 59
Registered: July 2010
Member
Hi @ all,

i am currently trying to modify the properties view of my gmf-editor.
It would be nice to have a more detailled view of referenced nodes:

For example I have one element nodeA on my canvas, which has 4 references to nodeBs.

In my properties view, now there is displayed a list of the 4 nodeBs.
I would like to extend the functioonality of the gmf editor to show a table with some of the attributes of the nodeBs instead.
Something like this

referencesToNodeBs:
name | attribute1 | attribute2 |
nameX | attribute1Name | attribute2Name|
........ | ......... | ..... |

Does anyone know how to change the generated code, to achieve this behaviour?

Any help would be appreciated,
Best regards,
Masija
Re: GMF detailled section in properties view for references [message #555642 is a reply to message #555627] Fri, 27 August 2010 13:23 Go to previous messageGo to next message
emil salageanu is currently offline emil salageanuFriend
Messages: 94
Registered: June 2010
Location: Nice, France
Member
In the plugin.xml, take a look at the propertySection extesion.

You can add a property section by implementing your own XXXPropertySection (extends AbstractPropertySection) class.

cheers,
Emil.
Re: GMF detailled section in properties view for references [message #555974 is a reply to message #555642] Mon, 30 August 2010 12:38 Go to previous message
masija . is currently offline masija .Friend
Messages: 59
Registered: July 2010
Member
Am 27.08.2010 15:23, schrieb emil salageanu:
> In the plugin.xml, take a look at the propertySection extesion.
> You can add a property section by implementing your own
> XXXPropertySection (extends AbstractPropertySection) class.
> cheers, Emil.

Hi Emil,
thanks a lot for your help! With some additional swt tutorials I could
solve my problem.

Best regards,
masija
Previous Topic:How to model connections with containment references
Next Topic:How to show only the lable of a connection
Goto Forum:
  


Current Time: Fri Apr 19 14:55:42 GMT 2024

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

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

Back to the top