|
Re: how to add python perspective in rcp [message #1790689 is a reply to message #1790640] |
Thu, 14 June 2018 14: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 #1790818 is a reply to message #1790790] |
Mon, 18 June 2018 13:57 |
Eclipse User |
|
|
|
You should specify features, not bundles. Only use bundles when you have intimate knowledge of why particular bundles should be excluded: although p2 will normally install most dependencies, p2 may not be able to find decoupled dependencies that are expressed via mechanisms like OSGi services and the Eclipse Plugin registry. You probably want to include the `org.eclipse.platform` feature, which is the base for most IDEs, and then include the PyDev features.
|
|
|
|
Re: how to add python perspective in rcp [message #1790947 is a reply to message #1790900] |
Wed, 20 June 2018 13: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.03757 seconds