setId( PluginConstants.CMD_DELETE_PROJECT );
setActionDefinitionId( PluginConstants.CMD_DELETE_PROJECT );
setImageDescriptor( Activator.getDefault().getImageDescriptor( PluginConstants.IMG_DELETE ) );
setEnabled( false );
this.viewer = viewer;
this.viewer.addSelectionChangedListener( new ISelectionChangedListener()
{
public void selectionChanged( SelectionChangedEvent event )
{
StructuredSelection selection = ( StructuredSelection ) event.getSelection();
if ( selection.size() == 1 )