question: public void add ( IEditorInput input ) { File file = MME . getFile ( input ) ; if ( file != null ) { String uri = WorkbookHistoryItem . toURI ( file . getAbsolutePath ( ) ) ; remove ( input , uri ) ; items . add ( 0 , new WorkbookHistoryItem ( input , uri , System . currentTimeMillis ( ) ) ) ; while ( items . size ( ) > MAX_SIZE ) { items . remove ( items . size ( ) - 1 ) ; } lastModifiedTime = System . currentTimeMillis ( ) ; scheduleSave ( ) ; fireUpdated ( ) ; } }
target:  Add editor input to this history. Currently only editor inputs adaptable to a File or IFileStore are supported. Other types will be considered later.