String contents= fSourceViewer.getDocument().get();
IDocument doc= fSourceViewer.getDocument(); String contents= doc.get();
	public void saveState(IMemento memento) {		if (fSourceViewer != null) {			String contents= fSourceViewer.getDocument().get();			if (contents.length() > 0) {				memento.putString(ID_DISPLAY_VIEW, contents);			}			} else if (fRestoredContents != null) {			memento.putString(ID_DISPLAY_VIEW, fRestoredContents);		}	}