This plugin adds a new view named XEmbedView for embedding an external window.
- Download XEmbedPluginFeature.zip.
- Open Eclipse CDT.
- In the main Help menu, select the Install New Software entry. It opens the Install window.
- Click on the Add button (top right of the window).
- In the dialog hit Archive button.
- Browse to the downloaded zip file, then hit Open. You should be back in the Install window.
- Unselect the Group items by category checkbox.
- XEmbedFeature should be in the main list, select the box near its name.
- Hit Next button.
- Then follows the instruction to install the XEmbededPlugin. You'll be asked to review the installation and to accept the plug-in license. The plug-in is not signed so you'll get a warning about that.
You will be asked to restart Eclipse so that the new plug-in is loaded.
When the xembed_window_id
dynamic variable is read from a launch configuration,
it opens the XEmbedView view, creates a composite, and returns its window ID (hex value).
You only need to do the following operations if you want to modify the plugin.
This repository contains two eclipse projects. You need eclipse Plug-in Development Environment (PDE) to import or open the plugin project (also import nested project).
To test the plug-in you can follow the following steps:
- right-click on the plugin project
- select Run As then Eclipse Application
- File --> Export
- In the tree, browse for Plug-in Development then Deployable features.
- Hit Next button.
- In the list, check XEmbedFeature plug-in
- Then select the destination Archive file and choose the path.
- Press Finish button.