fSearchScopeActions.saveState(memento);
    public void saveState(IMemento memento) {        if (fPagebook == null) {            // part has not been created            if (fMemento != null) { //Keep the old state;                memento.putMemento(fMemento);            }            return;        }        memento.putInteger(TAG_CALL_MODE, fCurrentCallMode);        memento.putInteger(TAG_IMPLEMENTORS_MODE, fCurrentImplementorsMode);        memento.putInteger(TAG_ORIENTATION, fCurrentOrientation);        int[] weigths = fHierarchyLocationSplitter.getWeights();        int ratio = (weigths[0] * 1000) / (weigths[0] + weigths[1]);        memento.putInteger(TAG_RATIO, ratio);    }