I'm looking in developing a plugin For Eclipse that will add a new context menu and when clicked a dialog will pop up and users will be able to select from a list of thing to install. I would like my dialog to have the same look and feel of the attached screen shoot (from eclipse when you edit a new plugin).
So my question is: Any idea how this interface was made? It is HTML and if so how can this be done? Or are this custom Swing controls, or something like this? I'm new to Java so i might not ask the question properly, but any help would be appreciated.
Thanks.
This multipage editor contains elements created with Eclipse Forms that is based on SWT.
This editor is probably done using a MultiPageEditorPart
, though I can not find the exact class. (Update: Found the class, though I don't think it will help much...)
To make such an editor on your own, you should start by creating a New Plugin Project using the Plugin with multi-page editor template. Maybe this tutorial helps you getting started.
Note however, that this will be an Editor (placed in the centre of the Eclipse workbench and used for editing some file), and neither a View (placed at the side, providing some additional functionality) nor a Dialog. Instead, you might want to create a multi-page Wizard, featuring one page for each of the tabs. This would correspond more to the general look-and-feel of Eclipse. The above link provides some hints on this, as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With