PluginProjectDjangoTagsMenu.py

branch
eric7
changeset 71
fc1ab84c242f
parent 70
ce1c2effa0e0
child 72
529f1c17c93e
equal deleted inserted replaced
70:ce1c2effa0e0 71:fc1ab84c242f
163 """ 163 """
164 Private slot to handle the projectClosed signal. 164 Private slot to handle the projectClosed signal.
165 """ 165 """
166 self.__handler.closeAllWindows() 166 self.__handler.closeAllWindows()
167 167
168 def __pluginActivated(self, moduleName, pluginObject): 168 def __pluginActivated(self, moduleName, pluginObject): # noqa: U100
169 """ 169 """
170 Private slot to react on plugin activation of the Django plugin. 170 Private slot to react on plugin activation of the Django plugin.
171 171
172 @param moduleName name of the module activated 172 @param moduleName name of the module activated
173 @type str 173 @type str
175 @type object 175 @type object
176 """ 176 """
177 if moduleName == "PluginProjectDjango": 177 if moduleName == "PluginProjectDjango":
178 self.__attachMenu() 178 self.__attachMenu()
179 179
180 def __pluginAboutToBeDeactivated(self, moduleName, pluginObject): 180 def __pluginAboutToBeDeactivated(self, moduleName, pluginObject): # noqa: U100
181 """ 181 """
182 Private slot to react on the Django plugin about to be deactivated. 182 Private slot to react on the Django plugin about to be deactivated.
183 183
184 @param moduleName name of the module about to be deactivated 184 @param moduleName name of the module about to be deactivated
185 @type str 185 @type str
191 self.__handler.closeAllWindows() 191 self.__handler.closeAllWindows()
192 self.__detachMenu() 192 self.__detachMenu()
193 193
194 194
195 # 195 #
196 # eflag: noqa = M801 196 # eflag: noqa = M801, U200

eric ide

mercurial