Eclipse Summit Europe 2008, Part 1

Posted by Mike Haller on Wednesday, November 19. 2008 at 21:41 in Eclipse
Eclipse Summit Europe 2008, Part 1

This year's the first time I attended an Eclipse-related conference: the Eclipse Summit Europe 2008 in Ludwigsburg near Stuttgart in Germany. There were so many intersting talks on the schedule and so i didn't plan exactly to which i'm going to listen to. I arrived in Ludwigsburg on 19.11.2008 at the "Forum am Schlosspark" just in time for the Keynote of Dave Thomas at 9 o'clock.

Committer Status

Posted by Mike Haller on Tuesday, June 10. 2008 at 23:20 in Eclipse
After doing some paperwork, I got my full Eclipse Committer Status to the technology.soc projec today.

Java Code Generation with Eclipse and AST

Posted by Mike Haller on Sunday, June 8. 2008 at 23:52 in Eclipse
As Mateusz asked for how to add Newlines to generated code in Eclipse, i looked at how Eclipse JDT is doing it. And of course, the Eclipse guys eat their own dog food and use the abstract syntax tree (AST) feature.

For a showcase, let's assume we've got an open Java Editor with an empty class and we want to add a new method. For the sake of simplicity for the demo, i'm going to implement it in an action and use the current editor as target. That's not nice, but pretty simple for now:
IWorkbench workbench = PlatformUI.getWorkbench();
IWorkbenchWindow window = workbench.getActiveWorkbenchWindow();
IWorkbenchPage page = window.getActivePage();
IEditorPart editor = page.getActiveEditor();
IEditorInput input = editor.getEditorInput();
IJavaElement element = JavaUI.getEditorInputJavaElement(input);

Eclipse ToString

Posted by Mike Haller on Saturday, May 24. 2008 at 16:44 in Eclipse
This year's Google Summer Of Code 2008 project is sponsoring a new feature for the Eclipse IDE: a ToString generator (See Eclipse Bugzilla 26070). Since there are already two generators in Eclipse JDT for hashCode() and equals() methods (since 3.2), having the third one there, too, would be just natural. Many developers have waited long time for this to come, and I hope we don't have to wait any much longer and that it will make it into the Eclipse Java Development Tools fast.

According to lemmy (the main project mentor), Google has accepted the application of Mateusz, so planning and development can start right away :-)

Eclipse Common Navigator

Posted by Mike Haller on Friday, May 18. 2007 at 22:32 in Eclipse

I worked today on using the Common Navigator in Eclipse to provide a central place for reference data management. Our RCP application consists of several (rather independent) business applications, each of which wants to have an administrative area to configure stem data. To bring all that together, i tried to use the Common Navigator Framework.

It's really tough, the learning curve, as you need to do at least 10 steps to just let some simple entries appear. But it's worth it.

Michael D. Elder has some really good tutorials on the Common Navigator, check them out!

After i fiddled with the Navigator's setup, the content provider and the binding stuff, I could easy add some actions to the context menu of my business domain objects. I know, this would have been a perfect job for EMF.


About

My name is Mike Haller and I'm a software developer and architect at Innovations Software Technology in Germany. I love programming, playing games and reading books. I like good food, making photos and learning and mentoring about the craftsmanship of commercial software development.

Quicksearch