eclipse RCP: plugin runs via popup-menu - eclipse

I have created a non-RCP plugin project in eclipse. To run my eclipse plugin, the user must right clicks on a file and select my tool option from a popup menu. Is it possible to have a RCP for such a plugin? How can I provide a RCP distribution (zip) ready to be tested for such a plugin? Would you help me to find an appropriate manual for such a case?

Related

Eclipse feature and plugin not visible after installing from updatesite

I made several new E4-based plugins, each defined in a fragment.e4xmi file. The simplest one should just show a test menu in the main menu and a test popup menu.
When running an Eclipse instance from the development IDE, everything works as expected. However, when publishing those plugins and features via a test update site, an end user can install the new plugins using the update site, but the UI is not visible in the Eclipse IDE. In the Help / About Eclipse IDE / Installation Details, the "Installed Software" shows my new plugins, but the features list does not. The Plug-Ins list does show some utility plugins, but none of those contributing to the UI.
Older plugins (not using e4) are visible as expected.
Which settings do I have to check?
How can I debug the installation?
Thanks in advance.

How can I use fxml in Eclipse?

I was wondering about using fxml in eclipse.
I watched a Video about JavaFX where the Creator handles the UI with a fxml File(He uses Eclipse too).
But my Eclipse doesnt recognize that I use fxml(Maybe doesnt have fxml?).
Is there any way I can add fxml to eclipse?
Screenshot
You can also get the e(fx)clipse plugin (which allows you to create fxmls) by opening Eclipse, clicking Help, scrolling down to the Eclipse Marketplace, and searching e(fx)clipse. Install, and then just restart Eclipse. To create a new JavaFX project, go to File->New->Project...->JavaFX->JavaFX Project, and you should be good to go (these instructions are based on using Eclipse Neon).

Launching Eclipse plug in template

I created a Eclipse plug-in project by selecting a plug-in template provides by the eclipse. Then i ran the plug-in it opened another eclipse and the plug-in executed there.Why so? is the plugin taking eclipse's application class to create workbench?
As an elaboration of "If you want to run the plugin in your main workspace you will have to export the plugin and install it in your main Eclipse." that #greg-449 had in his answer. You can do this.
Step 1 - Export your plugin
From the File menu, choose Export... and then choose the Deployable plug-ins and fragments wizard.
Step 2 - Configure your Wizard Options
Select the plug-ins you want to export.
As the destination, choose Install into host
Press Finish
Step 3 - Confirm unsigned content
As you are probably not signing your plug-in, but you do trust it, say Yes to the Warning: you are installing software that contains unsigned content.
Step 4 - Restart Eclipse
Restart Eclipse when prompted to to enable the plug-ins.
Result
You should now see your new plug-ins. To make this example I used the new Plug-in wizard and choose the "Hello, World Command" template. The arrows below point to the contributions in the UI that the plug-in made.
When you run a plugin (Run As > Eclipse Application) Eclipse starts a new instance of Eclipse including your plugin and uses a new workspace. This enables you to test the plugin without damaging your main Eclipse installation and workspace.
If you want to run the plugin in your main workspace you will have to export the plugin and install it in your main Eclipse.
If you want to run your plugin as part of an RCP you can set the application or product launched in the 'Run > Run Configurations...' entry.
For example:
Here I am running a product called 'greg.music.e4.rcp.product'

Eclipse application - adding a python console plugin

I'm developing an eclipse application in Linux and I'm fairly new to eclipse RCP.
My application is built from already existing plugins, such as eclipse's project explorer, etc.
I'd like to add the pydev python console as a plugin to my application.
I know that adding plugins to an eclipse application is done through the extensions tab on MANIFEST.MF but I can't find any examples on google on adding the pydev console.
Can someone help?
Thanks,
Dolev.

Eclipse - how to setup plugin run configuration to run it inside custom Eclipse RCP?

When you create new Plug-in project inside Eclipse, you can run it as Eclipse Application (eg. new Eclipse instance will start with that plugin included by default).
I need start that plugin but in instance of my own Eclipse RCP app (which i have as other project in my workspace).
Is it possible?
Open 'Run > Run Configurations' and find the configuration for your RCP application (under 'Eclipse Application')
Look at the 'Plug-ins' tab.
If the 'Launch with:' is set to 'all workspace and enabled target plugins' your plugin is already being included.
If the 'Launch with:' is set to 'plug-ins selected below only' select the plugin you want to include if it is not already selected.