Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » EMF TreeView in GMF CustomPropertyTab?
EMF TreeView in GMF CustomPropertyTab? [message #170797] Wed, 30 January 2008 11:36 Go to next message
Eclipse UserFriend
Originally posted by: steffendohle.gmx.de

Hi,
I like to have the EMF TreeViewer in some PropertyTabs for some Elements.
The root Element for teh Tree should be taken from the selected GMF Element.

Is it possible to reuse the generated code from the EMF parts?

Best regards
Steffen
Re: EMF TreeView in GMF CustomPropertyTab? [message #170808 is a reply to message #170797] Wed, 30 January 2008 12:18 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Steffen,

You just need to create an AdapterFactoryLabelProvider and
AdapterFactoryContentProvider using the adapter factory of the adapter
factory editing domain and you should be all set to display trees in a
basic JFace tree viewer.


Steffen Dohle wrote:
> Hi,
> I like to have the EMF TreeViewer in some PropertyTabs for some Elements.
> The root Element for teh Tree should be taken from the selected GMF Element.
>
> Is it possible to reuse the generated code from the EMF parts?
>
> Best regards
> Steffen
>
Previous Topic:Error creating genmodel: feature not in resource
Next Topic:How to change Node Graphics dynamic, depending on Node Attributes
Goto Forum:
  


Current Time: Mon May 12 09:44:25 EDT 2025

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

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

Back to the top