equal
deleted
inserted
replaced
48 self._View.SetBusId(self.GetCurrentLocation()) |
48 self._View.SetBusId(self.GetCurrentLocation()) |
49 self._View._onclose = _onclose |
49 self._View._onclose = _onclose |
50 self._View._onsave = _onsave |
50 self._View._onsave = _onsave |
51 self._View.Show() |
51 self._View.Show() |
52 |
52 |
53 PluginMethods = [("NetworkEdit",_OpenView)] |
53 PluginMethods = [ |
|
54 {"bitmap" : os.path.join("images", "NetworkEdit.png"), |
|
55 "name" : "Edit network", |
|
56 "tooltip" : "Edit CanOpen Network with NetworkEdit", |
|
57 "method" : _OpenView} |
|
58 ] |
54 |
59 |
55 def OnPlugClose(self): |
60 def OnPlugClose(self): |
56 if self._View: |
61 if self._View: |
57 self._View.Close() |
62 self._View.Close() |
58 |
63 |