actionBars.setGlobalActionHandler(ActionFactory.RENAME.getId(), null); actionBars.setGlobalActionHandler(ActionFactory.MOVE.getId(), null);
actionBars.setGlobalActionHandler(IWorkbenchActionConstants.RENAME, null); actionBars.setGlobalActionHandler(IWorkbenchActionConstants.MOVE, null);
	private void update(IStructuredSelection selection) {		int size= selection.size();		Object element= selection.getFirstElement();		IActionBars actionBars= fPart.getViewSite().getActionBars();		if (size == 1 && element instanceof IResource) {			if (fLastElement != RESOURCE) {		// fLastAction in a work around for http://bugs.eclipse.org/bugs/show_bug.cgi?id=30508				actionBars.setGlobalActionHandler(ActionFactory.RENAME.getId(), fRenameResourceAction);				actionBars.setGlobalActionHandler(ActionFactory.MOVE.getId(), fMoveResourceAction);				actionBars.updateActionBars();				fLastElement= RESOURCE;			}		} else {			if (fLastElement != REST) {				actionBars.setGlobalActionHandler(ActionFactory.RENAME.getId(), null);				actionBars.setGlobalActionHandler(ActionFactory.MOVE.getId(), null);				actionBars.updateActionBars();				fLastElement= REST;			}		}	}