return the label to display in the history drop down list . use the history entry text if the location has not been restored yet . concode_field_sep IMemento locationMemento concode_elem_sep String historyText concode_elem_sep INavigationLocation location concode_elem_sep IWorkbenchPage page concode_elem_sep NavigationHistoryEditorInfo editorInfo concode_field_sep void restoreState concode_elem_sep void saveState concode_elem_sep boolean handlePartClosed concode_elem_sep String toString concode_elem_sep void dispose concode_elem_sep void restoreLocation concode_elem_sep boolean mergeInto
String function ( ) { if ( location != null ) { String loc0 = location . getText ( ) ; if ( ( loc0 == null ) || loc0 . equals ( "srini_string" ) ) { loc0 = historyText ; } else { historyText = loc0 ; } return loc0 ; } else { return historyText ; } }