memento.putString(TAG_INPUT, fInputElement.getHandleIdentifier()); }
String handleIndentifier=  fInputElement.getHandleIdentifier(); if (fInputElement instanceof IType) { ITypeHierarchy hierarchy= fHierarchyLifeCycle.getHierarchy(); if (hierarchy != null && hierarchy.getSupertypes((IType) fInputElement).length > 1000) {  } } memento.putString(TAG_INPUT, handleIndentifier); }
	public void saveState(IMemento memento) {		if (fPagebook == null) {			// part has not been created			if (fMemento != null) { //Keep the old state;				memento.putMemento(fMemento);			}			return;		}		if (fInputElement != null) {			memento.putString(TAG_INPUT, fInputElement.getHandleIdentifier());		}		memento.putInteger(TAG_VIEW, getViewIndex());		memento.putInteger(TAG_ORIENTATION, fCurrentOrientation);			int weigths[]= fTypeMethodsSplitter.getWeights();		int ratio= (weigths[0] * 1000) / (weigths[0] + weigths[1]);		memento.putInteger(TAG_RATIO, ratio);				ScrollBar bar= getCurrentViewer().getTree().getVerticalBar();		int position= bar != null ? bar.getSelection() : 0;		memento.putInteger(TAG_VERTICAL_SCROLL, position);		IJavaElement selection= (IJavaElement)((IStructuredSelection) getCurrentViewer().getSelection()).getFirstElement();		if (selection != null) {			memento.putString(TAG_SELECTION, selection.getHandleIdentifier());		}					fMethodsViewer.saveState(memento);	}