54 |
55 |
55 def __init__(self, ui): |
56 def __init__(self, ui): |
56 """ |
57 """ |
57 Constructor |
58 Constructor |
58 |
59 |
59 @param ui reference to the user interface object (UI.UserInterface) |
60 @param ui reference to the user interface object |
|
61 @type UserInterface |
60 """ |
62 """ |
61 super().__init__(ui) |
63 super().__init__(ui) |
62 self.__ui = ui |
64 self.__ui = ui |
63 |
65 |
64 def activate(self): |
66 def activate(self): |
65 """ |
67 """ |
66 Public method to activate this plugin. |
68 Public method to activate this plugin. |
67 |
69 |
68 @return tuple of reference to instantiated viewmanager and |
70 @return tuple of reference to instantiated viewmanager and |
69 activation status (boolean) |
71 activation status |
|
72 @rtype bool |
70 """ |
73 """ |
71 from eric7.Plugins.ViewManagerPlugins.Listspace.Listspace import Listspace |
74 from eric7.Plugins.ViewManagerPlugins.Listspace.Listspace import Listspace |
72 |
75 |
73 self.__object = Listspace(self.__ui) |
76 self.__object = Listspace(self.__ui) |
74 return self.__object, True |
77 return self.__object, True |