List list = new ArrayList(); Iterator actions = getActionRegistry( ).getActions(); while (actions.hasNext()) { IAction action = (IAction)actions.next(); list.add(action);  } for (int i=0;i<list.size(); i++) { getActionRegistry( ).removeAction((IAction)list.get(i)); }
	public void dispose( )	{		// remove the mediator listener		SessionHandleAdapter.getInstance( )				.getMediator( )				.removeColleague( this );		// remove selection listener		getSite( ).getWorkbenchWindow( )				.getSelectionService( )				.removeSelectionListener( getSelectionListener( ) );		// dispose the ActionRegistry (will dispose all actions)		super.dispose();		getActionRegistry( ).dispose( );	}