Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Graphiti and EMF Properties View
Graphiti and EMF Properties View [message #1058866] Wed, 15 May 2013 13:15 Go to next message
Matthias N is currently offline Matthias N
Messages: 65
Registered: June 2012
Member
Hi,

I created an Ecore, generated the code and created a Graphiti editor.

I wonder if it is possible to use EMF's properties view (the one I see when I click on an element in the TreeViewer) when I click on a graphical element in my Graphiti diagram editor.

Can I attach the EMF properties view to my graphiti editor?


Thanks,
Matthias
Re: Graphiti and EMF Properties View [message #1059310 is a reply to message #1058866] Fri, 17 May 2013 13:31 Go to previous messageGo to next message
Michael Wenz is currently offline Michael Wenz
Messages: 1595
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Matthias,

I haven't yet tried that, but when you adapt the selected Graphiti elements
(shapes, etc.) to their domain objects and provide them to the property
sheet on selection of of a shape it could work. I don't recall the mechanism
the generated EMF editors use for property sheets right now, so I'm not sure
where to place that coding.

Michael
Re: Graphiti and EMF Properties View [message #1060011 is a reply to message #1059310] Wed, 22 May 2013 14:19 Go to previous messageGo to next message
Matthias N is currently offline Matthias N
Messages: 65
Registered: June 2012
Member
Has someone done this before? I would really appreciate to look at someone's code
Re: Graphiti and EMF Properties View [message #1060599 is a reply to message #1059310] Mon, 27 May 2013 08:56 Go to previous message
A R is currently offline A R
Messages: 5
Registered: April 2013
Junior Member
How can i use my propertyview i created for my diagram, like mentioned in the tutorial, when clicking on the treeview?

i'd like to use this existing propertyview to modify the domainobject via the treeview.
Previous Topic:how to link references
Next Topic:AddFeature in Palette
Goto Forum:
  


Current Time: Sun Sep 21 12:25:01 GMT 2014

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

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