11 override bool OnClick(Widget w,
int x,
int y,
int button)
13 bool result = super.OnClick(w, x, y, button);
14 OnOpenDetailsButton();
20 override void HandlerDeattached(Widget w)
22 super.HandlerDeattached(w);
25 m_Item.m_OnChanged.Remove(UpdateAllWidgets);
35 item.m_OnChanged.Insert(UpdateAllWidgets);
39 override void OnDeleteButton()
41 super.OnDeleteButton();
47 override void OnActionButton()
49 super.OnActionButton();
58 override void OnUpdateButton()
60 super.OnUpdateButton();
69 override void UpdateAllWidgets()
71 if (m_bCanUpdate &&
m_Item)
72 HandleEnableButtons(
m_Item.GetEnabled());
74 super.UpdateAllWidgets();
78 bool IsWorkshopItemEnabled()
83 return m_Item.GetEnabled();