EMF TreeView in GMF CustomPropertyTab? [message #170797] |
Wed, 30 January 2008 16:36 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03213 seconds