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 ) {
sbp.editFile();
} else if ( mode == COMMAND.CREATE_FOLDER ) {
new NewFolderCommand( fileSummary ).execute();