64 |
64 |
65 def __init__(self, ui): |
65 def __init__(self, ui): |
66 """ |
66 """ |
67 Constructor |
67 Constructor |
68 |
68 |
69 @param ui reference to the user interface object (UI.UserInterface) |
69 @param ui reference to the user interface object |
|
70 @type UserInterface |
70 """ |
71 """ |
71 super().__init__(ui) |
72 super().__init__(ui) |
72 self.__ui = ui |
73 self.__ui = ui |
73 |
74 |
74 def activate(self): |
75 def activate(self): |
75 """ |
76 """ |
76 Public method to activate this plugin. |
77 Public method to activate this plugin. |
77 |
78 |
78 @return tuple of None and activation status (boolean) |
79 @return tuple of None and activation status |
|
80 @rtype bool |
79 """ |
81 """ |
80 global error |
82 global error |
81 error = "" # clear previous error |
83 error = "" # clear previous error |
82 |
84 |
83 return None, True |
85 return None, True |