IAction action = new HistoryItemAction( i, getItemText( i ) ); addActionToMenu( menu, action );
if ( isCurrentEntryAvailable( i ) ) { IAction action = new HistoryItemAction( i, getItemText( i ) ); addActionToMenu( menu, action ); j++; }
			protected void createEntries( Menu menu )			{				int limit = Math.max( 0, historyIndex - MAX_ENTRIES );				for ( int i = historyIndex - 1; i >= limit; i-- )				{					IAction action = new HistoryItemAction( i, getItemText( i ) );					addActionToMenu( menu, action );				}			}