56 @ireturn title of the menu (string) |
56 @ireturn title of the menu (string) |
57 @exception NotImplementedError raised if the class has not been |
57 @exception NotImplementedError raised if the class has not been |
58 reimplemented |
58 reimplemented |
59 """ |
59 """ |
60 raise NotImplementedError |
60 raise NotImplementedError |
|
61 |
|
62 def showExtensionMenu(self, key, controlled): |
|
63 """ |
|
64 Public method to prepare the extension menu for display. |
|
65 |
|
66 Note: Derived class must implement this method to adjust the |
|
67 enabled states of its menus. |
|
68 |
|
69 @param key menu key (string, one of 'mainMenu', 'multiMenu', |
|
70 'backMenu', 'dirMenu' or 'dirMultiMenu') |
|
71 @param controlled flag indicating to prepare the menu for a |
|
72 version controlled entry or a non-version controlled entry |
|
73 (boolean) |
|
74 @exception NotImplementedError raised if the class has not been |
|
75 reimplemented |
|
76 """ |
|
77 raise NotImplementedError |
|
78 |
|
79 def _updateVCSStatus(self, name): |
|
80 """ |
|
81 Protected method to update the VCS status of an item. |
|
82 |
|
83 @param name filename or directoryname of the item to be updated |
|
84 (string) |
|
85 """ |
|
86 self.project.getModel().updateVCSStatus(name) |