src/eric7/UI/BrowserModel.py

branch
server
changeset 10598
79c6ea2cb2e7
parent 10596
ea35c92a3c7c
parent 10595
59579e8aff98
child 10604
0f4017309f35
equal deleted inserted replaced
10597:fbe93720ee9f 10598:79c6ea2cb2e7
1663 Public method to check, if this file is an eric project file. 1663 Public method to check, if this file is an eric project file.
1664 1664
1665 @return flag indicating an eric project file 1665 @return flag indicating an eric project file
1666 @rtype bool 1666 @rtype bool
1667 """ 1667 """
1668 return self.fileext in (".epj", ".e4p") 1668 return self.fileext in (".epj",)
1669 1669
1670 def isMultiProjectFile(self): 1670 def isMultiProjectFile(self):
1671 """ 1671 """
1672 Public method to check, if this file is an eric multi project file. 1672 Public method to check, if this file is an eric multi project file.
1673 1673
1674 @return flag indicating an eric project file 1674 @return flag indicating an eric project file
1675 @rtype bool 1675 @rtype bool
1676 """ 1676 """
1677 return self.fileext in (".emj", ".e4m", ".e5m") 1677 return self.fileext in (".emj",)
1678 1678
1679 def isJavaScriptFile(self): 1679 def isJavaScriptFile(self):
1680 """ 1680 """
1681 Public method to check, if this file is a JavaScript file. 1681 Public method to check, if this file is a JavaScript file.
1682 1682
1728 Public method to check, if this is an eric graphics file. 1728 Public method to check, if this is an eric graphics file.
1729 1729
1730 @return flag indicating an eric graphics file 1730 @return flag indicating an eric graphics file
1731 @rtype bool 1731 @rtype bool
1732 """ 1732 """
1733 return self.fileext in (".egj", ".e5g") 1733 return self.fileext in (".egj",)
1734 1734
1735 def isParsableFile(self): 1735 def isParsableFile(self):
1736 """ 1736 """
1737 Public method to check, if the file is supported by class browsers. 1737 Public method to check, if the file is supported by class browsers.
1738 1738

eric ide

mercurial