LLItemBridge Class Reference

#include <llinventorybridge.h>

Inheritance diagram for LLItemBridge:

Inheritance graph
[legend]
Collaboration diagram for LLItemBridge:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLItemBridge (LLInventoryPanel *inventory, const LLUUID &uuid)
virtual void performAction (LLFolderView *folder, LLInventoryModel *model, LLString action)
virtual void selectItem ()
virtual void restoreItem ()
virtual LLUIImagePtr getIcon () const
virtual const LLStringgetDisplayName () const
virtual LLString getLabelSuffix () const
virtual PermissionMask getPermissionMask () const
virtual U32 getCreationDate () const
virtual BOOL isItemRenameable () const
virtual BOOL renameItem (const LLString &new_name)
virtual BOOL removeItem ()
virtual BOOL isItemCopyable () const
virtual BOOL copyToClipboard () const
virtual BOOL hasChildren () const
virtual BOOL isUpToDate () const
virtual void clearDisplayName ()
LLViewerInventoryItemgetItem () const

Protected Member Functions

virtual BOOL isItemPermissive () const

Static Protected Member Functions

static void buildDisplayName (LLInventoryItem *item, LLString &name)

Protected Attributes

LLString mDisplayName


Detailed Description

Definition at line 227 of file llinventorybridge.h.


Constructor & Destructor Documentation

LLItemBridge::LLItemBridge ( LLInventoryPanel inventory,
const LLUUID uuid 
) [inline]

Definition at line 230 of file llinventorybridge.h.


Member Function Documentation

void LLItemBridge::performAction ( LLFolderView folder,
LLInventoryModel model,
LLString  action 
) [virtual]

void LLItemBridge::selectItem ( void   )  [virtual]

Implements LLFolderViewEventListener.

Definition at line 790 of file llinventorybridge.cpp.

References LLViewerInventoryItem::fetchFromServer(), getItem(), and LLViewerInventoryItem::isComplete().

Here is the call graph for this function:

void LLItemBridge::restoreItem (  )  [virtual]

Reimplemented from LLInvFVBridge.

Definition at line 799 of file llinventorybridge.cpp.

References LLInvFVBridge::changeItemParent(), FALSE, LLInventoryModel::findCategoryUUIDForType(), getItem(), LLInventoryPanel::getModel(), LLInventoryObject::getType(), and LLInvFVBridge::mInventoryPanel.

Referenced by performAction().

Here is the call graph for this function:

Here is the caller graph for this function:

LLUIImagePtr LLItemBridge::getIcon (  )  const [virtual]

const LLString & LLItemBridge::getDisplayName (  )  const [virtual]

Reimplemented from LLInvFVBridge.

Definition at line 835 of file llinventorybridge.cpp.

References buildDisplayName(), getItem(), and mDisplayName.

Here is the call graph for this function:

LLString LLItemBridge::getLabelSuffix (  )  const [virtual]

PermissionMask LLItemBridge::getPermissionMask (  )  const [virtual]

U32 LLItemBridge::getCreationDate (  )  const [virtual]

Reimplemented from LLInvFVBridge.

Definition at line 897 of file llinventorybridge.cpp.

References LLInventoryItem::getCreationDate(), and getItem().

Here is the call graph for this function:

BOOL LLItemBridge::isItemRenameable (  )  const [virtual]

Reimplemented from LLInvFVBridge.

Definition at line 908 of file llinventorybridge.cpp.

References LLPermissions::allowModifyBy(), FALSE, gAgent, LLAgent::getID(), getItem(), and LLInventoryItem::getPermissions().

Referenced by LLObjectBridge::renameItem(), and renameItem().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLItemBridge::renameItem ( const LLString new_name  )  [virtual]

BOOL LLItemBridge::removeItem (  )  [virtual]

BOOL LLItemBridge::isItemCopyable (  )  const [virtual]

Reimplemented from LLInvFVBridge.

Definition at line 968 of file llinventorybridge.cpp.

References LLPermissions::allowCopyBy(), FALSE, gAgent, LLAgent::getID(), getItem(), and LLInventoryItem::getPermissions().

Referenced by copyToClipboard().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLItemBridge::copyToClipboard (  )  const [virtual]

Reimplemented from LLInvFVBridge.

Definition at line 977 of file llinventorybridge.cpp.

References LLInventoryClipboard::add(), FALSE, LLInventoryClipboard::instance(), isItemCopyable(), LLInvFVBridge::mUUID, and TRUE.

Referenced by performAction().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual BOOL LLItemBridge::hasChildren (  )  const [inline, virtual]

Implements LLFolderViewEventListener.

Definition at line 248 of file llinventorybridge.h.

References FALSE.

virtual BOOL LLItemBridge::isUpToDate (  )  const [inline, virtual]

Implements LLFolderViewEventListener.

Definition at line 249 of file llinventorybridge.h.

References TRUE.

virtual void LLItemBridge::clearDisplayName (  )  [inline, virtual]

Reimplemented from LLInvFVBridge.

Definition at line 252 of file llinventorybridge.h.

References mDisplayName.

LLViewerInventoryItem * LLItemBridge::getItem (  )  const

BOOL LLItemBridge::isItemPermissive (  )  const [protected, virtual]

Reimplemented from LLInvFVBridge.

Definition at line 998 of file llinventorybridge.cpp.

References FALSE, getItem(), LLPermissions::getMaskBase(), LLInventoryItem::getPermissions(), PERM_ITEM_UNRESTRICTED, and TRUE.

Here is the call graph for this function:

void LLItemBridge::buildDisplayName ( LLInventoryItem item,
LLString name 
) [static, protected]

Definition at line 844 of file llinventorybridge.cpp.

References LLInventoryObject::getName(), and LLStringBase< char >::null.

Referenced by getDisplayName(), LLObjectBridge::renameItem(), and renameItem().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

LLString LLItemBridge::mDisplayName [mutable, protected]


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:50:49 2008 for SecondLife by  doxygen 1.5.5