.addSelectionChangedListener(new ISelectionChangedListener() {
public void selectionChanged(SelectionChangedEvent event) {
if (event.getSelection() instanceof IStructuredSelection) {
IStructuredSelection sel = (IStructuredSelection) event
.getSelection();
ProjectBuilderDefinition definition = (ProjectBuilderDefinition) sel
.getFirstElement();
if (definition == null)
clearDescription();
else
showDescription(definition);