Re: Eclipse e4 - How to create Parts dynamically

221 views
Skip to first unread message

Lars Vogel

unread,
Jun 5, 2013, 5:31:59 AM6/5/13
to vog...@googlegroups.com
The Eclipse RCP API has not yet been completely released, see http://www.vogella.com/articles/EclipseRCP/article.html#e4overview_api.


2013/5/29 karim <in...@karimomar.de>
Hello Lars,

i in your tutorial about creating eclipse e4 applications you described how to create parts dynamically (http://www.vogella.com/articles/EclipseRCP/article.html#modeldynamics_example2).

Using this tutorial and your blog post (http://www.vogella.com/blog/2010/12/07/eclipse-e4-create-a-new-part-dynamically/) i tried to do that. It works, but im a little bit confused about the following warnings:

Multiple markers at this line
        - Discouraged access: The type EModelService is not accessible due to restriction on required library C:\Program Files\eclipse-rcp
         \plugins\org.eclipse.e4.ui.workbench_0.12.0.v20130314-1730.jar
        - Discouraged access: The type MApplication is not accessible due to restriction on required library C:\Program Files\eclipse-rcp
         \plugins\org.eclipse.e4.ui.model.workbench_1.0.0.v20130314-1730.jar
        - Discouraged access: The type EPartService is not accessible due to restriction on required library C:\Program Files\eclipse-rcp
         \plugins\org.eclipse.e4.ui.workbench_0.12.0.v20130314-1730.jar

To use these classes i added the plugin "org.eclipse.e4.ui.model.workbench;bundle-version="1.0.0"" to my plugins dependencies. Was that the wrong one?







--
You received this message because you are subscribed to the Google Groups "vogella" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vogella+u...@googlegroups.com.
To post to this group, send email to vog...@googlegroups.com.
Visit this group at http://groups.google.com/group/vogella?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



karim

unread,
Jun 5, 2013, 10:02:10 AM6/5/13
to vog...@googlegroups.com
Sorry, i didn't see that point and Google couldn't help me. I should have searched in you tutorial.

Thank you! By the way, your tutorials (this one and i.e. these about JFace and JFace Tables) are great and helped me a lot.
Reply all
Reply to author
Forward
0 new messages