Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMFFORMS] Tree and Tree Master Detail View([EMFFORMS] Tree and Tree Master Detail View)
[EMFFORMS] Tree and Tree Master Detail View [message #1441420] Thu, 09 October 2014 14:05 Go to next message
Eclipse UserFriend
Hi,

i'm quite new to EMFForms, but very interested in this technology.

Can anyone, please point me to an example of a working tree view and if posssible to a tree master detail view, which uses EMFForms?

Thx
Re: [EMFFORMS] Tree and Tree Master Detail View [message #1441870 is a reply to message #1441420] Fri, 10 October 2014 05:42 Go to previous messageGo to next message
Eclipse UserFriend
Hi Carsten,

there is currently no example in the documentation, but tree master
detail views are pretty simple to use. Create a view model for the root
element and add tree master detail as the only root element of that
view. Within the view which is a sub element of the tree master detail,
you define what is shown in the details view, when you select the root
element. For sub element, you just create dedicated view elements.
Does that help?

Best regards

Jonas

Am 09.10.2014 20:30, schrieb Carsten Block:
> Hi,
>
> i'm quite new to EMFForms, but very interested in this technology.
>
> Can anyone, please point me to an example of a working tree view and if
> posssible to a tree master detail view, which uses EMFForms?
>
> Thx
Re: [EMFFORMS] Tree and Tree Master Detail View [message #1448863 is a reply to message #1441870] Mon, 20 October 2014 10:50 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jonas,

thx for your reply.
Unfortunatelly i can't get my view working.
I have defined a simple model with a 'TaskManager' and its child elements 'User'.

The files are attached.

I aspected a tree view with the view i definded for the 'User'.
But what i see is a table, with 'User' elements.

What did i do wrong?
Re: [EMFFORMS] Tree and Tree Master Detail View [message #1448933 is a reply to message #1448863] Mon, 20 October 2014 13:04 Go to previous messageGo to next message
Eclipse UserFriend
I create the renderer with
			final ViewModelContext vmc = ViewModelContextFactory.INSTANCE.createViewModelContext(
				ViewProviderHelper.getView(taskManager, null), taskManager, new DefaultReferenceService());

			ECPSWTViewRenderer.INSTANCE.render(content, vmc);
Re: [EMFFORMS] Tree and Tree Master Detail View [message #1449247 is a reply to message #1448863] Tue, 21 October 2014 00:48 Go to previous message
Eclipse UserFriend
Hi,

you attached a view for the EClass Task manager showing a treeview. I
tested this and it shows me the tree view. So I am sorry, maybe I do not
underatand your issue correctly, because you wrote you defined a tree
view for "User"? However, user does not have any children..

best regards

Jonas

Am 20.10.2014 16:50, schrieb Carsten Block:
> Hi Jonas,
>
> thx for your reply.
> Unfortunatelly i can't get my view working.
> I have defined a simple model with a 'TaskManager' and its child elements 'User'.
>
> The files are attached.
>
> I aspected a tree view with the view i definded for the 'User'.
> But what i see is a table, with 'User' elements.
>
> What did i do wrong?
>
Previous Topic:[EMFStore] filter model elements
Next Topic:[EMFStore] Retaining ID's
Goto Forum:
  


Current Time: Wed Jul 30 17:52:14 EDT 2025

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

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

Back to the top