src/eric7/UI/BrowserModel.py

branch
eric7
changeset 9609
c2f9c10c47cc
parent 9492
b3659e05a156
child 9612
93b496cc3c88
diff -r 8dcfd48355df -r c2f9c10c47cc src/eric7/UI/BrowserModel.py
--- a/src/eric7/UI/BrowserModel.py	Sun Dec 11 15:49:23 2022 +0100
+++ b/src/eric7/UI/BrowserModel.py	Sun Dec 11 15:49:39 2022 +0100
@@ -1195,11 +1195,13 @@
             pixName = "fileProject"
         elif self.isMultiProjectFile():
             pixName = "fileMultiProject"
+        # TODO: delegate to the plugin
         elif self.isIdlFile():
             pixName = "fileIDL"
             self._populated = False
             self._lazyPopulation = True
             self._moduleName = os.path.basename(finfo)
+        # TODO: delegate to the plugin
         elif self.isProtobufFile():
             pixName = "protobuf"
             self._populated = False
@@ -1239,7 +1241,9 @@
         if (
             self.isPython3File()
             or self.isRubyFile()
+            # TODO: delegate to the plugin
             or self.isIdlFile()
+            # TODO: delegate to the plugin
             or self.isProtobufFile()
         ):
             self._dirName = os.path.dirname(finfo)
@@ -1368,6 +1372,7 @@
         """
         return self.fileext in (".emj", ".e4m", ".e5m")
 
+    # TODO: delegate to the plugin
     def isIdlFile(self):
         """
         Public method to check, if this file is a CORBA IDL file.
@@ -1377,6 +1382,7 @@
         """
         return self.fileext == ".idl"
 
+    # TODO: delegate to the plugin
     def isProtobufFile(self):
         """
         Public method to check, if this file is a Google Protocol Buffer file.

eric ide

mercurial