src/eric7/UI/BrowserModel.py

branch
eric7
changeset 10595
59579e8aff98
parent 10588
8edb63666f73
child 10598
79c6ea2cb2e7
child 10642
fbf61874518a
equal deleted inserted replaced
10593:b7ebfc2e47d4 10595:59579e8aff98
1557 Public method to check, if this file is an eric project file. 1557 Public method to check, if this file is an eric project file.
1558 1558
1559 @return flag indicating an eric project file 1559 @return flag indicating an eric project file
1560 @rtype bool 1560 @rtype bool
1561 """ 1561 """
1562 return self.fileext in (".epj", ".e4p") 1562 return self.fileext in (".epj",)
1563 1563
1564 def isMultiProjectFile(self): 1564 def isMultiProjectFile(self):
1565 """ 1565 """
1566 Public method to check, if this file is an eric multi project file. 1566 Public method to check, if this file is an eric multi project file.
1567 1567
1568 @return flag indicating an eric project file 1568 @return flag indicating an eric project file
1569 @rtype bool 1569 @rtype bool
1570 """ 1570 """
1571 return self.fileext in (".emj", ".e4m", ".e5m") 1571 return self.fileext in (".emj",)
1572 1572
1573 def isJavaScriptFile(self): 1573 def isJavaScriptFile(self):
1574 """ 1574 """
1575 Public method to check, if this file is a JavaScript file. 1575 Public method to check, if this file is a JavaScript file.
1576 1576
1622 Public method to check, if this is an eric graphics file. 1622 Public method to check, if this is an eric graphics file.
1623 1623
1624 @return flag indicating an eric graphics file 1624 @return flag indicating an eric graphics file
1625 @rtype bool 1625 @rtype bool
1626 """ 1626 """
1627 return self.fileext in (".egj", ".e5g") 1627 return self.fileext in (".egj",)
1628 1628
1629 def isParsableFile(self): 1629 def isParsableFile(self):
1630 """ 1630 """
1631 Public method to check, if the file is supported by class browsers. 1631 Public method to check, if the file is supported by class browsers.
1632 1632

eric ide

mercurial