The Eclipse update site here actually has two parts in it:
- The DomUI plugin which helps with writing DomUI code
- An earlier bookmarks extension to Eclipse which adds Borland like bookmarks.
Made you look!!
Ok, the good news is: there is an Eclipse plugin to make working with DomUI easier. The bad news is that it's not finished.... The plugin's code is on Launchpad too, the project can be found here. Some details about the plugin can be found on this page.
Installing the plugin
The update URL for Eclipse is:
http://www.domui.org/eclipse-updates/
To install the latest version of the plugin, use the Eclipse "Install new software" function:
- In the menu, select Help > Install New Software
- In the "Work With" field enter the following URL: http://www.domui.org/eclipse-updates/
- Press the "Add" button, add a name for the thing (DomUI), then press OK and wait for the URL to load
- Select the things you want to add. The DomUI plugin or the Editor Tools (See below)
- Accept licences and other questions and restart Eclipse.
The plugin should work at Helios (3.6) and Indigo (3.7) - both install succesfully on my machines ;-)
Plugin functions
- When DomUI runs in Developer Mode, the plugin works with a locally running DomUI server to show source code for DomUI pages and components (Thanks to Dennis Bekkering, who provided the idea and updated the plugin).
- It does code completion for component message bundle keys, and shows the message texts for bundle keys when the mouse hovers over them.
- It does code completion for QCriteria queries: the available property names are shown, and any Javadoc on the getter method is shown as extra info.
Work to do on the plugin
A running list-of-changes made to the plugin can be found here.
Although the plugin should be usable and should not interfere with normal work there is still a lot to do to make it fully functional:
- Message bundle lookup should work with constants too
- Ditto for QCriteria
- There should be a key that, when pressed with the cursor in a string, should show a multilanguage input form. Each defined bundle should have a single line there, and the user should type the translations in those boxes. When saved these must go in the bundle files.
The Quick Bookmarks Eclipse plugin
For those that tuned in earlier
This plugin was created in 2006 to support "Borland style" bookmarks within Eclipse. It was promoted on http://etc.to/ before; since I do not feel like maintaining two separate eclipse update sites this plugin has moved here.
About the bookmarks plugin
The "default" bookmark methods of Eclipse ask for a name and this is often not very useful. The code here adds bookmarks a la "Borland" and bookmarks a la "JCreator". The code has the following options which can all be bound/rebound with the keys dialog under the "Edit" category:
- Add a numbered bookmark at the cursor: Alt+[digit]. This creates a quick bookmark with the specified number using a "single" keypress. Only one bookmark of the given number can be present in the workspace. Setting the same number bookmark again will clear the earlier instance.
- Goto a numbered bookmark: Alt+Shift+[digit]. Moves to the bookmark as it was set using Alt+[digit].
- Toggle Bookmark: Ctrl+B. This drops an unnamed bookmark at the current location. Pressing Ctrl+B again releases the bookmark at that location again. This is often used with "Goto next bookmark" and "Goto previous bookmark".
- Goto next bookmark in file: Ctrl+N. This locates the next bookmark in the current file and moves there.
- Goto previous bookmark in file: Ctrl+P. This locates the previous bookmark in the current file and moves there.warning: the Ctrl+P binding is a suggestion only; since Ctrl+P is currently assigned you must add your own key binding using Window -> Preferences -> General -> Keys.
Source code
The source code for this plugin is part of the DomUI plugin source code and can be found on Launchpad as described above.
Installing the bookmarks plugin
Use the installation instructions on top of the page, and if you only want the editor plugins select only those ;-)