IAM/q4e 0.7.0 has been released

The Eclipse IAM/q4e team has released a new version.

I would talk about the new features, but there is an extremely nice New and Noteworthy page on the wiki which has saved me some work.

I would point out only a few features that I really like:

  1. Autocompletion for dependencies in pom.xml. This is nicely done by installing the WTP XML editor if your eclipse doesn’t have it. Suggestions come from the new artifact search framework.
  2. Using maven mojos in the workspace for your builds. This new feature will be really useful for maven plug-in developers… we want your feedback!
  3. An upgraded embedder which allows the use of Maven 2.0.9 features (and plug-ins using those feaures).

Hope you enjoy using q4e as much as we enjoyed making this release!

SWT tip: Using SelectionAdapter

This one is probably for newbies.

When providing a SelectionListener for doing a something when a SWT button is pressed, you’ll need to implement two methods:


Button b = new Button(container, SWT.PUSH);
b.addSelectionListener( new SelectionListener()
{
  public void widgetSelected( SelectionEvent e )
  {
    // TODO Auto-generated method stub
  }

  public void widgetDefaultSelected( SelectionEvent e )
  {
    // TODO Auto-generated method stub
  }
} );

However, only one of those methods will be called: widgetSelected

So you can save a couple of lines (which is always nice, specially when inlining the handlers like in these examples) by using SelectionAdapter, an implementation of SelectionListener with default implementation of both methods (which is to do nothing).

The final, shorter, core looks like this:


Button b = new Button(container, SWT.PUSH);
b.addSelectionListener( new SelectionAdapter()
{
  public void widgetSelected( SelectionEvent e )
  {
    doSomething();
  }
} );

I’m on Twitter now

I finally gave up on trying to resist. Curiosity was stronger… so now you can read my tweets at http://twitter.com/amuino

Q4E Screencasts available on mirrors

I’ve received notice from Jing (owners of screencast.com where q4e screencasts are hosted) that the allowed bandwidth is about to be exceeded… Thanks for the interest!

As a reminder, you can watch the WTP Screencast from Joakim’s site.

Q4E at EPIC (Eclipse Plug-in Central)

Q4E, the maven integration plug-in that has brought WTP support and Dependency Analysis to the Eclipse&Maven users is now listed at the Eclipse Plugin Central.

You can visit EPIC, rate Q for Eclipse and leave your comments.

It should also be much easier for new users to get to know Q for Eclipse.