40 |
40 |
41 def __init__(self, ui): |
41 def __init__(self, ui): |
42 """ |
42 """ |
43 Constructor |
43 Constructor |
44 |
44 |
45 @param ui reference to the user interface object (UI.UserInterface) |
45 @param ui reference to the user interface object |
|
46 @type UserInterface |
46 """ |
47 """ |
47 super().__init__(ui) |
48 super().__init__(ui) |
48 self.__ui = ui |
49 self.__ui = ui |
49 |
50 |
50 self.__aboutDialog = None |
51 self.__aboutDialog = None |
51 |
52 |
52 def activate(self): |
53 def activate(self): |
53 """ |
54 """ |
54 Public method to activate this plugin. |
55 Public method to activate this plugin. |
55 |
56 |
56 @return tuple of None and activation status (boolean) |
57 @return tuple of None and activation status |
|
58 @rtype bool |
57 """ |
59 """ |
58 self.__initActions() |
60 self.__initActions() |
59 self.__initMenu() |
61 self.__initMenu() |
60 |
62 |
61 return None, True |
63 return None, True |