|How to show E4 sample view generated from wizard? [message #1750743]
||Tue, 27 December 2016 18:52
| Guido Schnepp
Registered: March 2013
maybe it's a silly question: I'd like to create an E4 only view to be shown in Eclipse IDE. For this I've tried the wizard "New Plug-In project" -> ... -> Templates -> "Plug-in with an Eclipse 4 view".
This template creates an Eclipse 4 plugin with a model application fragment containing a SWT view (in PartDescriptors).
It uses the standard xpath:/ notation to add this view in any application model. The generated plugin is also compliant with an Eclipse 3 application running with the compatibility layer. In this case, the view can be opened by selecting Window, Show View and then Other... on the menu bar.
That's what I get, but I'm lost from here: How can this Eclipse 4 view/fragment be used in IDE when "Window, Show view ..." doesn't work? Simply running this plug-in as Eclipse Application seems not to be enough. I've brought that view to work as standalone RCP application, but I'd like to have it integrated in Eclipse IDE, too.
While this is a question on its own, here is some more background for you: At the end I'd like to have a custom view for my project's binary files shown in Project Explorer. Something to be opened on right click on such file and "Open with...". Maybe there's to be defined a lot more to connect this view to the Project Explorer. For now I'm a pure RCP beginner.
Thanks a lot for pointing me into the right direction!
[Updated on: Wed, 28 December 2016 08:14]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01614 seconds