toggleAddedAction.setChecked(store.getBoolean(ISVNUIConstants.PREF_SHOW_ADDED_RESOURCES));
if(store.contains(ISVNUIConstants.PREF_SHOW_ADDED_RESOURCES)) toggleAddedAction.setChecked(store.getBoolean(ISVNUIConstants.PREF_SHOW_ADDED_RESOURCES)); else toggleAddedAction.setChecked(true);
    public void contributeActions() {        // Contribute actions to popup menu for the table        MenuManager menuMgr = new MenuManager();        Menu menu = menuMgr.createContextMenu(tableViewer.getTable());        menuMgr.addMenuListener(new IMenuListener() {            public void menuAboutToShow(IMenuManager menuMgr) {                fillTableMenu(menuMgr);            }        });        menuMgr.setRemoveAllWhenShown(true);        tableViewer.getTable().setMenu(menu);        getSite().registerContextMenu(menuMgr, tableViewer);         SVNUIPlugin plugin = SVNUIPlugin.getPlugin();        refreshAction = new Action(Policy.bind("PendingOperationsView.refreshLabel"), plugin.getImageDescriptor(ISVNUIConstants.IMG_REFRESH_ENABLED)) { //$NON-NLS-1$            public void run() {                refresh();            }        };        refreshAction.setToolTipText(Policy.bind("PendingOperationsView.refresh")); //$NON-NLS-1$        refreshAction.setDisabledImageDescriptor(plugin.getImageDescriptor(ISVNUIConstants.IMG_REFRESH_DISABLED));        refreshAction.setHoverImageDescriptor(plugin.getImageDescriptor(ISVNUIConstants.IMG_REFRESH));        // Create the local tool bar        IToolBarManager tbm = getViewSite().getActionBars().getToolBarManager();        tbm.add(refreshAction);        tbm.update(false);        // Toggle show added resources action        final IPreferenceStore store = SVNUIPlugin.getPlugin().getPreferenceStore();        toggleAddedAction = new Action(Policy.bind("PendingOperationsView.showAddedResources")) { //$NON-NLS-1$            public void run() {                store.setValue(ISVNUIConstants.PREF_SHOW_ADDED_RESOURCES, toggleAddedAction.isChecked());                refresh();                            }        };        toggleAddedAction.setChecked(store.getBoolean(ISVNUIConstants.PREF_SHOW_ADDED_RESOURCES));//        WorkbenchHelp.setHelp(toggleTextAction, IHelpContextIds.SHOW_COMMENT_IN_HISTORY_ACTION);                // Toggle show deleted resources action        toggleDeletedAction = new Action(Policy.bind("PendingOperationsView.showDeletedResources")) { //$NON-NLS-1$            public void run() {                store.setValue(ISVNUIConstants.PREF_SHOW_DELETED_RESOURCES, toggleAddedAction.isChecked());                refresh();                            }        };        toggleDeletedAction.setChecked(store.getBoolean(ISVNUIConstants.PREF_SHOW_DELETED_RESOURCES));//        WorkbenchHelp.setHelp(toggleTextAction, IHelpContextIds.SHOW_COMMENT_IN_HISTORY_ACTION);            // Toggle show modified resources action        toggleModifiedAction = new Action(Policy.bind("PendingOperationsView.showModifiedResources")) { //$NON-NLS-1$            public void run() {                store.setValue(ISVNUIConstants.PREF_SHOW_MODIFIED_RESOURCES, toggleModifiedAction.isChecked());                refresh();                            }        };        toggleModifiedAction.setChecked(store.getBoolean(ISVNUIConstants.PREF_SHOW_MODIFIED_RESOURCES));//        WorkbenchHelp.setHelp(toggleTextAction, IHelpContextIds.SHOW_COMMENT_IN_HISTORY_ACTION);                // Contribute toggle text visible to the toolbar drop-down        IActionBars actionBars = getViewSite().getActionBars();        IMenuManager actionBarsMenu = actionBars.getMenuManager();        actionBarsMenu.add(toggleAddedAction);        actionBarsMenu.add(toggleDeletedAction);        actionBarsMenu.add(toggleModifiedAction);                        		// set F1 help//		WorkbenchHelp.setHelp(tableViewer.getControl(), IHelpContextIds.CVS_EDITORS_VIEW);        tableViewer.addDoubleClickListener(new IDoubleClickListener() {            public void doubleClick(DoubleClickEvent e) {                handleDoubleClick(e);            }        }); 	}