LLPanelLandObjects Class Reference

#include <llfloaterland.h>

Inheritance diagram for LLPanelLandObjects:

Inheritance graph
[legend]
Collaboration diagram for LLPanelLandObjects:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelLandObjects (LLHandle< LLParcelSelection > &parcelp)
virtual ~LLPanelLandObjects ()
void refresh ()
virtual void draw ()
virtual BOOL postBuild ()

Static Public Member Functions

static void callbackReturnOwnerObjects (S32, void *)
static void callbackReturnGroupObjects (S32, void *)
static void callbackReturnOtherObjects (S32, void *)
static void callbackReturnOwnerList (S32, void *)
static void clickShowCore (LLPanelLandObjects *panelp, S32 return_type, uuid_list_t *list=0)
static void onClickShowOwnerObjects (void *)
static void onClickShowGroupObjects (void *)
static void onClickShowOtherObjects (void *)
static void onClickReturnOwnerObjects (void *)
static void onClickReturnGroupObjects (void *)
static void onClickReturnOtherObjects (void *)
static void onClickReturnOwnerList (void *)
static void onClickRefresh (void *)
static void onClickType (void *)
static void onClickName (void *)
static void onClickDesc (void *)
static void onDoubleClickOwner (void *)
static void onCommitList (LLUICtrl *ctrl, void *data)
static void onLostFocus (LLUICtrl *caller, void *user_data)
static void processParcelObjectOwnersReply (LLMessageSystem *msg, void **)

Protected Member Functions

void sortBtnCore (S32 column)

Protected Attributes

LLTextBoxmParcelObjectBonus
LLTextBoxmSWTotalObjects
LLTextBoxmObjectContribution
LLTextBoxmTotalObjects
LLTextBoxmOwnerObjects
LLButtonmBtnShowOwnerObjects
LLButtonmBtnReturnOwnerObjects
LLTextBoxmGroupObjects
LLButtonmBtnShowGroupObjects
LLButtonmBtnReturnGroupObjects
LLTextBoxmOtherObjects
LLButtonmBtnShowOtherObjects
LLButtonmBtnReturnOtherObjects
LLTextBoxmSelectedObjects
LLLineEditormCleanOtherObjectsTime
S32 mOtherTime
LLButtonmBtnRefresh
LLButtonmBtnReturnOwnerList
LLButtonmBtnType
LLButtonmBtnName
LLButtonmBtnDescription
LLNameListCtrlmOwnerList
LLPointer< LLViewerImagemIconAvatarOnline
LLPointer< LLViewerImagemIconAvatarOffline
LLPointer< LLViewerImagemIconGroup
U32 mCurrentSortColumn
BOOL mCurrentSortAscending
S32 mColWidth [12]
BOOL mFirstReply
uuid_list_t mSelectedOwners
LLString mSelectedName
S32 mSelectedCount
BOOL mSelectedIsGroup
LLHandle< LLParcelSelection > & mParcel

Detailed Description

Definition at line 230 of file llfloaterland.h.


Constructor & Destructor Documentation

LLPanelLandObjects::LLPanelLandObjects ( LLHandle< LLParcelSelection > &  parcelp  ) 

Definition at line 1020 of file llfloaterland.cpp.

LLPanelLandObjects::~LLPanelLandObjects (  )  [virtual]

Definition at line 1128 of file llfloaterland.cpp.


Member Function Documentation

void LLPanelLandObjects::callbackReturnGroupObjects ( S32  ,
void  
) [static]

Definition at line 1376 of file llfloaterland.cpp.

References gCacheName, LLCacheName::getGroupName(), gParcelMgr, gSelectMgr, MAX_STRING, mParcel, refresh(), RT_GROUP, send_return_objects_message(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLNotifyBox::showXml(), and LLSelectMgr::unhighlightAll().

Referenced by onClickReturnGroupObjects().

void LLPanelLandObjects::callbackReturnOtherObjects ( S32  ,
void  
) [static]

Definition at line 1398 of file llfloaterland.cpp.

References gParcelMgr, gSelectMgr, mParcel, refresh(), RT_OTHER, send_return_objects_message(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLNotifyBox::showXml(), and LLSelectMgr::unhighlightAll().

Referenced by onClickReturnOtherObjects().

void LLPanelLandObjects::callbackReturnOwnerList ( S32  ,
void  
) [static]

Definition at line 1416 of file llfloaterland.cpp.

References gParcelMgr, gSelectMgr, RT_LIST, send_return_objects_message(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLNotifyBox::showXml(), and LLSelectMgr::unhighlightAll().

Referenced by onClickReturnOwnerList().

void LLPanelLandObjects::callbackReturnOwnerObjects ( S32  ,
void  
) [static]

Definition at line 1343 of file llfloaterland.cpp.

References DB_FIRST_NAME_BUF_SIZE, DB_LAST_NAME_BUF_SIZE, first, gAgentID, gCacheName, LLCacheName::getName(), gParcelMgr, gSelectMgr, mParcel, refresh(), RT_OWNER, send_return_objects_message(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLNotifyBox::showXml(), and LLSelectMgr::unhighlightAll().

Referenced by onClickReturnOwnerObjects().

void LLPanelLandObjects::clickShowCore ( LLPanelLandObjects panelp,
S32  return_type,
uuid_list_t list = 0 
) [static]

Definition at line 1684 of file llfloaterland.cpp.

References LLParcel::getLocalID(), and send_parcel_select_objects().

Referenced by onClickShowGroupObjects(), onClickShowOtherObjects(), onClickShowOwnerObjects(), and onCommitList().

void LLPanelLandObjects::draw (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 1277 of file llfloaterland.cpp.

References LLPanel::draw().

void LLPanelLandObjects::onClickDesc ( void  )  [static]

Definition at line 1670 of file llfloaterland.cpp.

Referenced by postBuild().

void LLPanelLandObjects::onClickName ( void  )  [static]

Definition at line 1677 of file llfloaterland.cpp.

Referenced by postBuild().

void LLPanelLandObjects::onClickRefresh ( void  )  [static]

Definition at line 1491 of file llfloaterland.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_LocalID, _PREHASH_ParcelData, _PREHASH_ParcelObjectOwnersRequest, _PREHASH_SessionID, LLMessageSystem::addS32Fast(), LLMessageSystem::addUUIDFast(), FALSE, gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLParcel::getLocalID(), LLViewerParcelMgr::getSelectionRegion(), LLAgent::getSessionID(), gMessageSystem, gParcelMgr, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLMessageSystem::sendReliable(), and TRUE.

Referenced by postBuild().

void LLPanelLandObjects::onClickReturnGroupObjects ( void  )  [static]

Definition at line 1750 of file llfloaterland.cpp.

References LLViewerWindow::alertXml(), callbackReturnGroupObjects(), gCacheName, LLParcel::getGroupID(), LLCacheName::getGroupName(), LLParcel::getLocalID(), LLViewerParcelMgr::getPrimInfo(), gParcelMgr, gViewerWindow, llformat(), MAX_STRING, mParcel, RT_GROUP, S32, and send_parcel_select_objects().

Referenced by postBuild().

void LLPanelLandObjects::onClickReturnOtherObjects ( void  )  [static]

Definition at line 1778 of file llfloaterland.cpp.

References LLViewerWindow::alertXml(), callbackReturnOtherObjects(), DB_FIRST_NAME_BUF_SIZE, DB_LAST_NAME_BUF_SIZE, first, gAgent, gCacheName, LLParcel::getGroupID(), LLCacheName::getGroupName(), LLAgent::getID(), LLParcel::getIsGroupOwned(), LLParcel::getLocalID(), LLCacheName::getName(), LLParcel::getOwnerID(), LLViewerParcelMgr::getPrimInfo(), gParcelMgr, gViewerWindow, llformat(), MAX_STRING, mParcel, RT_OTHER, S32, and send_parcel_select_objects().

Referenced by postBuild().

void LLPanelLandObjects::onClickReturnOwnerList ( void  )  [static]

Definition at line 1451 of file llfloaterland.cpp.

References LLViewerWindow::alertXml(), callbackReturnOwnerList(), LLParcel::getLocalID(), LLViewerParcelMgr::getPrimInfo(), gParcelMgr, gViewerWindow, llformat(), RT_LIST, S32, and send_parcel_select_objects().

Referenced by postBuild().

void LLPanelLandObjects::onClickReturnOwnerObjects ( void  )  [static]

Definition at line 1711 of file llfloaterland.cpp.

References LLViewerWindow::alertXml(), callbackReturnOwnerObjects(), DB_FIRST_NAME_BUF_SIZE, DB_LAST_NAME_BUF_SIZE, first, gAgent, gCacheName, LLAgent::getID(), LLParcel::getLocalID(), LLCacheName::getName(), LLParcel::getOwnerID(), LLViewerParcelMgr::getPrimInfo(), gParcelMgr, gViewerWindow, llformat(), mParcel, RT_OWNER, S32, and send_parcel_select_objects().

Referenced by postBuild().

void LLPanelLandObjects::onClickShowGroupObjects ( void  )  [static]

Definition at line 1699 of file llfloaterland.cpp.

References clickShowCore(), and RT_GROUP.

Referenced by postBuild().

void LLPanelLandObjects::onClickShowOtherObjects ( void  )  [static]

Definition at line 1705 of file llfloaterland.cpp.

References clickShowCore(), and RT_OTHER.

Referenced by postBuild().

void LLPanelLandObjects::onClickShowOwnerObjects ( void  )  [static]

Definition at line 1693 of file llfloaterland.cpp.

References clickShowCore(), and RT_OWNER.

Referenced by postBuild().

void LLPanelLandObjects::onClickType ( void  )  [static]

Definition at line 1662 of file llfloaterland.cpp.

Referenced by postBuild().

void LLPanelLandObjects::onCommitList ( LLUICtrl ctrl,
void data 
) [static]

Definition at line 1626 of file llfloaterland.cpp.

References clickShowCore(), FALSE, LLScrollListItem::getColumn(), LLScrollListCell::getText(), LLScrollListItem::getUUID(), OWNER_GROUP, RT_LIST, LLScrollListCell::setEnabled(), and TRUE.

Referenced by postBuild().

void LLPanelLandObjects::onDoubleClickOwner ( void  )  [static]

Definition at line 1132 of file llfloaterland.cpp.

References LLScrollListItem::getColumn(), LLScrollListCell::getText(), LLScrollListItem::getUUID(), OWNER_GROUP, LLFloaterAvatarInfo::showFromDirectory(), and LLFloaterGroupInfo::showFromUUID().

Referenced by postBuild().

void LLPanelLandObjects::onLostFocus ( LLUICtrl caller,
void user_data 
) [static]

Definition at line 1830 of file llfloaterland.cpp.

References LLParcel::getLocalID(), LLLineEditor::getText(), mCleanOtherObjectsTime, mOtherTime, mParcel, send_other_clean_time_message(), and LLParcel::setCleanOtherTime().

Referenced by postBuild().

BOOL LLPanelLandObjects::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 1027 of file llfloaterland.cpp.

References LLPanel::childSetCommitCallback(), LLPanel::childSetPrevalidate(), LLPanel::childSetUserData(), FALSE, LLUICtrlFactory::getButtonByName(), LLViewerImageList::getImage(), LLUICtrlFactory::getLineEditorByName(), LLUICtrlFactory::getNameListByName(), LLControlGroup::getString(), LLUICtrlFactory::getTextBoxByName(), LLRectBase< Type >::getWidth(), gImageList, gViewerArt, HPAD, i, ICON_WIDTH, mBtnDescription, mBtnName, mBtnRefresh, mBtnReturnGroupObjects, mBtnReturnOtherObjects, mBtnReturnOwnerList, mBtnReturnOwnerObjects, mBtnShowGroupObjects, mBtnShowOtherObjects, mBtnShowOwnerObjects, mBtnType, mCleanOtherObjectsTime, mColWidth, mCurrentSortAscending, mCurrentSortColumn, mFirstReply, mGroupObjects, mIconAvatarOffline, mIconAvatarOnline, mIconGroup, MIPMAP_FALSE, mObjectContribution, mOtherObjects, mOwnerList, mOwnerObjects, mParcelObjectBonus, LLView::mRect, mSelectedObjects, mSWTotalObjects, mTotalObjects, onClickDesc(), onClickName(), onClickRefresh(), onClickReturnGroupObjects(), onClickReturnOtherObjects(), onClickReturnOwnerList(), onClickReturnOwnerObjects(), onClickShowGroupObjects(), onClickShowOtherObjects(), onClickShowOwnerObjects(), onClickType(), onCommitList(), onDoubleClickOwner(), onLostFocus(), LLLineEditor::prevalidateNonNegativeS32(), S32, LLUUID::set(), LLButton::setClickedCallback(), LLScrollListCtrl::setDoubleClickCallback(), LLUICtrl::setFocusLostCallback(), and TRUE.

void LLPanelLandObjects::processParcelObjectOwnersReply ( LLMessageSystem msg,
void **   
) [static]

Definition at line 1521 of file llfloaterland.cpp.

References _PREHASH_Count, _PREHASH_Data, _PREHASH_IsGroupOwned, _PREHASH_OnlineStatus, _PREHASH_OwnerID, ADD_BOTTOM, LLScrollListItem::addColumn(), FALSE, LLMessageSystem::getBOOLFast(), LLFloaterLand::getCurrentPanelLandObjects(), LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getS32Fast(), LLMessageSystem::getUUIDFast(), i, LLUUID::isNull(), lldebugs, llendl, llwarns, MAX_STRING, LLStringBase< char >::null, NULL, OWNER_GROUP, OWNER_OFFLINE, OWNER_ONLINE, S32, LLFontGL::sSansSerif, and TRUE.

Referenced by register_viewer_callbacks().

void LLPanelLandObjects::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 1161 of file llfloaterland.cpp.

References LLPanel::childGetText(), LLScrollListCtrl::deleteAllItems(), f, FALSE, LLViewerRegion::getMaxTasks(), LLViewerParcelMgr::getPrimInfo(), LLViewerParcelMgr::getSelectionRegion(), GP_LAND_RETURN_GROUP_OWNED, GP_LAND_RETURN_GROUP_SET, GP_LAND_RETURN_NON_GROUP, gParcelMgr, LLViewerParcelMgr::isParcelModifiableByAgent(), llformat(), llmin(), mBtnRefresh, mBtnReturnGroupObjects, mBtnReturnOtherObjects, mBtnReturnOwnerList, mBtnReturnOwnerObjects, mBtnShowGroupObjects, mBtnShowOtherObjects, mBtnShowOwnerObjects, mCleanOtherObjectsTime, mGroupObjects, mObjectContribution, mOtherObjects, mOtherTime, mOwnerList, mOwnerObjects, mParcel, mParcelObjectBonus, mSelectedObjects, mSelectedOwners, mSWTotalObjects, mTotalObjects, S32, LLScrollListCtrl::setEnabled(), LLLineEditor::setEnabled(), LLView::setEnabled(), LLLineEditor::setText(), LLTextBox::setText(), LLTextBox::setTextArg(), LLView::setVisible(), and TRUE.

Referenced by callbackReturnGroupObjects(), callbackReturnOtherObjects(), callbackReturnOwnerObjects(), and LLFloaterLand::refresh().

void LLPanelLandObjects::sortBtnCore ( S32  column  )  [protected]

Definition at line 1610 of file llfloaterland.cpp.

References mCurrentSortAscending, mCurrentSortColumn, mOwnerList, S32, LLScrollListCtrl::sortByColumn(), and TRUE.


Member Data Documentation

LLButton* LLPanelLandObjects::mBtnDescription [protected]

Definition at line 290 of file llfloaterland.h.

Referenced by postBuild().

LLButton* LLPanelLandObjects::mBtnName [protected]

Definition at line 289 of file llfloaterland.h.

Referenced by postBuild().

LLButton* LLPanelLandObjects::mBtnRefresh [protected]

Definition at line 286 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandObjects::mBtnReturnGroupObjects [protected]

Definition at line 279 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandObjects::mBtnReturnOtherObjects [protected]

Definition at line 282 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandObjects::mBtnReturnOwnerList [protected]

Definition at line 287 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandObjects::mBtnReturnOwnerObjects [protected]

Definition at line 276 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandObjects::mBtnShowGroupObjects [protected]

Definition at line 278 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandObjects::mBtnShowOtherObjects [protected]

Definition at line 281 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandObjects::mBtnShowOwnerObjects [protected]

Definition at line 275 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandObjects::mBtnType [protected]

Definition at line 288 of file llfloaterland.h.

Referenced by postBuild().

LLLineEditor* LLPanelLandObjects::mCleanOtherObjectsTime [protected]

Definition at line 284 of file llfloaterland.h.

Referenced by onLostFocus(), postBuild(), and refresh().

S32 LLPanelLandObjects::mColWidth[12] [protected]

Definition at line 299 of file llfloaterland.h.

Referenced by postBuild().

BOOL LLPanelLandObjects::mCurrentSortAscending [protected]

Definition at line 298 of file llfloaterland.h.

Referenced by postBuild(), and sortBtnCore().

U32 LLPanelLandObjects::mCurrentSortColumn [protected]

Definition at line 297 of file llfloaterland.h.

Referenced by postBuild(), and sortBtnCore().

BOOL LLPanelLandObjects::mFirstReply [protected]

Definition at line 301 of file llfloaterland.h.

Referenced by postBuild().

LLTextBox* LLPanelLandObjects::mGroupObjects [protected]

Definition at line 277 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLPointer<LLViewerImage> LLPanelLandObjects::mIconAvatarOffline [protected]

Definition at line 294 of file llfloaterland.h.

Referenced by postBuild().

LLPointer<LLViewerImage> LLPanelLandObjects::mIconAvatarOnline [protected]

Definition at line 293 of file llfloaterland.h.

Referenced by postBuild().

LLPointer<LLViewerImage> LLPanelLandObjects::mIconGroup [protected]

Definition at line 295 of file llfloaterland.h.

Referenced by postBuild().

LLTextBox* LLPanelLandObjects::mObjectContribution [protected]

Definition at line 272 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLTextBox* LLPanelLandObjects::mOtherObjects [protected]

Definition at line 280 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

S32 LLPanelLandObjects::mOtherTime [protected]

Definition at line 285 of file llfloaterland.h.

Referenced by onLostFocus(), and refresh().

LLNameListCtrl* LLPanelLandObjects::mOwnerList [protected]

Definition at line 291 of file llfloaterland.h.

Referenced by postBuild(), refresh(), and sortBtnCore().

LLTextBox* LLPanelLandObjects::mOwnerObjects [protected]

Definition at line 274 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLHandle<LLParcelSelection>& LLPanelLandObjects::mParcel [protected]

Definition at line 308 of file llfloaterland.h.

Referenced by callbackReturnGroupObjects(), callbackReturnOtherObjects(), callbackReturnOwnerObjects(), onClickReturnGroupObjects(), onClickReturnOtherObjects(), onClickReturnOwnerObjects(), onLostFocus(), and refresh().

LLTextBox* LLPanelLandObjects::mParcelObjectBonus [protected]

Definition at line 270 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

S32 LLPanelLandObjects::mSelectedCount [protected]

Definition at line 305 of file llfloaterland.h.

BOOL LLPanelLandObjects::mSelectedIsGroup [protected]

Definition at line 306 of file llfloaterland.h.

LLString LLPanelLandObjects::mSelectedName [protected]

Definition at line 304 of file llfloaterland.h.

LLTextBox* LLPanelLandObjects::mSelectedObjects [protected]

Definition at line 283 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

uuid_list_t LLPanelLandObjects::mSelectedOwners [protected]

Definition at line 303 of file llfloaterland.h.

Referenced by refresh().

LLTextBox* LLPanelLandObjects::mSWTotalObjects [protected]

Definition at line 271 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLTextBox* LLPanelLandObjects::mTotalObjects [protected]

Definition at line 273 of file llfloaterland.h.

Referenced by postBuild(), and refresh().


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