return (Transportable) selectionInList.getElementAt(index);
}
private boolean isWeekValid(final Transport transport,
final WindowInterface window) {
boolean weekValid = !Util.isAfter(new YearWeek(Util.getCurrentYear(),
Util.getCurrentWeek()), new YearWeek(transport
.getTransportYear(), transport.getTransportWeek()));
weekValid = !weekValid ? Util
.showConfirmDialog(window.getComponent(), "Gammel uke",
"Du pr�ver � sette transport til en gammel uke, �nsker du � gj�re dette?")
: true;