eric6/UI/BrowserModel.py

changeset 8047
b5594178c7fa
parent 7973
e836d196e888
child 8109
486984bb52e3
equal deleted inserted replaced
8045:4d5209dc6eb4 8047:b5594178c7fa
1326 """ 1326 """
1327 Public method to check, if this file is an eric project file. 1327 Public method to check, if this file is an eric project file.
1328 1328
1329 @return flag indicating an eric project file (boolean) 1329 @return flag indicating an eric project file (boolean)
1330 """ 1330 """
1331 return self.fileext in ['.e4p'] 1331 return self.fileext in ('.epj', '.e4p')
1332 1332
1333 def isMultiProjectFile(self): 1333 def isMultiProjectFile(self):
1334 """ 1334 """
1335 Public method to check, if this file is an eric multi project file. 1335 Public method to check, if this file is an eric multi project file.
1336 1336
1337 @return flag indicating an eric project file (boolean) 1337 @return flag indicating an eric project file (boolean)
1338 """ 1338 """
1339 return self.fileext in ['.e4m', '.e5m'] 1339 return self.fileext in ('.emj', '.e4m', '.e5m')
1340 1340
1341 def isIdlFile(self): 1341 def isIdlFile(self):
1342 """ 1342 """
1343 Public method to check, if this file is a CORBA IDL file. 1343 Public method to check, if this file is a CORBA IDL file.
1344 1344

eric ide

mercurial