#include <llpanelgrouproles.h>
Inheritance diagram for LLPanelGroupActionsSubTab:
Public Member Functions | |
LLPanelGroupActionsSubTab (const std::string &name, const LLUUID &group_id) | |
virtual | ~LLPanelGroupActionsSubTab () |
virtual BOOL | postBuildSubTab (LLView *root) |
virtual void | activate () |
virtual void | deactivate () |
virtual bool | needsApply (LLString &mesg) |
virtual bool | apply (LLString &mesg) |
virtual void | update (LLGroupChange gc) |
void | handleActionSelect () |
Static Public Member Functions | |
static void * | createTab (void *data) |
static void | onActionSelect (LLUICtrl *, void *) |
Protected Attributes | |
LLScrollListCtrl * | mActionList |
LLScrollListCtrl * | mActionRoles |
LLNameListCtrl * | mActionMembers |
LLTextEditor * | mActionDescription |
Definition at line 293 of file llpanelgrouproles.h.
LLPanelGroupActionsSubTab::LLPanelGroupActionsSubTab | ( | const std::string & | name, | |
const LLUUID & | group_id | |||
) |
LLPanelGroupActionsSubTab::~LLPanelGroupActionsSubTab | ( | ) | [virtual] |
Definition at line 2498 of file llpanelgrouproles.cpp.
void LLPanelGroupActionsSubTab::activate | ( | ) | [virtual] |
Reimplemented from LLPanelGroupSubTab.
Definition at line 2532 of file llpanelgrouproles.cpp.
References LLPanelGroupSubTab::activate(), LLTextEditor::clear(), LLScrollListCtrl::deleteAllItems(), LLScrollListCtrl::deselectAllItems(), lldebugs, llendl, mActionDescription, mActionList, mActionMembers, and mActionRoles.
bool LLPanelGroupActionsSubTab::apply | ( | LLString & | mesg | ) | [virtual] |
Reimplemented from LLPanelGroupTab.
Definition at line 2487 of file llpanelgrouproles.cpp.
References LLPanelGroupActionsSubTab().
Referenced by LLPanelGroup::LLPanelGroup().
void LLPanelGroupActionsSubTab::deactivate | ( | ) | [virtual] |
Reimplemented from LLPanelGroupSubTab.
Definition at line 2543 of file llpanelgrouproles.cpp.
References LLPanelGroupSubTab::deactivate(), lldebugs, and llendl.
void LLPanelGroupActionsSubTab::handleActionSelect | ( | ) |
Definition at line 2592 of file llpanelgrouproles.cpp.
References LLNameListCtrl::addNameItem(), LLScrollListCtrl::addSimpleItem(), LLTextEditor::clear(), LLScrollListCtrl::deleteAllItems(), end, LLGroupMemberData::getAgentPowers(), LLScrollListCtrl::getAllSelected(), LLGroupMgr::getGroupData(), LLGroupMemberData::getID(), LLGroupRoleData::getRoleData(), LLScrollListItem::getUserdata(), gGroupMgr, GP_NO_POWERS, LLGroupMgrGroupData::isMemberDataComplete(), LLGroupMgrGroupData::isRoleDataComplete(), mActionDescription, mActionList, mActionMembers, mActionRoles, LLRoleAction::mDescription, LLPanelGroupTab::mGroupID, LLRoleAction::mLongDescription, LLGroupMgrGroupData::mMembers, LLRoleAction::mPowerBit, LLRoleData::mRoleName, LLRoleData::mRolePowers, LLGroupMgrGroupData::mRoles, LLGroupMgr::sendGroupMembersRequest(), LLGroupMgr::sendGroupRoleDataRequest(), and LLTextEditor::setText().
bool LLPanelGroupActionsSubTab::needsApply | ( | LLString & | mesg | ) | [virtual] |
Reimplemented from LLPanelGroupSubTab.
Definition at line 2502 of file llpanelgrouproles.cpp.
References GC_ALL, LLPanel::getChildByName(), mActionDescription, mActionList, mActionMembers, mActionRoles, LLPanelGroupSubTab::mFooter, LLPanelGroupSubTab::mHeader, onActionSelect(), LLUICtrl::setCallbackUserData(), LLUICtrl::setCommitCallback(), LLScrollListCtrl::setCommitOnSelectionChange(), TRUE, and update().
void LLPanelGroupActionsSubTab::update | ( | LLGroupChange | gc | ) | [virtual] |
Reimplemented from LLPanelGroupTab.
Definition at line 2563 of file llpanelgrouproles.cpp.
References LLPanelGroupSubTab::buildActionsList(), LLTextEditor::clear(), LLScrollListCtrl::deleteAllItems(), LLScrollListCtrl::deselectAllItems(), GP_ALL_POWERS, LLUUID::isNull(), lldebugs, llendl, mActionDescription, LLPanelGroupSubTab::mActionIcons, mActionList, mActionMembers, mActionRoles, LLPanelGroupTab::mGroupID, NULL, and TRUE.
Referenced by postBuildSubTab().
Definition at line 316 of file llpanelgrouproles.h.
Referenced by activate(), handleActionSelect(), postBuildSubTab(), and update().
LLScrollListCtrl* LLPanelGroupActionsSubTab::mActionList [protected] |
Definition at line 312 of file llpanelgrouproles.h.
Referenced by activate(), handleActionSelect(), postBuildSubTab(), and update().
LLNameListCtrl* LLPanelGroupActionsSubTab::mActionMembers [protected] |
Definition at line 314 of file llpanelgrouproles.h.
Referenced by activate(), handleActionSelect(), postBuildSubTab(), and update().
LLScrollListCtrl* LLPanelGroupActionsSubTab::mActionRoles [protected] |
Definition at line 313 of file llpanelgrouproles.h.
Referenced by activate(), handleActionSelect(), postBuildSubTab(), and update().