how to add python perspective in rcp [message #1790640] |
Wed, 13 June 2018 15:22  |
Eclipse User |
|
|
|
Hi to all, i am working with eclipse oxygen, i download pydev 6.3.2 and this was added to eclipse.
Now i want add Pydev in my custom rcp application, i read vogella book but i can't figure out how do this.
If anyone have the tip of the iceberg where i can start i will be thankful.
Thank you very much.
Regards.
|
|
|
Re: how to add python perspective in rcp [message #1790689 is a reply to message #1790640] |
Thu, 14 June 2018 10:48   |
Eclipse User |
|
|
|
I'm not intimately familiar with the structure of PyDev, but I'm pretty sure it will be based around the org.eclipse.ui.ide framework, at a minimum. There may be separation between ".core" (setting up and executing Python) and ".ui" (UI views, preferences, etc. to configure PyDev).
So how you go about doing this rather depends on your RCP app. Are you shipping a custom IDE (e.g., based on org.eclipse.ui.ide)? If so, you might just be able to include the PyDev features into your product. PDE's Ctrl-Shift-A (Open Artifacts) is great for exploring what features and bundles exist in your target platform; my guess is that the PyDev features are `org.pydev.*`.
If your RCP app is not an IDE-like app, then embedding support for Python will be more difficult. You might be best approaching Fabio, the developer of PyDev, and seeing what can be done.
Brian.
|
|
|
|
|
|
|
|
Re: how to add python perspective in rcp [message #1790947 is a reply to message #1790900] |
Wed, 20 June 2018 09:25  |
Eclipse User |
|
|
|
I have no experience including PyDev in a different product. But the process I'd follow is:
- Open your .product file in the PDE Product editor.
- In the Overview tab, select "The product configuration is based > features"
- In the contents tab, add org.eclipse.platform, and the org.pydev.* extensions.
- Save and then select one of the Launch buttons in the upper right and test.
|
|
|
Powered by
FUDForum. Page generated in 0.32094 seconds