Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMFForms] Use ViewModel in Workbench(Newbie need help to take the pieces on the right place)
[EMFForms] Use ViewModel in Workbench [message #1506152] Wed, 10 December 2014 11:18 Go to next message
Eclipse UserFriend
I have create a new "Eclipse 4 Application Project" with "Eclipse for RCP and RPA" (4.4.1). In the enviroment I have intalled

Ecore Diagram Editor 2.0.2
EMF SDK 2.10.1
EMF Forms SDK 1.4.0

Now I try to make a sample application for a new future project. I have seen on you some video about the advantage of RCP 4. The main advantage is the Workbench-Editor. I can modify the Application.e4xmi very easy.

I have create the domain model and generate the code. Now I want to bring my data to the UI. I found different tutorial, but not of them show a sample with the Workbench-Editor.

I go on the model.encore - right mouse click - select 'create a new "View Model Project"'. I 'design' my view very easy. But then I dont know what are the next steps.

I try to select the ClassUri of the ....viewmodel-Class. But they dont shown in then selction. I think I have forget someone important. I hope someone can give me a answer.

Thanks
Re: [EMFForms] Use ViewModel in Workbench [message #1508246 is a reply to message #1506152] Fri, 12 December 2014 03:33 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

EMF Forms ships with several examples. One of them is based on e4 and
shows the integration into an e4 application.
Please have a look here:
http://eclipsesource.com/blogs/tutorials/getting-started-with-EMF-Forms/#swt

Please let me know, if there are still open questions.

Best regards

Jonas


Am 10.12.2014 19:04, schrieb Michael Kolowicz:
> I have create a new "Eclipse 4 Application Project" with "Eclipse for
> RCP and RPA" (4.4.1). In the enviroment I have intalled
> Ecore Diagram Editor 2.0.2
> EMF SDK 2.10.1
> EMF Forms SDK 1.4.0
>
> Now I try to make a sample application for a new future project. I have
> seen on you some video about the advantage of RCP 4. The main advantage
> is the Workbench-Editor. I can modify the Application.e4xmi very easy.
>
> I have create the domain model and generate the code. Now I want to
> bring my data to the UI. I found different tutorial, but not of them
> show a sample with the Workbench-Editor.
>
> I go on the model.encore - right mouse click - select 'create a new
> "View Model Project"'. I 'design' my view very easy. But then I dont
> know what are the next steps.
>
> I try to select the ClassUri of the ....viewmodel-Class. But they dont
> shown in then selction. I think I have forget someone important. I hope
> someone can give me a answer.
>
> Thanks


--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [EMFForms] Use ViewModel in Workbench [message #1513098 is a reply to message #1508246] Tue, 16 December 2014 03:11 Go to previous messageGo to next message
Eclipse UserFriend
Today I have do some steps forward.

I found out that is it not enough to define the BuildPath. I must add some files in the Dependencie-Section of the Plugin.xml

Now I have following error if I start my application:
!ENTRY org.eclipse.emf.ecp.view.model 4 0 2014-12-16 09:10:22.124
!MESSAGE No renderer found for element null


Can someone help me to find out, what I can do?
Re: [EMFForms] Use ViewModel in Workbench [message #1514396 is a reply to message #1513098] Wed, 17 December 2014 04:01 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

you need to add the required view model and render bundles, or even
better the EMF Forms Runtime Feature (containing all basic view model
elements) to your product or at least to your run configuration.

Best regards

Jonas


Am 16.12.2014 09:11, schrieb Michael Kolowicz:
> Today I have do some steps forward.
>
> I found out that is it not enough to define the BuildPath. I must add
> some files in the Dependencie-Section of the Plugin.xml
>
> Now I have following error if I start my application:
>
> !ENTRY org.eclipse.emf.ecp.view.model 4 0 2014-12-16 09:10:22.124
> !MESSAGE No renderer found for element null
>
> Can someone help me to find out, what I can do?


--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [EMFForms] Use ViewModel in Workbench [message #1517210 is a reply to message #1514396] Fri, 19 December 2014 05:36 Go to previous message
Eclipse UserFriend
Thank you.

After installing "ECP e4 UI Integration" my prototype works fine
Previous Topic:[EMF Forms] JavaFX sample application ?
Next Topic:[EMFForms] Application Menu in a Treeview with CNF
Goto Forum:
  


Current Time: Wed Jul 30 14:59:04 EDT 2025

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

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

Back to the top