history.add(new Entry(command, project.getName()));
}
private Entry commandHistoryPopup(Control showBelow, Entry[] entries) {
if (entries.length > 1) {
CommandHistoryPopupList popup = new CommandHistoryPopupList(showBelow.getShell());
popup.setLabelProvider(historyLabelProvider);
popup.setItems(entries);
return popup.open(showBelow.getDisplay().map(showBelow.getParent(), null, showBelow.getBounds()));
}
else if (entries.length == 0) {
return null;
}
else {