Author: justi9
Date: 2008-04-09 10:35:11 -0400 (Wed, 09 Apr 2008)
New Revision: 1882
Modified:
mgmt/cumin/python/cumin/brokergroup.py
Log:
Add a details tab to BrokerGroupView
Modified: mgmt/cumin/python/cumin/brokergroup.py
===================================================================
--- mgmt/cumin/python/cumin/brokergroup.py 2008-04-09 14:31:03 UTC (rev 1881)
+++ mgmt/cumin/python/cumin/brokergroup.py 2008-04-09 14:35:11 UTC (rev 1882)
@@ -117,17 +117,12 @@
status = BrokerGroupStatus(app, "status")
self.add_child(status)
- self.tabs = TabbedModeSet(app, "tabs")
- self.add_child(self.tabs)
+ self.__tabs = TabbedModeSet(app, "tabs")
+ self.add_child(self.__tabs)
- self.tabs.add_tab(self.GroupBrokerTab(app, "brokers"))
+ self.__tabs.add_tab(self.GroupBrokerTab(app, "brokers"))
+ self.__tabs.add_tab(CuminDetails(app, "details"))
- def render_icon_resource(self, session, group):
- return "group-36.png"
-
- def render_title(self, session, group):
- return "Broker Group '%s'" % group.name
-
class GroupBrokerTab(BrokerSet):
def get_args(self, session):
return self.frame.get_args(session)
Show replies by date