#include <llinventorybridge.h>
Inheritance diagram for LLObjectBridge:


| Public Member Functions | |
| virtual const LLString & | getPrefix () | 
| virtual LLViewerImage * | 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 515 of file llinventorybridge.h.
| LLObjectBridge::LLObjectBridge | ( | LLInventoryPanel * | inventory, | |
| const LLUUID & | uuid, | |||
| LLInventoryType::EType | type, | |||
| U32 | flags | |||
| ) |  [inline, protected] | 
Definition at line 531 of file llinventorybridge.h.
References FALSE, LLInventoryItem::II_FLAGS_OBJECT_HAS_MULTIPLE_ITEMS, mAttachPt, mIsMultiObject, and TRUE.
Reimplemented from LLInvFVBridge.
Definition at line 3279 of file llinventorybridge.cpp.
References LLObservable::addListener(), LLMenuGL::append(), attach_label(), gAgent, LLAgent::getAvatarObject(), LLView::getChildCount(), LLMenuGL::getChildMenuByName(), LLInvFVBridge::getClipboardEntries(), LLItemBridge::getItem(), LLView::getListenerByName(), hideContextEntries(), LLInvFVBridge::isInTrash(), isItemRemovable(), LLVOAvatar::isWearingAttachment(), LLVOAvatar::mAttachmentPoints, LLInvFVBridge::mInventoryPanel, LLInvFVBridge::mUUID, NULL, sContextMenuItemID, and TRUE.
| LLViewerImage * LLObjectBridge::getIcon | ( | ) | const  [virtual] | 
Reimplemented from LLItemBridge.
Definition at line 3137 of file llinventorybridge.cpp.
References LLAssetType::AT_OBJECT, get_item_icon(), mAttachPt, mInvType, and mIsMultiObject.
| LLFontGL::StyleFlags LLObjectBridge::getLabelStyle | ( | ) | const  [virtual] | 
Reimplemented from LLInvFVBridge.
Definition at line 3205 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 3218 of file llinventorybridge.cpp.
References gAgent, LLVOAvatar::getAttachedPointName(), LLAgent::getAvatarObject(), LLItemBridge::getLabelSuffix(), LLVOAvatar::isWearingAttachment(), LLInvFVBridge::mUUID, and LLStringBase< char >::toLower().
| virtual const LLString& LLObjectBridge::getPrefix | ( | ) |  [inline, virtual] | 
Reimplemented from LLInvFVBridge.
Definition at line 519 of file llinventorybridge.h.
References sPrefix.
Referenced by renameItem().
| BOOL LLObjectBridge::isItemRemovable | ( | ) |  [virtual] | 
Reimplemented from LLInvFVBridge.
Definition at line 3129 of file llinventorybridge.cpp.
References FALSE, gAgent, LLAgent::getAvatarObject(), LLInvFVBridge::isItemRemovable(), LLVOAvatar::isWearingAttachment(), and LLInvFVBridge::mUUID.
Referenced by buildContextMenu().
| void LLObjectBridge::openItem | ( | ) |  [virtual] | 
Reimplemented from LLInvFVBridge.
Definition at line 3197 of file llinventorybridge.cpp.
References LLInvFVBridge::mUUID, and LLShowProps::showProperties().
| void LLObjectBridge::performAction | ( | LLFolderView * | folder, | |
| LLInventoryModel * | model, | |||
| LLString | action | |||
| ) |  [virtual] | 
Reimplemented from LLItemBridge.
Definition at line 3145 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(), LLAgent::getInventoryRootID(), LLInventoryModel::getItem(), LLPermissions::getOwner(), LLInventoryItem::getPermissions(), LLAgent::getRegion(), LLInventoryObject::getUUID(), gFocusMgr, gInventory, gMessageSystem, gObjectList, gSelectMgr, 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().
Reimplemented from LLItemBridge.
Definition at line 3361 of file llinventorybridge.cpp.
References LLSelectMgr::addAsIndividual(), LLItemBridge::buildDisplayName(), LLSelectMgr::deselectAll(), FALSE, gAgent, LLAgent::getAvatarObject(), LLItemBridge::getItem(), LLInventoryPanel::getModel(), LLInventoryObject::getName(), getPrefix(), LLInventoryObject::getUUID(), LLVOAvatar::getWornAttachment(), gSelectMgr, 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 517 of file llinventorybridge.h.
| U32 LLObjectBridge::mAttachPt  [protected] | 
| LLInventoryType::EType LLObjectBridge::mInvType  [protected] | 
Reimplemented from LLInvFVBridge.
Definition at line 542 of file llinventorybridge.h.
Referenced by getIcon().
| BOOL LLObjectBridge::mIsMultiObject  [protected] | 
| LLUUID LLObjectBridge::sContextMenuItemID  [static, protected] | 
| LLString LLObjectBridge::sPrefix  [static, protected] | 
 1.4.7
 1.4.7