Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [ECP] Model Explorer e4
[ECP] Model Explorer e4 [message #1691297] Sat, 04 April 2015 21:58 Go to next message
Volker Fervers is currently offline Volker FerversFriend
Messages: 15
Registered: March 2015
Junior Member
Hello!

I would like to test ECP in an E4 application. The section in "Getting started with the EMF Client Platform" states, that to run the demo application I should use "org.eclipse.emf.ecp.application.e4.product" as my product and the feature "org.eclipse.emf.ecp.demo.e4.feature". Both are missing on my installation (Eclipse Modelling Edition w/ update to 1.5.1). Did my installation go wrong?

Second point: If I could use the demo application (e4 missing, too) as a base for my custom application, how could I display ECP's Model Explorer in my parts?

Thank you!
GV
Re: [ECP] Model Explorer e4 [message #1691379 is a reply to message #1691297] Mon, 06 April 2015 19:14 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi,

short question, before I have a look: Which Eclipse IDE version are you
using?

Best regards

Jonas

Am 04.04.2015 um 23:58 schrieb Volker Fervers:
> Hello!
>
> I would like to test ECP in an E4 application. The section in "Getting
> started with the EMF Client Platform" states, that to run the demo
> application I should use "org.eclipse.emf.ecp.application.e4.product" as
> my product and the feature "org.eclipse.emf.ecp.demo.e4.feature". Both
> are missing on my installation (Eclipse Modelling Edition w/ update to
> 1.5.1). Did my installation go wrong?
>
> Second point: If I could use the demo application (e4 missing, too) as a
> base for my custom application, how could I display ECP's Model Explorer
> in my parts?
>
> Thank you!
> GV


--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [ECP] Model Explorer e4 [message #1691381 is a reply to message #1691379] Mon, 06 April 2015 20:07 Go to previous messageGo to next message
Volker Fervers is currently offline Volker FerversFriend
Messages: 15
Registered: March 2015
Junior Member
Hi Jonas!

I installed the Modelling Edition of Luna SR2 (4.4.2) and updated ECP to 1.5.1.

The ECP (or EMFForms, they are the same files, 151.zip) downloads contain the validation e4 components: (jar and source) whilst the target platform archive contains the e4, demo and sdk features and ui.e4, ui.validation.e4 w/ source, emfstore.ui.e4 w/ source and application e4 jars.

Thanks for your support!
GV
Re: [ECP] Model Explorer e4 [message #1691418 is a reply to message #1691381] Tue, 07 April 2015 07:34 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi,

great that it works now!

Best regards

Jonas

Am 06.04.2015 um 22:07 schrieb Volker Fervers:
> Hi Jonas!
>
> I installed the Modelling Edition of Luna SR2 (4.4.2) and updated ECP to
> 1.5.1.
>
> The ECP (or EMFForms, they are the same files, 151.zip) downloads
> contain the validation e4 components: (jar and source) whilst the target
> platform archive contains the e4, demo and sdk features and ui.e4,
> ui.validation.e4 w/ source, emfstore.ui.e4 w/ source and application e4
> jars.
>
> Thanks for your support!
> GV
>


--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [ECP] Model Explorer e4 [message #1691460 is a reply to message #1691418] Tue, 07 April 2015 12:35 Go to previous messageGo to next message
Volker Fervers is currently offline Volker FerversFriend
Messages: 15
Registered: March 2015
Junior Member
Hello!

Sadly it's still not working. I (re-)installed the available e4-features and plugins from the target platform zip. There is no "org.eclipse.emf.ecp.application.e4.product" for the run configuration, no "org.eclipse.emf.ecp.demo.e4.feature" and no source files for the demo application.

I know how to call the forms editor:
final ViewModelContext vmc = ViewModelContextFactory.INSTANCE.createViewModelContext(				ViewProviderHelper.getView(eObject, null), eObject, new DefaultReferenceService());
			try {
				ECPSWTViewRenderer.INSTANCE.render(content, vmc);
			} catch (final ECPRendererException ex) {
				Activator.log(ex);
			}


But how do I call the Model Explorer to display my model's tree in a part?

Greetings
GV
Re: [ECP] Model Explorer e4 [message #1691580 is a reply to message #1691460] Wed, 08 April 2015 09:51 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi,

OK, I just realized, since 1.5.1, the e4 support is on our target update
site only. Please go to the download page:
https://www.eclipse.org/ecp/download.html
And install the e4 SDK. This should add the missing bundles. Please let
me know, if this worked, we will update the documentation then.

Best regards

Jonas


Am 07.04.2015 um 14:35 schrieb Volker Fervers:
> Hello!
>
> Sadly it's still not working. I (re-)installed the available e4-features
> and plugins from the target platform zip. There is no
> "org.eclipse.emf.ecp.application.e4.product" for the run configuration,
> no "org.eclipse.emf.ecp.demo.e4.feature" and no source files for the
> demo application.
>
> I know how to call the forms editor:
>
> final ViewModelContext vmc =
> ViewModelContextFactory.INSTANCE.createViewModelContext(
> ViewProviderHelper.getView(eObject, null), eObject, new
> DefaultReferenceService());
> try {
> ECPSWTViewRenderer.INSTANCE.render(content, vmc);
> } catch (final ECPRendererException ex) {
> Activator.log(ex);
> }
>
>
> But how do I call the Model Explorer to display my model's tree in a part?
>
> Greetings
> GV


--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: [ECP] Model Explorer e4 [message #1691593 is a reply to message #1691580] Wed, 08 April 2015 11:30 Go to previous messageGo to next message
Volker Fervers is currently offline Volker FerversFriend
Messages: 15
Registered: March 2015
Junior Member
Hello!

I installed the SDK e4 (it's in EMF Client Platform Features and not under All SDKs).

Now I see my fault: there are no source files for the e4 demo application in the feature "ECP E4 Demo Application incl. Sources". "Sources" relates to the included features "UI Integration" and "EMF Forms Runtime" but not to "E4 Demo Application".

Thanks for your support!
GV
Re: [ECP] Model Explorer e4 [message #1821628 is a reply to message #1691593] Mon, 17 February 2020 19:21 Go to previous messageGo to next message
Menon Malavika is currently offline Menon MalavikaFriend
Messages: 5
Registered: February 2020
Junior Member
Can you please tell me how did you solve this problem?
Re: [ECP] Model Explorer e4 [message #1821664 is a reply to message #1821628] Tue, 18 February 2020 11:27 Go to previous message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 111
Registered: September 2016
Senior Member
Hi,

I believe the solution is described above. Maybe you describe your current issue, so we can try to help you.

Best regards,
Jonas


--
Jonas Helming
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Previous Topic:Generate actor system from an EMF meta-model
Next Topic:Template model editor issue
Goto Forum:
  


Current Time: Fri Mar 29 08:19:06 GMT 2024

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

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

Back to the top