#include <llpanelgrouproles.h>
Definition at line 50 of file llpanelgrouproles.h.
LLPanelGroupRoles::LLPanelGroupRoles | ( | const std::string & | name, | |
const LLUUID & | group_id | |||
) |
Definition at line 111 of file llpanelgrouproles.cpp.
Referenced by createTab().
LLPanelGroupRoles::~LLPanelGroupRoles | ( | ) | [virtual] |
Definition at line 121 of file llpanelgrouproles.cpp.
References LLTabContainer::getPanelByIndex(), LLTabContainer::getTabCount(), i, mSubTabContainer, and LLPanelGroupTab::removeObserver().
BOOL LLPanelGroupRoles::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanelGroupTab.
Definition at line 132 of file llpanelgrouproles.cpp.
References LLPanelGroupTab::activate(), LLPanelGroupTab::addObserver(), FALSE, LLTabContainer::getCurrentPanel(), LLTabContainer::getPanelByIndex(), LLPanel::getString(), LLTabContainer::getTabCount(), i, lldebugs, llendl, mCurrentTab, mDefaultNeedsApplyMesg, mSubTabContainer, mWantApplyMesg, onClickSubTab(), LLPanelGroupTab::postBuild(), LLPanelGroupSubTab::postBuildSubTab(), S32, LLTabContainer::selectFirstTab(), LLTabContainer::setTabChangeCallback(), and LLTabContainer::setTabUserData().
Reimplemented from LLPanelGroupTab.
Definition at line 178 of file llpanelgrouproles.cpp.
References LLAgent::isGodlike(), LLAgent::isInGroup(), LLPanelGroupTab::mAllowEdit, LLPanelGroupTab::mGroupID, and TRUE.
void * LLPanelGroupRoles::createTab | ( | void * | data | ) | [static] |
Reimplemented from LLPanelGroupTab.
Definition at line 105 of file llpanelgrouproles.cpp.
References LLPanelGroupRoles().
Referenced by LLPanelGroup::LLPanelGroup().
void LLPanelGroupRoles::onClickSubTab | ( | void * | user_data, | |
bool | from_click | |||
) | [static] |
Definition at line 201 of file llpanelgrouproles.cpp.
Referenced by postBuild().
void LLPanelGroupRoles::handleClickSubTab | ( | ) |
Definition at line 207 of file llpanelgrouproles.cpp.
References attemptTransition(), LLTabContainer::getCurrentPanel(), mCurrentTab, mIgnoreTransition, mRequestedTab, and mSubTabContainer.
BOOL LLPanelGroupRoles::attemptTransition | ( | ) |
Definition at line 228 of file llpanelgrouproles.cpp.
References LLViewerWindow::alertXml(), FALSE, gViewerWindow, mCurrentTab, mDefaultNeedsApplyMesg, LLPanelGroupTab::mHasModal, mIgnoreTransition, mRequestedTab, mSubTabContainer, mWantApplyMesg, LLPanelGroupTab::needsApply(), onNotifyCallback(), LLTabContainer::selectTabPanel(), transitionToTab(), and TRUE.
Referenced by handleClickSubTab().
void LLPanelGroupRoles::transitionToTab | ( | ) |
Definition at line 268 of file llpanelgrouproles.cpp.
References LLPanelGroupTab::activate(), LLPanelGroupTab::deactivate(), mCurrentTab, and mRequestedTab.
Referenced by attemptTransition(), and handleNotifyCallback().
void LLPanelGroupRoles::onNotifyCallback | ( | S32 | option, | |
void * | user_data | |||
) | [static] |
Definition at line 286 of file llpanelgrouproles.cpp.
Referenced by attemptTransition().
void LLPanelGroupRoles::handleNotifyCallback | ( | S32 | option | ) |
Definition at line 295 of file llpanelgrouproles.cpp.
References LLViewerWindow::alertXml(), apply(), cancel(), FALSE, gViewerWindow, LLPanelGroupTab::mHasModal, mIgnoreTransition, mRequestedTab, mSubTabContainer, onModalClose(), LLTabContainer::selectTabPanel(), transitionToTab(), and TRUE.
void LLPanelGroupRoles::onModalClose | ( | S32 | option, | |
void * | user_data | |||
) | [static] |
Definition at line 343 of file llpanelgrouproles.cpp.
References FALSE.
Referenced by handleNotifyCallback().
LLString LLPanelGroupRoles::getHelpText | ( | ) | const [virtual] |
Reimplemented from LLPanelGroupTab.
Definition at line 386 of file llpanelgrouproles.cpp.
References LLTabContainer::getCurrentPanel(), LLPanelGroupTab::getHelpText(), LLPanelGroupTab::mHelpText, and mSubTabContainer.
void LLPanelGroupRoles::activate | ( | ) | [virtual] |
Reimplemented from LLPanelGroupTab.
Definition at line 414 of file llpanelgrouproles.cpp.
References LLPanelGroupTab::activate(), cancel(), FALSE, LLTabContainer::getCurrentPanel(), LLGroupMgr::getGroupData(), LLSingleton< LLGroupMgr >::getInstance(), LLGroupMgrGroupData::isGroupPropertiesDataComplete(), LLGroupMgrGroupData::isMemberDataComplete(), LLGroupMgrGroupData::isRoleDataComplete(), LLGroupMgrGroupData::isRoleMemberDataComplete(), mFirstUse, LLPanelGroupTab::mGroupID, mSubTabContainer, LLGroupMgr::sendGroupMembersRequest(), LLGroupMgr::sendGroupPropertiesRequest(), LLGroupMgr::sendGroupRoleDataRequest(), and LLGroupMgr::sendGroupRoleMembersRequest().
void LLPanelGroupRoles::deactivate | ( | ) | [virtual] |
Reimplemented from LLPanelGroupTab.
Definition at line 455 of file llpanelgrouproles.cpp.
References LLPanelGroupTab::deactivate(), LLTabContainer::getCurrentPanel(), and mSubTabContainer.
bool LLPanelGroupRoles::needsApply | ( | LLString & | mesg | ) | [virtual] |
Reimplemented from LLPanelGroupTab.
Definition at line 461 of file llpanelgrouproles.cpp.
References LLTabContainer::getCurrentPanel(), mSubTabContainer, and LLPanelGroupTab::needsApply().
BOOL LLPanelGroupRoles::hasModal | ( | ) | [virtual] |
Reimplemented from LLPanelGroupTab.
Definition at line 469 of file llpanelgrouproles.cpp.
References FALSE, LLTabContainer::getCurrentPanel(), LLPanelGroupTab::hasModal(), LLPanelGroupTab::mHasModal, mSubTabContainer, and TRUE.
bool LLPanelGroupRoles::apply | ( | LLString & | mesg | ) | [virtual] |
Reimplemented from LLPanelGroupTab.
Definition at line 353 of file llpanelgrouproles.cpp.
References LLPanelGroupTab::apply(), LLTabContainer::getCurrentPanel(), mSubTabContainer, and LLPanelGroupTab::needsApply().
Referenced by handleNotifyCallback().
void LLPanelGroupRoles::cancel | ( | ) | [virtual] |
Reimplemented from LLPanelGroupTab.
Definition at line 374 of file llpanelgrouproles.cpp.
References LLPanelGroupTab::cancel(), LLTabContainer::getCurrentPanel(), and mSubTabContainer.
Referenced by activate(), and handleNotifyCallback().
void LLPanelGroupRoles::update | ( | LLGroupChange | gc | ) | [virtual] |
Reimplemented from LLPanelGroupTab.
Definition at line 399 of file llpanelgrouproles.cpp.
References LLTabContainer::getCurrentPanel(), LLUUID::isNull(), llendl, llwarns, LLPanelGroupTab::mGroupID, mSubTabContainer, and LLPanelGroupTab::update().
void LLPanelGroupRoles::tabChanged | ( | ) | [virtual] |
Implements LLPanelGroupTabObserver.
Definition at line 480 of file llpanelgrouproles.cpp.
References LLPanelGroupTab::notifyObservers().
friend class LLPanelGroupMembersSubTab [friend] |
Definition at line 58 of file llpanelgrouproles.h.
friend class LLPanelGroupRolesSubTab [friend] |
Definition at line 59 of file llpanelgrouproles.h.
friend class LLPanelGroupActionsSubTab [friend] |
Definition at line 60 of file llpanelgrouproles.h.
LLPanelGroupTab* LLPanelGroupRoles::mCurrentTab [protected] |
Definition at line 94 of file llpanelgrouproles.h.
Referenced by attemptTransition(), handleClickSubTab(), postBuild(), and transitionToTab().
LLPanelGroupTab* LLPanelGroupRoles::mRequestedTab [protected] |
Definition at line 95 of file llpanelgrouproles.h.
Referenced by attemptTransition(), handleClickSubTab(), handleNotifyCallback(), and transitionToTab().
LLTabContainer* LLPanelGroupRoles::mSubTabContainer [protected] |
Definition at line 96 of file llpanelgrouproles.h.
Referenced by activate(), apply(), attemptTransition(), cancel(), deactivate(), getHelpText(), handleClickSubTab(), handleNotifyCallback(), hasModal(), needsApply(), postBuild(), update(), and ~LLPanelGroupRoles().
BOOL LLPanelGroupRoles::mFirstUse [protected] |
BOOL LLPanelGroupRoles::mIgnoreTransition [protected] |
Definition at line 98 of file llpanelgrouproles.h.
Referenced by attemptTransition(), handleClickSubTab(), and handleNotifyCallback().
LLString LLPanelGroupRoles::mDefaultNeedsApplyMesg [protected] |
Definition at line 100 of file llpanelgrouproles.h.
Referenced by attemptTransition(), and postBuild().
LLString LLPanelGroupRoles::mWantApplyMesg [protected] |
Definition at line 101 of file llpanelgrouproles.h.
Referenced by attemptTransition(), and postBuild().