Bug 48501 Merge undo, redo, move and rename with Platform UI [refactoring]
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerActionGroup.java
if (fLastElement != REST) {
				actionBars.setGlobalActionHandler(ActionFactory.RENAME.getId(), null);
				actionBars.setGlobalActionHandler(ActionFactory.MOVE.getId(), null);
				actionBars.updateActionBars();
				fLastElement= REST;
			}
		}
	}
	
	 void restoreFilterAndSorterState(IMemento memento) {
		fWorkingSetFilterActionGroup.restoreState(memento);
		fCustomFiltersActionGroup.restoreState(memento);
	}
	
	 void saveFilterAndSorterState(IMemento memento) {
		fWorkingSetFilterActionGroup.saveState(memento);
		fCustomFiltersActionGroup.saveState(memento);
	}
	
	public void fillActionBars(IActionBars actionBars) {
		super.fillActionBars(actionBars);
		setGlobalActionHandlers(actionBars);
		fillToolBar(actionBars.getToolBarManager());
		fillViewMenu(actionBars.getMenuManager());		
	}
	 void updateActionBars(IActionBars actionBars) {
		actionBars.getToolBarManager().removeAll();
		actionBars.getMenuManager().removeAll();
		fillActionBars(actionBars);
		actionBars.updateActionBars();