#include <llinventorybridge.h>


Public Member Functions | |
| virtual const LLString & | getPrefix () |
| virtual LLUIImagePtr | getIcon () const |
| virtual void | performAction (LLFolderView *folder, LLInventoryModel *model, LLString action) |
| virtual void | openItem () |
| virtual LLFontGL::StyleFlags | getLabelStyle () const |
| virtual LLString | getLabelSuffix () const |
| virtual void | buildContextMenu (LLMenuGL &menu, U32 flags) |
| virtual BOOL | isItemRemovable () |
| virtual BOOL | renameItem (const LLString &new_name) |
Protected Member Functions | |
| LLObjectBridge (LLInventoryPanel *inventory, const LLUUID &uuid, LLInventoryType::EType type, U32 flags) | |
Protected Attributes | |
| LLInventoryType::EType | mInvType |
| U32 | mAttachPt |
| BOOL | mIsMultiObject |
Static Protected Attributes | |
| static LLString | sPrefix |
| static LLUUID | sContextMenuItemID |
Friends | |
| class | LLInvFVBridge |
Definition at line 516 of file llinventorybridge.h.
| LLObjectBridge::LLObjectBridge | ( | LLInventoryPanel * | inventory, | |
| const LLUUID & | uuid, | |||
| LLInventoryType::EType | type, | |||
| U32 | flags | |||
| ) | [inline, protected] |
Definition at line 532 of file llinventorybridge.h.
References FALSE, LLInventoryItem::II_FLAGS_OBJECT_HAS_MULTIPLE_ITEMS, mAttachPt, mIsMultiObject, and TRUE.
| virtual const LLString& LLObjectBridge::getPrefix | ( | ) | [inline, virtual] |
Reimplemented from LLInvFVBridge.
Definition at line 520 of file llinventorybridge.h.
References sPrefix.
Referenced by renameItem().

| LLUIImagePtr LLObjectBridge::getIcon | ( | ) | const [virtual] |
Reimplemented from LLItemBridge.
Definition at line 3175 of file llinventorybridge.cpp.
References LLAssetType::AT_OBJECT, get_item_icon(), mAttachPt, mInvType, and mIsMultiObject.

| void LLObjectBridge::performAction | ( | LLFolderView * | folder, | |
| LLInventoryModel * | model, | |||
| LLString | action | |||
| ) | [virtual] |
Reimplemented from LLItemBridge.
Definition at line 3183 of file llinventorybridge.cpp.
References _PREHASH_AgentID, _PREHASH_DetachAttachmentIntoInv, _PREHASH_ItemID, _PREHASH_ObjectData, LLMessageSystem::addUUIDFast(), copy_inventory_item(), LLViewerObjectList::findObject(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLSingleton< LLSelectMgr >::getInstance(), LLAgent::getInventoryRootID(), LLInventoryModel::getItem(), LLPermissions::getOwner(), LLInventoryItem::getPermissions(), LLAgent::getRegion(), LLInventoryObject::getUUID(), gFocusMgr, gInventory, gMessageSystem, gObjectList, LLViewerInventoryItem::isComplete(), LLInventoryModel::isObjectDescendentOf(), llendl, llwarns, LLInvFVBridge::mUUID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLUUID::null, NULL, LLItemBridge::performAction(), LLSelectMgr::remove(), rez_attachment(), LLMessageSystem::sendReliable(), and LLFocusMgr::setKeyboardFocus().

| void LLObjectBridge::openItem | ( | void | ) | [virtual] |
Reimplemented from LLInvFVBridge.
Definition at line 3235 of file llinventorybridge.cpp.
References LLInvFVBridge::mUUID, and LLShowProps::showProperties().

| LLFontGL::StyleFlags LLObjectBridge::getLabelStyle | ( | ) | const [virtual] |
Reimplemented from LLInvFVBridge.
Definition at line 3243 of file llinventorybridge.cpp.
References LLFontGL::BOLD, gAgent, LLAgent::getAvatarObject(), LLVOAvatar::isWearingAttachment(), LLInvFVBridge::mUUID, and LLFontGL::NORMAL.

| LLString LLObjectBridge::getLabelSuffix | ( | ) | const [virtual] |
Reimplemented from LLItemBridge.
Definition at line 3256 of file llinventorybridge.cpp.
References gAgent, LLVOAvatar::getAttachedPointName(), LLAgent::getAvatarObject(), LLItemBridge::getLabelSuffix(), LLVOAvatar::isWearingAttachment(), LLInvFVBridge::mUUID, and LLStringBase< char >::toLower().

Reimplemented from LLInvFVBridge.
Definition at line 3329 of file llinventorybridge.cpp.
References LLObservable::addListener(), LLMenuGL::append(), attach_label(), gAgent, LLAgent::getAvatarObject(), LLView::getChildCount(), LLMenuGL::getChildMenuByName(), LLInvFVBridge::getClipboardEntries(), LLViewerJointAttachment::getIsHUDAttachment(), LLItemBridge::getItem(), LLView::getListenerByName(), LLJoint::getName(), hideContextEntries(), LLInvFVBridge::isInTrash(), isItemRemovable(), LLVOAvatar::isWearingAttachment(), LLVOAvatar::mAttachmentPoints, LLInvFVBridge::mInventoryPanel, LLInvFVBridge::mUUID, NULL, and TRUE.

| BOOL LLObjectBridge::isItemRemovable | ( | void | ) | [virtual] |
Reimplemented from LLInvFVBridge.
Definition at line 3167 of file llinventorybridge.cpp.
References FALSE, gAgent, LLAgent::getAvatarObject(), LLInvFVBridge::isItemRemovable(), LLVOAvatar::isWearingAttachment(), and LLInvFVBridge::mUUID.
Referenced by buildContextMenu().


Reimplemented from LLItemBridge.
Definition at line 3412 of file llinventorybridge.cpp.
References LLSelectMgr::addAsIndividual(), LLItemBridge::buildDisplayName(), LLSelectMgr::deselectAll(), FALSE, gAgent, LLAgent::getAvatarObject(), LLSingleton< LLSelectMgr >::getInstance(), LLItemBridge::getItem(), LLInventoryPanel::getModel(), LLInventoryObject::getName(), getPrefix(), LLInventoryObject::getUUID(), LLVOAvatar::getWornAttachment(), LLItemBridge::isItemRenameable(), LLItemBridge::mDisplayName, LLInvFVBridge::mInventoryPanel, LLInvFVBridge::mUUID, LLInventoryModel::notifyObservers(), LLPreview::rename(), SELECT_ALL_TES, LLSelectMgr::selectionSetObjectName(), and LLInventoryModel::updateItem().

friend class LLInvFVBridge [friend] |
Definition at line 518 of file llinventorybridge.h.
LLString LLObjectBridge::sPrefix [static, protected] |
LLUUID LLObjectBridge::sContextMenuItemID [static, protected] |
Definition at line 542 of file llinventorybridge.h.
LLInventoryType::EType LLObjectBridge::mInvType [protected] |
Reimplemented from LLInvFVBridge.
Definition at line 543 of file llinventorybridge.h.
Referenced by getIcon().
U32 LLObjectBridge::mAttachPt [protected] |
BOOL LLObjectBridge::mIsMultiObject [protected] |
1.5.5