LLPanelGroupRoles Class Reference

#include <llpanelgrouproles.h>

Inheritance diagram for LLPanelGroupRoles:

Inheritance graph
[legend]
Collaboration diagram for LLPanelGroupRoles:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelGroupRoles (const std::string &name, const LLUUID &group_id)
virtual ~LLPanelGroupRoles ()
virtual BOOL postBuild ()
virtual BOOL isVisibleByAgent (LLAgent *agentp)
void handleClickSubTab ()
BOOL attemptTransition ()
void transitionToTab ()
void handleNotifyCallback (S32 option)
virtual LLString getHelpText () const
virtual void activate ()
virtual void deactivate ()
virtual bool needsApply (LLString &mesg)
virtual BOOL hasModal ()
virtual bool apply (LLString &mesg)
virtual void cancel ()
virtual void update (LLGroupChange gc)
virtual void tabChanged ()

Static Public Member Functions

static voidcreateTab (void *data)
static void onClickSubTab (void *, bool)
static void onNotifyCallback (S32 option, void *user_data)
static void onModalClose (S32 option, void *user_data)

Protected Attributes

LLPanelGroupTabmCurrentTab
LLPanelGroupTabmRequestedTab
LLTabContainerCommonmSubTabContainer
BOOL mFirstUse
BOOL mIgnoreTransition
LLString mDefaultNeedsApplyMesg
LLString mWantApplyMesg

Friends

class LLPanelGroupMembersSubTab
class LLPanelGroupRolesSubTab
class LLPanelGroupActionsSubTab

Detailed Description

Definition at line 50 of file llpanelgrouproles.h.


Constructor & Destructor Documentation

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 LLTabContainerCommon::getPanelByIndex(), LLTabContainerCommon::getTabCount(), i, and mSubTabContainer.


Member Function Documentation

void LLPanelGroupRoles::activate (  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 426 of file llpanelgrouproles.cpp.

References LLPanelGroupTab::activate(), cancel(), FALSE, LLTabContainerCommon::getCurrentPanel(), LLGroupMgr::getGroupData(), gGroupMgr, LLGroupMgrGroupData::isGroupPropertiesDataComplete(), LLGroupMgrGroupData::isMemberDataComplete(), LLGroupMgrGroupData::isRoleDataComplete(), LLGroupMgrGroupData::isRoleMemberDataComplete(), mFirstUse, LLPanelGroupTab::mGroupID, mSubTabContainer, LLGroupMgr::sendGroupMembersRequest(), LLGroupMgr::sendGroupPropertiesRequest(), LLGroupMgr::sendGroupRoleDataRequest(), and LLGroupMgr::sendGroupRoleMembersRequest().

bool LLPanelGroupRoles::apply ( LLString mesg  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 365 of file llpanelgrouproles.cpp.

References LLPanelGroupTab::apply(), LLTabContainerCommon::getCurrentPanel(), mSubTabContainer, and LLPanelGroupTab::needsApply().

Referenced by handleNotifyCallback().

BOOL LLPanelGroupRoles::attemptTransition (  ) 

Definition at line 240 of file llpanelgrouproles.cpp.

References LLViewerWindow::alertXml(), FALSE, gViewerWindow, mCurrentTab, mDefaultNeedsApplyMesg, LLPanelGroupTab::mHasModal, mIgnoreTransition, mRequestedTab, mSubTabContainer, mWantApplyMesg, LLPanelGroupTab::needsApply(), onNotifyCallback(), LLTabContainerCommon::selectTabPanel(), transitionToTab(), and TRUE.

Referenced by handleClickSubTab().

void LLPanelGroupRoles::cancel (  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 386 of file llpanelgrouproles.cpp.

References LLPanelGroupTab::cancel(), LLTabContainerCommon::getCurrentPanel(), and mSubTabContainer.

Referenced by activate(), and handleNotifyCallback().

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::deactivate (  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 467 of file llpanelgrouproles.cpp.

References LLPanelGroupTab::deactivate(), LLTabContainerCommon::getCurrentPanel(), and mSubTabContainer.

LLString LLPanelGroupRoles::getHelpText (  )  const [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 398 of file llpanelgrouproles.cpp.

References LLTabContainerCommon::getCurrentPanel(), LLPanelGroupTab::getHelpText(), LLPanelGroupTab::mHelpText, and mSubTabContainer.

void LLPanelGroupRoles::handleClickSubTab (  ) 

Definition at line 219 of file llpanelgrouproles.cpp.

References attemptTransition(), LLTabContainerCommon::getCurrentPanel(), mCurrentTab, mIgnoreTransition, mRequestedTab, and mSubTabContainer.

void LLPanelGroupRoles::handleNotifyCallback ( S32  option  ) 

Definition at line 307 of file llpanelgrouproles.cpp.

References LLViewerWindow::alertXml(), apply(), cancel(), FALSE, gViewerWindow, LLPanelGroupTab::mHasModal, mIgnoreTransition, mRequestedTab, mSubTabContainer, onModalClose(), LLTabContainerCommon::selectTabPanel(), transitionToTab(), and TRUE.

BOOL LLPanelGroupRoles::hasModal (  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 481 of file llpanelgrouproles.cpp.

References FALSE, LLTabContainerCommon::getCurrentPanel(), LLPanelGroupTab::hasModal(), LLPanelGroupTab::mHasModal, mSubTabContainer, and TRUE.

BOOL LLPanelGroupRoles::isVisibleByAgent ( LLAgent agentp  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 190 of file llpanelgrouproles.cpp.

References LLAgent::isGodlike(), LLAgent::isInGroup(), LLPanelGroupTab::mAllowEdit, LLPanelGroupTab::mGroupID, and TRUE.

bool LLPanelGroupRoles::needsApply ( LLString mesg  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 473 of file llpanelgrouproles.cpp.

References LLTabContainerCommon::getCurrentPanel(), mSubTabContainer, and LLPanelGroupTab::needsApply().

void LLPanelGroupRoles::onClickSubTab ( void ,
bool   
) [static]

Definition at line 213 of file llpanelgrouproles.cpp.

Referenced by postBuild().

void LLPanelGroupRoles::onModalClose ( S32  option,
void user_data 
) [static]

Definition at line 355 of file llpanelgrouproles.cpp.

References FALSE.

Referenced by handleNotifyCallback().

void LLPanelGroupRoles::onNotifyCallback ( S32  option,
void user_data 
) [static]

Definition at line 298 of file llpanelgrouproles.cpp.

Referenced by attemptTransition().

BOOL LLPanelGroupRoles::postBuild (  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 132 of file llpanelgrouproles.cpp.

References LLPanelGroupTab::activate(), FALSE, LLPanel::getChildByName(), LLTabContainerCommon::getCurrentPanel(), LLTabContainerCommon::getPanelByIndex(), LLTabContainerCommon::getTabCount(), LLTextBox::getText(), i, lldebugs, llendl, mCurrentTab, mDefaultNeedsApplyMesg, mSubTabContainer, mWantApplyMesg, onClickSubTab(), LLPanelGroupTab::postBuild(), LLView::removeChild(), S32, LLTabContainerCommon::selectFirstTab(), LLTabContainerCommon::setTabChangeCallback(), LLTabContainerCommon::setTabUserData(), and TRUE.

void LLPanelGroupRoles::tabChanged (  )  [virtual]

Implements LLPanelGroupTabObserver.

Definition at line 492 of file llpanelgrouproles.cpp.

References LLPanelGroupTab::notifyObservers().

void LLPanelGroupRoles::transitionToTab (  ) 

Definition at line 280 of file llpanelgrouproles.cpp.

References LLPanelGroupTab::activate(), LLPanelGroupTab::deactivate(), mCurrentTab, and mRequestedTab.

Referenced by attemptTransition(), and handleNotifyCallback().

void LLPanelGroupRoles::update ( LLGroupChange  gc  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 411 of file llpanelgrouproles.cpp.

References LLTabContainerCommon::getCurrentPanel(), LLUUID::isNull(), llendl, llwarns, LLPanelGroupTab::mGroupID, mSubTabContainer, and LLPanelGroupTab::update().


Friends And Related Function Documentation

friend class LLPanelGroupActionsSubTab [friend]

Definition at line 60 of file llpanelgrouproles.h.

friend class LLPanelGroupMembersSubTab [friend]

Definition at line 58 of file llpanelgrouproles.h.

friend class LLPanelGroupRolesSubTab [friend]

Definition at line 59 of file llpanelgrouproles.h.


Member Data Documentation

LLPanelGroupTab* LLPanelGroupRoles::mCurrentTab [protected]

Definition at line 94 of file llpanelgrouproles.h.

Referenced by attemptTransition(), handleClickSubTab(), postBuild(), and transitionToTab().

LLString LLPanelGroupRoles::mDefaultNeedsApplyMesg [protected]

Definition at line 100 of file llpanelgrouproles.h.

Referenced by attemptTransition(), and postBuild().

BOOL LLPanelGroupRoles::mFirstUse [protected]

Definition at line 97 of file llpanelgrouproles.h.

Referenced by activate().

BOOL LLPanelGroupRoles::mIgnoreTransition [protected]

Definition at line 98 of file llpanelgrouproles.h.

Referenced by attemptTransition(), handleClickSubTab(), and handleNotifyCallback().

LLPanelGroupTab* LLPanelGroupRoles::mRequestedTab [protected]

Definition at line 95 of file llpanelgrouproles.h.

Referenced by attemptTransition(), handleClickSubTab(), handleNotifyCallback(), and transitionToTab().

LLTabContainerCommon* 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().

LLString LLPanelGroupRoles::mWantApplyMesg [protected]

Definition at line 101 of file llpanelgrouproles.h.

Referenced by attemptTransition(), and postBuild().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:36 2010 for Second Life Viewer by  doxygen 1.4.7