calculates a localized name for presenting the redo action to the user . the default implementation returns the concatenation of the string & #x201c ; redo & #x201d ; and the action name , which is determined by calling #getpresentationname . the string & #x201c ; redo & #x201d ; is retrieved from the javax.swing.uimanager , using the key & #x201c ; abstractundoableedit.redotext & #x201d ; . this allows the text to be localized . concode_field_sep String UndoName concode_elem_sep boolean alive concode_elem_sep long serialVersionUID concode_elem_sep String RedoName concode_elem_sep boolean hasBeenDone concode_field_sep boolean canUndo concode_elem_sep void die concode_elem_sep void undo concode_elem_sep boolean replaceEdit concode_elem_sep String getPresentationName concode_elem_sep boolean isSignificant concode_elem_sep boolean addEdit concode_elem_sep String getUndoPresentationName concode_elem_sep String toString concode_elem_sep void redo concode_elem_sep boolean canRedo
String function ( ) { String loc0 , loc1 ; loc0 = UIManager . getString ( "srini_string" ) ; if ( loc0 == null ) loc0 = RedoName ; loc1 = getPresentationName ( ) ; if ( ( loc1 == null ) || ( loc1 . length ( ) == 0 ) ) return loc0 ; else return loc0 + ' ' + loc1 ; }