Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » EMF TreeView in GMF CustomPropertyTab?
EMF TreeView in GMF CustomPropertyTab? [message #170797] Wed, 30 January 2008 16: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 17: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: Thu Nov 14 08:00:16 GMT 2024

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

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

Back to the top