Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 16:18 Go to next message
Michael Kolowicz is currently offline Michael KolowiczFriend
Messages: 5
Registered: December 2014
Junior Member
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 08:33 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
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 08:11 Go to previous messageGo to next message
Michael Kolowicz is currently offline Michael KolowiczFriend
Messages: 5
Registered: December 2014
Junior Member
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 09:01 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
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 10:36 Go to previous message
Michael Kolowicz is currently offline Michael KolowiczFriend
Messages: 5
Registered: December 2014
Junior Member
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: Fri Apr 19 08:51:26 GMT 2024

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

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

Back to the top