memento.putInteger(VIEWORIENTATION, fCurrentOrientation);
memento.putInteger(TAG_ORIENTATION, fCurrentOrientation);
	public void saveState(IMemento memento) {		if (fSashForm == null) {			// part has not been created			if (fMemento != null) //Keep the old state;				memento.putMemento(fMemento);			return;		}				int activePage= fTabFolder.getSelectionIndex();		memento.putInteger(TAG_PAGE, activePage);		int weigths[]= fSashForm.getWeights();		int ratio= (weigths[0] * 1000) / (weigths[0] + weigths[1]);		memento.putInteger(TAG_RATIO, ratio);		memento.putInteger(VIEWORIENTATION, fCurrentOrientation);	}