def getDisplayToolButtonsRepository(directoryPath, importantFileNames, names, repository):
 displayToolButtons = []
 for name in names:
  displayToolButton = DisplayToolButton().getFromPath((name in importantFileNames), name, os.path.join(directoryPath, name), repository)
  displayToolButtons.append(displayToolButton)
 return displayToolButtons

def getDisplayToolButtonsRepository ( directoryPath , importantFileNames , names , repository ) : displayToolButtons = [ ] for name in names : displayToolButton = DisplayToolButton ( ) . getFromPath ( ( name in importantFileNames ) , name , os . path . join ( directoryPath , name ) , repository ) displayToolButtons . append ( displayToolButton ) return displayToolButtons
get the display tool buttons .