LLPanelObjectTools Class Reference

#include <llfloatergodtools.h>

Inheritance diagram for LLPanelObjectTools:

Inheritance graph
[legend]
Collaboration diagram for LLPanelObjectTools:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelObjectTools (const std::string &name)
 ~LLPanelObjectTools ()
BOOL postBuild ()
void refresh ()
void setTargetAvatar (const LLUUID &target_id)
U32 computeRegionFlags (U32 initial_flags) const
void clearAllWidgets ()
void enableAllWidgets ()
void setCheckFlags (U32 flags)

Static Public Member Functions

static void onChangeAnything (LLUICtrl *ctrl, void *data)
static void onApplyChanges (void *data)
static void onClickSet (void *data)
static void callbackAvatarID (const std::vector< std::string > &names, const std::vector< LLUUID > &ids, void *data)
static void onClickDeletePublicOwnedBy (void *data)
static void onClickDeleteAllScriptedOwnedBy (void *data)
static void onClickDeleteAllOwnedBy (void *data)
static void callbackSimWideDeletes (S32 option, void *userdata)
static void onGetTopColliders (void *data)
static void onGetTopScripts (void *data)
static void onGetScriptDigest (void *data)
static void onClickSetBySelection (void *data)

Protected Attributes

LLUUID mTargetAvatar
U32 mSimWideDeletesFlags

Detailed Description

Definition at line 219 of file llfloatergodtools.h.


Constructor & Destructor Documentation

LLPanelObjectTools::LLPanelObjectTools ( const std::string &  name  ) 

Definition at line 1027 of file llfloatergodtools.cpp.

LLPanelObjectTools::~LLPanelObjectTools (  ) 

Definition at line 1033 of file llfloatergodtools.cpp.


Member Function Documentation

void LLPanelObjectTools::callbackAvatarID ( const std::vector< std::string > &  names,
const std::vector< LLUUID > &  ids,
void data 
) [static]

Definition at line 1277 of file llfloatergodtools.cpp.

References LLPanel::childSetValue(), mTargetAvatar, and refresh().

Referenced by onClickSet().

void LLPanelObjectTools::callbackSimWideDeletes ( S32  option,
void userdata 
) [static]

Definition at line 1238 of file llfloatergodtools.cpp.

References LLUUID::isNull(), mSimWideDeletesFlags, mTargetAvatar, and send_sim_wide_deletes().

Referenced by onClickDeleteAllOwnedBy(), onClickDeleteAllScriptedOwnedBy(), and onClickDeletePublicOwnedBy().

void LLPanelObjectTools::clearAllWidgets (  ) 

Definition at line 1117 of file llfloatergodtools.cpp.

References LLPanel::childDisable(), LLPanel::childSetValue(), and FALSE.

Referenced by LLFloaterGodTools::sendRegionInfoRequest().

U32 LLPanelObjectTools::computeRegionFlags ( U32  initial_flags  )  const

Definition at line 1079 of file llfloatergodtools.cpp.

References LLPanel::childGetValue(), REGION_FLAGS_SKIP_COLLISIONS, REGION_FLAGS_SKIP_PHYSICS, and REGION_FLAGS_SKIP_SCRIPTS.

Referenced by LLFloaterGodTools::computeRegionFlags().

void LLPanelObjectTools::enableAllWidgets (  ) 

Definition at line 1130 of file llfloatergodtools.cpp.

References LLPanel::childDisable(), and LLPanel::childEnable().

Referenced by LLFloaterGodTools::processRegionInfo().

void LLPanelObjectTools::onApplyChanges ( void data  )  [static]

Definition at line 1300 of file llfloatergodtools.cpp.

References gAgent, LLAgent::getRegion(), LLAgent::isGodlike(), LLFloaterGodTools::sendGodUpdateRegionInfo(), and sGodTools.

Referenced by postBuild().

void LLPanelObjectTools::onChangeAnything ( LLUICtrl ctrl,
void data 
) [static]

Definition at line 1288 of file llfloatergodtools.cpp.

References gAgent, LLAgent::isGodlike(), and sGodTools.

Referenced by postBuild().

void LLPanelObjectTools::onClickDeleteAllOwnedBy ( void data  )  [static]

Definition at line 1219 of file llfloatergodtools.cpp.

References LLViewerWindow::alertXml(), LLSD::asString(), callbackSimWideDeletes(), LLPanel::childGetValue(), gViewerWindow, LLUUID::isNull(), mSimWideDeletesFlags, and mTargetAvatar.

Referenced by postBuild().

void LLPanelObjectTools::onClickDeleteAllScriptedOwnedBy ( void data  )  [static]

Definition at line 1200 of file llfloatergodtools.cpp.

References LLViewerWindow::alertXml(), LLSD::asString(), callbackSimWideDeletes(), LLPanel::childGetValue(), gViewerWindow, LLUUID::isNull(), mSimWideDeletesFlags, mTargetAvatar, and SWD_SCRIPTED_ONLY.

Referenced by postBuild().

void LLPanelObjectTools::onClickDeletePublicOwnedBy ( void data  )  [static]

Definition at line 1180 of file llfloatergodtools.cpp.

References LLViewerWindow::alertXml(), LLSD::asString(), callbackSimWideDeletes(), LLPanel::childGetValue(), gViewerWindow, LLUUID::isNull(), mSimWideDeletesFlags, mTargetAvatar, SWD_OTHERS_LAND_ONLY, and SWD_SCRIPTED_ONLY.

Referenced by postBuild().

void LLPanelObjectTools::onClickSet ( void data  )  [static]

Definition at line 1251 of file llfloatergodtools.cpp.

References LLFloater::addDependentFloater(), callbackAvatarID(), LLFloaterView::getParentFloater(), gFloaterView, and LLFloaterAvatarPicker::show().

Referenced by postBuild().

void LLPanelObjectTools::onClickSetBySelection ( void data  )  [static]

Definition at line 1258 of file llfloatergodtools.cpp.

References LLPanel::childSetValue(), LLSelectMgr::getSelection(), gSelectMgr, LLSelectNode::mName, mTargetAvatar, NULL, LLSelectMgr::selectGetOwner(), and TRUE.

void LLPanelObjectTools::onGetScriptDigest ( void data  )  [static]

Definition at line 1169 of file llfloatergodtools.cpp.

References gAgent, LLAgent::getRegionHost(), LLAgent::isGodlike(), LLPanelRequestTools::sendRequest(), and sGodTools.

Referenced by postBuild().

void LLPanelObjectTools::onGetTopColliders ( void data  )  [static]

Definition at line 1145 of file llfloatergodtools.cpp.

References gAgent, LLAgent::isGodlike(), NULL, LLFloaterTopObjects::onRefresh(), LLFloaterTopObjects::setMode(), sGodTools, LLFloaterTopObjects::show(), and STAT_REPORT_TOP_COLLIDERS.

Referenced by postBuild().

void LLPanelObjectTools::onGetTopScripts ( void data  )  [static]

Definition at line 1157 of file llfloatergodtools.cpp.

References gAgent, LLAgent::isGodlike(), NULL, LLFloaterTopObjects::onRefresh(), LLFloaterTopObjects::setMode(), sGodTools, LLFloaterTopObjects::show(), and STAT_REPORT_TOP_SCRIPTS.

Referenced by postBuild().

BOOL LLPanelObjectTools::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 1038 of file llfloatergodtools.cpp.

References LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), onApplyChanges(), onChangeAnything(), onClickDeleteAllOwnedBy(), onClickDeleteAllScriptedOwnedBy(), onClickDeletePublicOwnedBy(), onClickSet(), onGetScriptDigest(), onGetTopColliders(), onGetTopScripts(), and TRUE.

void LLPanelObjectTools::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 1069 of file llfloatergodtools.cpp.

References LLPanel::childSetText(), gAgent, LLViewerRegion::getName(), and LLAgent::getRegion().

Referenced by callbackAvatarID().

void LLPanelObjectTools::setCheckFlags ( U32  flags  ) 

Definition at line 1109 of file llfloatergodtools.cpp.

References LLPanel::childSetValue(), FALSE, REGION_FLAGS_SKIP_COLLISIONS, REGION_FLAGS_SKIP_PHYSICS, REGION_FLAGS_SKIP_SCRIPTS, and TRUE.

Referenced by LLFloaterGodTools::processRegionInfo().

void LLPanelObjectTools::setTargetAvatar ( const LLUUID target_id  ) 

Definition at line 1059 of file llfloatergodtools.cpp.

References LLPanel::childSetValue(), LLUUID::isNull(), and mTargetAvatar.

Referenced by LLFloaterGodTools::show().


Member Data Documentation

U32 LLPanelObjectTools::mSimWideDeletesFlags [protected]

Definition at line 253 of file llfloatergodtools.h.

Referenced by callbackSimWideDeletes(), onClickDeleteAllOwnedBy(), onClickDeleteAllScriptedOwnedBy(), and onClickDeletePublicOwnedBy().

LLUUID LLPanelObjectTools::mTargetAvatar [protected]

Definition at line 250 of file llfloatergodtools.h.

Referenced by callbackAvatarID(), callbackSimWideDeletes(), onClickDeleteAllOwnedBy(), onClickDeleteAllScriptedOwnedBy(), onClickDeletePublicOwnedBy(), onClickSetBySelection(), and setTargetAvatar().


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