bars.setGlobalActionHandler(IWorkbenchActionConstants.DELETE, removeRootAction);
bars.setGlobalActionHandler(ActionFactory.DELETE.getId(), removeRootAction);
	protected void contributeActions() {				final Shell shell = getShell();				// Create actions		// New Repository (popup)		newAction = new Action(Policy.bind("RepositoriesView.new"),             SVNUIPlugin.getPlugin().getImageDescriptor(ISVNUIConstants.IMG_NEWLOCATION)) { //$NON-NLS-1$			public void run() {				NewLocationWizard wizard = new NewLocationWizard();				WizardDialog dialog = new WizardDialog(shell, wizard);				dialog.open();			}		};		WorkbenchHelp.setHelp(newAction, IHelpContextIds.NEW_REPOSITORY_LOCATION_ACTION);		/*		// Properties		propertiesAction = new PropertyDialogAction(shell, getViewer());		getViewSite().getActionBars().setGlobalActionHandler(IWorkbenchActionConstants.PROPERTIES, propertiesAction);				IStructuredSelection selection = (IStructuredSelection)getViewer().getSelection();		if (selection.size() == 1 && selection.getFirstElement() instanceof RepositoryRoot) {			propertiesAction.setEnabled(true);		} else {			propertiesAction.setEnabled(false);		}		getViewer().addSelectionChangedListener(new ISelectionChangedListener() {			public void selectionChanged(SelectionChangedEvent event) {				IStructuredSelection ss = (IStructuredSelection)event.getSelection();				boolean enabled = ss.size() == 1 && ss.getFirstElement() instanceof RepositoryRoot;				propertiesAction.setEnabled(enabled);			}		}); */		removeRootAction = new RemoveRootAction(treeViewer.getControl().getShell());		removeRootAction.selectionChanged((IStructuredSelection)null);		WorkbenchHelp.setHelp(removeRootAction, IHelpContextIds.REMOVE_REPOSITORY_LOCATION_ACTION);				IActionBars bars = getViewSite().getActionBars();		bars.setGlobalActionHandler(IWorkbenchActionConstants.DELETE, removeRootAction);		        // Refresh action (toolbar)        SVNUIPlugin plugin = SVNUIPlugin.getPlugin();        refreshAction = new Action(Policy.bind("RepositoriesView.refresh"), SVNUIPlugin.getPlugin().getImageDescriptor(ISVNUIConstants.IMG_REFRESH_ENABLED)) { //$NON-NLS-1$            public void run() {                refreshViewer(true);            }        };        refreshAction.setToolTipText(Policy.bind("RepositoriesView.refreshTooltip")); //$NON-NLS-1$        refreshAction.setDisabledImageDescriptor(plugin.getImageDescriptor(ISVNUIConstants.IMG_REFRESH_DISABLED));        refreshAction.setHoverImageDescriptor(plugin.getImageDescriptor(ISVNUIConstants.IMG_REFRESH));        getViewSite().getActionBars().setGlobalActionHandler(IWorkbenchActionConstants.REFRESH, refreshAction);        // Collapse action        collapseAllAction = new Action(Policy.bind("RepositoriesView.collapseAll"), SVNUIPlugin.getPlugin().getImageDescriptor(ISVNUIConstants.IMG_COLLAPSE_ALL_ENABLED)) { //$NON-NLS-1$            public void run() {                collapseAll();            }        };        collapseAllAction.setToolTipText(Policy.bind("RepositoriesView.collapseAllTooltip")); //$NON-NLS-1$        collapseAllAction.setHoverImageDescriptor(plugin.getImageDescriptor(ISVNUIConstants.IMG_COLLAPSE_ALL));                // Create the popup menu        MenuManager menuMgr = new MenuManager();        Tree tree = treeViewer.getTree();        Menu menu = menuMgr.createContextMenu(tree);        menuMgr.addMenuListener(new IMenuListener() {            public void menuAboutToShow(IMenuManager manager) {                addWorkbenchActions(manager);            }        });        menuMgr.setRemoveAllWhenShown(true);        tree.setMenu(menu);        getSite().registerContextMenu(menuMgr, treeViewer);        // Create the local tool bar        IToolBarManager tbm = bars.getToolBarManager();        drillPart.addNavigationActions(tbm);        tbm.add(refreshAction);        tbm.add(new Separator());        tbm.add(collapseAllAction);        tbm.update(false);        // Create the open action for double clicks        openAction = new OpenRemoteFileAction();        bars.updateActionBars();	} // contributeActions