[ECP] Model Explorer e4 [message #1691297] |
Sat, 04 April 2015 17:58  |
Eclipse User |
|
|
|
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 #1691580 is a reply to message #1691460] |
Wed, 08 April 2015 05:51   |
Eclipse User |
|
|
|
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/
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05073 seconds