List<FileItem> selectedItems = flp.getSelectedFileItems();
FileItem selectedItem = selectedItems.get( 0 );
if ( mode == COMMAND.RUN || mode == COMMAND.NEWWINDOW ) {
if ( selectedItem != null ) {
sbp.openFile( selectedItem.getRepositoryFile(), mode );
}
} else if ( mode == COMMAND.PROPERTIES ) {
new FilePropertiesCommand( fileSummary == null ? fileSummaryProvider.getRepositoryFiles().get( 0 ) : fileSummary )
.execute();
} else if ( mode == COMMAND.EDIT ) {