LLInvFVBridge Class Reference

#include <llinventorybridge.h>

Inheritance diagram for LLInvFVBridge:

Inheritance graph
[legend]
Collaboration diagram for LLInvFVBridge:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~LLInvFVBridge ()
virtual const LLUUIDgetUUID () const
virtual const LLStringgetPrefix ()
virtual void restoreItem ()
virtual const LLStringgetName () const
virtual const LLStringgetDisplayName () const
virtual PermissionMask getPermissionMask () const
virtual U32 getCreationDate () const
virtual LLFontGL::StyleFlags getLabelStyle () const
virtual LLString getLabelSuffix () const
virtual void openItem ()
virtual void previewItem ()
virtual void showProperties ()
virtual BOOL isItemRenameable () const
virtual BOOL isItemRemovable ()
virtual BOOL isItemMovable ()
virtual void removeBatch (LLDynamicArray< LLFolderViewEventListener * > &batch)
virtual void move (LLFolderViewEventListener *new_parent_bridge)
virtual BOOL isItemCopyable () const
virtual BOOL copyToClipboard () const
virtual void cutToClipboard ()
virtual BOOL isClipboardPasteable () const
virtual void pasteFromClipboard ()
void getClipboardEntries (bool show_asset_id, std::vector< LLString > &items, std::vector< LLString > &disabled_items, U32 flags)
virtual void buildContextMenu (LLMenuGL &menu, U32 flags)
virtual BOOL startDrag (EDragAndDropType *type, LLUUID *id) const
virtual BOOL dragOrDrop (MASK mask, BOOL drop, EDragAndDropType cargo_type, void *cargo_data)
virtual LLInventoryType::EType getInventoryType () const
virtual void clearDisplayName ()

Static Public Member Functions

static LLInvFVBridgecreateBridge (LLAssetType::EType asset_type, LLInventoryType::EType inv_type, LLInventoryPanel *inventory, const LLUUID &uuid, U32 flags=0x00)

Protected Member Functions

 LLInvFVBridge (LLInventoryPanel *inventory, const LLUUID &uuid)
LLInventoryObjectgetInventoryObject () const
BOOL isInTrash () const
BOOL isAgentInventory () const
virtual BOOL isItemPermissive () const
void removeBatchNoCheck (LLDynamicArray< LLFolderViewEventListener * > &batch)

Static Protected Member Functions

static void changeItemParent (LLInventoryModel *model, LLViewerInventoryItem *item, const LLUUID &new_parent, BOOL restamp)
static void changeCategoryParent (LLInventoryModel *model, LLViewerInventoryCategory *item, const LLUUID &new_parent, BOOL restamp)

Protected Attributes

LLInventoryPanelmInventoryPanel
LLUUID mUUID
LLInventoryType::EType mInvType


Detailed Description

Definition at line 146 of file llinventorybridge.h.


Constructor & Destructor Documentation

virtual LLInvFVBridge::~LLInvFVBridge (  )  [inline, virtual]

Definition at line 156 of file llinventorybridge.h.

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

Definition at line 201 of file llinventorybridge.h.


Member Function Documentation

LLInvFVBridge * LLInvFVBridge::createBridge ( LLAssetType::EType  asset_type,
LLInventoryType::EType  inv_type,
LLInventoryPanel inventory,
const LLUUID uuid,
U32  flags = 0x00 
) [static]

virtual const LLUUID& LLInvFVBridge::getUUID (  )  const [inline, virtual]

virtual const LLString& LLInvFVBridge::getPrefix (  )  [inline, virtual]

Reimplemented in LLTextureBridge, LLSoundBridge, LLLandmarkBridge, LLCallingCardBridge, LLNotecardBridge, LLGestureBridge, LLAnimationBridge, LLObjectBridge, and LLLSLTextBridge.

Definition at line 160 of file llinventorybridge.h.

References LLStringBase< char >::null.

Referenced by LLItemBridge::renameItem().

Here is the caller graph for this function:

virtual void LLInvFVBridge::restoreItem (  )  [inline, virtual]

Reimplemented in LLItemBridge, and LLFolderBridge.

Definition at line 161 of file llinventorybridge.h.

const LLString & LLInvFVBridge::getName ( void   )  const [virtual]

Implements LLFolderViewEventListener.

Definition at line 160 of file llinventorybridge.cpp.

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

Referenced by getDisplayName(), and LLSoundBridge::openSoundPreview().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements LLFolderViewEventListener.

Reimplemented in LLItemBridge.

Definition at line 170 of file llinventorybridge.cpp.

References getName().

Referenced by LLInventoryPanel::buildNewViews().

Here is the call graph for this function:

Here is the caller graph for this function:

PermissionMask LLInvFVBridge::getPermissionMask (  )  const [virtual]

Implements LLFolderViewEventListener.

Reimplemented in LLItemBridge.

Definition at line 176 of file llinventorybridge.cpp.

References PERM_ALL.

U32 LLInvFVBridge::getCreationDate (  )  const [virtual]

Implements LLFolderViewEventListener.

Reimplemented in LLItemBridge.

Definition at line 183 of file llinventorybridge.cpp.

Referenced by LLInventoryPanel::buildNewViews().

Here is the caller graph for this function:

virtual LLFontGL::StyleFlags LLInvFVBridge::getLabelStyle (  )  const [inline, virtual]

Implements LLFolderViewEventListener.

Reimplemented in LLGestureBridge, LLObjectBridge, and LLWearableBridge.

Definition at line 168 of file llinventorybridge.h.

References LLFontGL::NORMAL.

virtual LLString LLInvFVBridge::getLabelSuffix (  )  const [inline, virtual]

virtual void LLInvFVBridge::openItem ( void   )  [inline, virtual]

virtual void LLInvFVBridge::previewItem ( void   )  [inline, virtual]

Implements LLFolderViewEventListener.

Reimplemented in LLSoundBridge.

Definition at line 174 of file llinventorybridge.h.

References openItem().

Here is the call graph for this function:

void LLInvFVBridge::showProperties ( void   )  [virtual]

Implements LLFolderViewEventListener.

Definition at line 207 of file llinventorybridge.cpp.

References mUUID, and LLShowProps::showProperties().

Referenced by LLFolderBridge::performAction(), and LLItemBridge::performAction().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual BOOL LLInvFVBridge::isItemRenameable (  )  const [inline, virtual]

Implements LLFolderViewEventListener.

Reimplemented in LLItemBridge, and LLFolderBridge.

Definition at line 176 of file llinventorybridge.h.

References TRUE.

Referenced by getClipboardEntries().

Here is the caller graph for this function:

BOOL LLInvFVBridge::isItemRemovable ( void   )  [virtual]

BOOL LLInvFVBridge::isItemMovable ( void   )  [virtual]

Implements LLFolderViewEventListener.

Reimplemented in LLFolderBridge.

Definition at line 201 of file llinventorybridge.cpp.

References TRUE.

void LLInvFVBridge::removeBatch ( LLDynamicArray< LLFolderViewEventListener * > &  batch  )  [virtual]

virtual void LLInvFVBridge::move ( LLFolderViewEventListener new_parent_bridge  )  [inline, virtual]

Implements LLFolderViewEventListener.

Definition at line 182 of file llinventorybridge.h.

virtual BOOL LLInvFVBridge::isItemCopyable (  )  const [inline, virtual]

Implements LLFolderViewEventListener.

Reimplemented in LLItemBridge.

Definition at line 183 of file llinventorybridge.h.

References FALSE.

Referenced by getClipboardEntries().

Here is the caller graph for this function:

virtual BOOL LLInvFVBridge::copyToClipboard (  )  const [inline, virtual]

Implements LLFolderViewEventListener.

Reimplemented in LLItemBridge.

Definition at line 184 of file llinventorybridge.h.

References FALSE.

virtual void LLInvFVBridge::cutToClipboard (  )  [inline, virtual]

Implements LLFolderViewEventListener.

Definition at line 185 of file llinventorybridge.h.

BOOL LLInvFVBridge::isClipboardPasteable (  )  const [virtual]

Implements LLFolderViewEventListener.

Reimplemented in LLFolderBridge.

Definition at line 366 of file llinventorybridge.cpp.

References FALSE, gAgent, LLAgent::getInventoryRootID(), LLInventoryPanel::getModel(), LLInventoryClipboard::hasContents(), LLInventoryClipboard::instance(), LLInventoryModel::isObjectDescendentOf(), mInventoryPanel, mUUID, and TRUE.

Referenced by getClipboardEntries().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void LLInvFVBridge::pasteFromClipboard (  )  [inline, virtual]

Implements LLFolderViewEventListener.

Reimplemented in LLFolderBridge.

Definition at line 187 of file llinventorybridge.h.

void LLInvFVBridge::getClipboardEntries ( bool  show_asset_id,
std::vector< LLString > &  items,
std::vector< LLString > &  disabled_items,
U32  flags 
)

void LLInvFVBridge::buildContextMenu ( LLMenuGL menu,
U32  flags 
) [virtual]

BOOL LLInvFVBridge::startDrag ( EDragAndDropType type,
LLUUID id 
) const [virtual]

virtual BOOL LLInvFVBridge::dragOrDrop ( MASK  mask,
BOOL  drop,
EDragAndDropType  cargo_type,
void *  cargo_data 
) [inline, virtual]

Implements LLFolderViewEventListener.

Reimplemented in LLFolderBridge, and LLCallingCardBridge.

Definition at line 192 of file llinventorybridge.h.

References FALSE.

virtual LLInventoryType::EType LLInvFVBridge::getInventoryType (  )  const [inline, virtual]

Implements LLFolderViewEventListener.

Definition at line 195 of file llinventorybridge.h.

References mInvType.

Referenced by LLBeginIMSession::handleEvent().

Here is the caller graph for this function:

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

Reimplemented in LLItemBridge.

Definition at line 198 of file llinventorybridge.h.

Referenced by LLInventoryPanel::modelChanged().

Here is the caller graph for this function:

LLInventoryObject * LLInvFVBridge::getInventoryObject (  )  const [protected]

Definition at line 520 of file llinventorybridge.cpp.

References LLInventoryPanel::getModel(), LLInventoryModel::getObject(), mInventoryPanel, mUUID, and NULL.

Referenced by getName(), LLFolderBridge::isItemMovable(), and startDrag().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLInvFVBridge::isInTrash (  )  const [protected]

BOOL LLInvFVBridge::isAgentInventory (  )  const [protected]

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

Reimplemented in LLItemBridge.

Definition at line 547 of file llinventorybridge.cpp.

References FALSE.

Referenced by getClipboardEntries().

Here is the caller graph for this function:

void LLInvFVBridge::changeItemParent ( LLInventoryModel model,
LLViewerInventoryItem item,
const LLUUID new_parent,
BOOL  restamp 
) [static, protected]

void LLInvFVBridge::changeCategoryParent ( LLInventoryModel model,
LLViewerInventoryCategory item,
const LLUUID new_parent,
BOOL  restamp 
) [static, protected]

void LLInvFVBridge::removeBatchNoCheck ( LLDynamicArray< LLFolderViewEventListener * > &  batch  )  [protected]


Member Data Documentation

Definition at line 222 of file llinventorybridge.h.

Referenced by LLObjectBridge::buildContextMenu(), LLFolderBridge::buildContextMenu(), LLFolderBridge::checkFolderForContentsOfType(), LLItemBridge::copyToClipboard(), LLFolderBridge::dragCategoryIntoFolder(), LLFolderBridge::dragItemIntoFolder(), LLWearableBridge::editOnAvatar(), LLFolderBridge::folderOptionsMenu(), LLFolderBridge::getCategory(), getInventoryObject(), LLItemBridge::getItem(), LLWearableBridge::getLabelStyle(), LLObjectBridge::getLabelStyle(), LLGestureBridge::getLabelStyle(), LLWearableBridge::getLabelSuffix(), LLObjectBridge::getLabelSuffix(), LLGestureBridge::getLabelSuffix(), getUUID(), LLFolderBridge::hasChildren(), isAgentInventory(), isClipboardPasteable(), isInTrash(), LLWearableBridge::isItemRemovable(), LLObjectBridge::isItemRemovable(), LLFolderBridge::isItemRemovable(), isItemRemovable(), LLFolderBridge::isUpToDate(), LLWearableBridge::openItem(), LLLSLTextBridge::openItem(), LLObjectBridge::openItem(), LLAnimationBridge::openItem(), LLGestureBridge::openItem(), LLTextureBridge::openItem(), LLFolderBridge::openItem(), LLSoundBridge::openSoundPreview(), LLFolderBridge::pasteFromClipboard(), LLWearableBridge::performAction(), LLObjectBridge::performAction(), LLAnimationBridge::performAction(), LLGestureBridge::performAction(), LLFolderBridge::performAction(), LLItemBridge::performAction(), LLCallingCardBridge::refreshFolderViewItem(), LLGestureBridge::removeItem(), LLFolderBridge::removeItem(), LLItemBridge::removeItem(), LLWearableBridge::renameItem(), LLObjectBridge::renameItem(), LLItemBridge::renameItem(), and showProperties().

Reimplemented in LLTextureBridge, LLObjectBridge, and LLWearableBridge.

Definition at line 223 of file llinventorybridge.h.

Referenced by createBridge(), and getInventoryType().


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

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