Win32 Explorer Eclipse Plugin Sample
A sample eclipse plugin that uses the windows Shell automation type library to provide a Win32 explorer view. This sample demonstrates how utilise SWTtoCOM in an Eclipse plugin.
Building and Running the sample
Before building the samples you need to have the following software;
- Eclipse 3.2 or later. Download from http://www.eclipse.org/downloads/
- SWT 3.2 or later. Download from http://www.eclipse.org/swt/
SWTtoCOM only needs SWT at runtime, however these samples also make use of other Eclipse based libraries such as JFace.
Instructions for building and running the samples are available with the following methods;
Once you have the sample running, try right clicking an option in the view and note that the menu that appears is context sensitive. The menu is created by interogating the Shell component for a list of valid options for the selection
Using the sample
- Once the sample is running and the Eclipse workbench is displayed. Select
Window > Show View > Other... > Win32 Explorer > Win32 Explorer View.
- Open a namespace by selecting the namespace menu dropdown button at the top of the view.
- Try right clicking an option in the view and note that the menu that appears is context sensitive. The menu is created by interogating the Shell component for a list of valid options for the selection.