#include <llfolderview.h>
Public Member Functions | |
virtual | ~LLFolderViewEventListener (void) |
virtual const LLString & | getName () const =0 |
virtual const LLString & | getDisplayName () const =0 |
virtual const LLUUID & | getUUID () const =0 |
virtual U32 | getCreationDate () const =0 |
virtual PermissionMask | getPermissionMask () const =0 |
virtual LLUIImagePtr | getIcon () const =0 |
virtual LLFontGL::StyleFlags | getLabelStyle () const =0 |
virtual LLString | getLabelSuffix () const =0 |
virtual void | openItem (void)=0 |
virtual void | previewItem (void)=0 |
virtual void | selectItem (void)=0 |
virtual void | showProperties (void)=0 |
virtual BOOL | isItemRenameable () const =0 |
virtual BOOL | renameItem (const LLString &new_name)=0 |
virtual BOOL | isItemMovable (void)=0 |
virtual BOOL | isItemRemovable (void)=0 |
virtual BOOL | removeItem ()=0 |
virtual void | removeBatch (LLDynamicArray< LLFolderViewEventListener * > &batch)=0 |
virtual void | move (LLFolderViewEventListener *parent_listener)=0 |
virtual BOOL | isItemCopyable () const =0 |
virtual BOOL | copyToClipboard () const =0 |
virtual void | cutToClipboard ()=0 |
virtual BOOL | isClipboardPasteable () const =0 |
virtual void | pasteFromClipboard ()=0 |
virtual void | buildContextMenu (LLMenuGL &menu, U32 flags)=0 |
virtual BOOL | isUpToDate () const =0 |
virtual BOOL | hasChildren () const =0 |
virtual LLInventoryType::EType | getInventoryType () const =0 |
virtual void | performAction (LLFolderView *folder, LLInventoryModel *model, LLString action) |
virtual BOOL | startDrag (EDragAndDropType *type, LLUUID *id) const =0 |
virtual BOOL | dragOrDrop (MASK mask, BOOL drop, EDragAndDropType cargo_type, void *cargo_data)=0 |
void | arrangeAndSet (LLFolderViewItem *focus, BOOL set_selection, BOOL take_keyboard_focus=TRUE) |
Definition at line 75 of file llfolderview.h.
virtual LLFolderViewEventListener::~LLFolderViewEventListener | ( | void | ) | [inline, virtual] |
Definition at line 78 of file llfolderview.h.
virtual const LLString& LLFolderViewEventListener::getName | ( | ) | const [pure virtual] |
Implemented in LLInvFVBridge, and LLTaskInvFVBridge.
Referenced by LLFloaterAvatarPicker::doSelectionChange(), and LLFolderViewItem::getName().
virtual const LLString& LLFolderViewEventListener::getDisplayName | ( | ) | const [pure virtual] |
Implemented in LLInvFVBridge, LLItemBridge, LLTaskInvFVBridge, and LLTaskCategoryBridge.
Referenced by LLFolderViewItem::refresh().
virtual const LLUUID& LLFolderViewEventListener::getUUID | ( | ) | const [pure virtual] |
Implemented in LLInvFVBridge, and LLTaskInvFVBridge.
Referenced by LLFolderView::addFolder(), LLFolderViewFolder::destroyView(), LLOpenFolderByID::doFolder(), LLFloaterAvatarPicker::doSelectionChange(), LLFolderViewFolder::extractItem(), LLFolderViewFolder::filter(), LLFolderViewItem::handleHover(), LLFolderViewFolder::handleRightMouseDown(), LLFolderViewFolder::isTrash(), LLFloaterTexturePicker::onSelectionChange(), and LLFloaterLandmark::onSelectionChange().
virtual U32 LLFolderViewEventListener::getCreationDate | ( | ) | const [pure virtual] |
Implemented in LLInvFVBridge, LLItemBridge, and LLTaskInvFVBridge.
Referenced by LLInventoryFilter::check(), and LLFolderViewItem::refresh().
virtual PermissionMask LLFolderViewEventListener::getPermissionMask | ( | ) | const [pure virtual] |
Implemented in LLInvFVBridge, LLItemBridge, and LLTaskInvFVBridge.
Referenced by LLInventoryFilter::check().
virtual LLUIImagePtr LLFolderViewEventListener::getIcon | ( | ) | const [pure virtual] |
Implemented in LLItemBridge, LLFolderBridge, LLScriptBridge, LLTextureBridge, LLSoundBridge, LLLandmarkBridge, LLCallingCardBridge, LLNotecardBridge, LLGestureBridge, LLAnimationBridge, LLObjectBridge, LLLSLTextBridge, LLWearableBridge, LLTaskInvFVBridge, LLTaskCategoryBridge, LLTaskTextureBridge, LLTaskSoundBridge, LLTaskLandmarkBridge, LLTaskCallingCardBridge, LLTaskScriptBridge, LLTaskObjectBridge, LLTaskNotecardBridge, LLTaskGestureBridge, LLTaskAnimationBridge, and LLTaskWearableBridge.
Referenced by LLInventoryPanel::buildNewViews(), and LLFolderViewItem::refresh().
virtual LLFontGL::StyleFlags LLFolderViewEventListener::getLabelStyle | ( | ) | const [pure virtual] |
Implemented in LLInvFVBridge, LLGestureBridge, LLObjectBridge, LLWearableBridge, and LLTaskInvFVBridge.
Referenced by LLFolderViewItem::refresh().
virtual LLString LLFolderViewEventListener::getLabelSuffix | ( | ) | const [pure virtual] |
Implemented in LLInvFVBridge, LLItemBridge, LLCallingCardBridge, LLGestureBridge, LLObjectBridge, LLWearableBridge, and LLTaskInvFVBridge.
Referenced by LLFolderViewItem::refresh().
virtual void LLFolderViewEventListener::openItem | ( | void | ) | [pure virtual] |
Implemented in LLInvFVBridge, LLFolderBridge, LLTextureBridge, LLSoundBridge, LLLandmarkBridge, LLCallingCardBridge, LLNotecardBridge, LLGestureBridge, LLAnimationBridge, LLObjectBridge, LLLSLTextBridge, LLWearableBridge, LLTaskInvFVBridge, LLTaskTextureBridge, LLTaskSoundBridge, LLTaskLSLBridge, LLTaskNotecardBridge, LLTaskGestureBridge, and LLTaskAnimationBridge.
Referenced by LLFolderViewItem::open(), and LLFolderViewFolder::setOpenArrangeRecursively().
virtual void LLFolderViewEventListener::previewItem | ( | void | ) | [pure virtual] |
Implemented in LLInvFVBridge, LLSoundBridge, and LLTaskInvFVBridge.
Referenced by LLFolderViewItem::preview().
virtual void LLFolderViewEventListener::selectItem | ( | void | ) | [pure virtual] |
Implemented in LLItemBridge, LLFolderBridge, and LLTaskInvFVBridge.
Referenced by LLFolderViewFolder::changeSelection(), LLFolderViewItem::changeSelection(), LLFolderViewFolder::setSelection(), and LLFolderViewItem::setSelection().
virtual void LLFolderViewEventListener::showProperties | ( | void | ) | [pure virtual] |
Implemented in LLInvFVBridge, and LLTaskInvFVBridge.
Referenced by LLFolderView::propertiesSelectedItems().
virtual BOOL LLFolderViewEventListener::isItemRenameable | ( | ) | const [pure virtual] |
Implemented in LLInvFVBridge, LLItemBridge, LLFolderBridge, LLTaskInvFVBridge, LLTaskCategoryBridge, and LLTaskCallingCardBridge.
Referenced by LLFolderView::startRenamingSelectedItem().
Implemented in LLItemBridge, LLFolderBridge, LLObjectBridge, LLWearableBridge, LLTaskInvFVBridge, LLTaskCategoryBridge, and LLTaskCallingCardBridge.
Referenced by LLFolderViewItem::rename().
virtual BOOL LLFolderViewEventListener::isItemMovable | ( | void | ) | [pure virtual] |
Implemented in LLInvFVBridge, LLFolderBridge, and LLTaskInvFVBridge.
Referenced by LLFolderViewFolder::getSortGroup(), LLFolderViewFolder::isMovable(), and LLFolderViewItem::isMovable().
virtual BOOL LLFolderViewEventListener::isItemRemovable | ( | void | ) | [pure virtual] |
Implemented in LLInvFVBridge, LLFolderBridge, LLObjectBridge, LLWearableBridge, LLTaskInvFVBridge, and LLTaskCategoryBridge.
Referenced by LLFolderViewFolder::isRemovable(), and LLFolderViewItem::isRemovable().
virtual BOOL LLFolderViewEventListener::removeItem | ( | ) | [pure virtual] |
Implemented in LLItemBridge, LLFolderBridge, LLGestureBridge, LLTaskInvFVBridge, LLTaskLSLBridge, LLTaskNotecardBridge, LLTaskGestureBridge, and LLTaskAnimationBridge.
Referenced by LLFolderViewItem::remove().
virtual void LLFolderViewEventListener::removeBatch | ( | LLDynamicArray< LLFolderViewEventListener * > & | batch | ) | [pure virtual] |
Implemented in LLInvFVBridge, and LLTaskInvFVBridge.
Referenced by LLFolderView::removeSelectedItems().
virtual void LLFolderViewEventListener::move | ( | LLFolderViewEventListener * | parent_listener | ) | [pure virtual] |
Implemented in LLInvFVBridge, and LLTaskInvFVBridge.
virtual BOOL LLFolderViewEventListener::isItemCopyable | ( | ) | const [pure virtual] |
Implemented in LLInvFVBridge, LLItemBridge, and LLTaskInvFVBridge.
Referenced by LLFolderView::canCopy().
virtual BOOL LLFolderViewEventListener::copyToClipboard | ( | ) | const [pure virtual] |
Implemented in LLInvFVBridge, LLItemBridge, and LLTaskInvFVBridge.
Referenced by LLFolderView::copy().
virtual void LLFolderViewEventListener::cutToClipboard | ( | ) | [pure virtual] |
Implemented in LLInvFVBridge, and LLTaskInvFVBridge.
virtual BOOL LLFolderViewEventListener::isClipboardPasteable | ( | ) | const [pure virtual] |
Implemented in LLInvFVBridge, LLFolderBridge, and LLTaskInvFVBridge.
Referenced by LLFolderView::canPaste(), and LLFolderView::paste().
virtual void LLFolderViewEventListener::pasteFromClipboard | ( | ) | [pure virtual] |
Implemented in LLInvFVBridge, LLFolderBridge, and LLTaskInvFVBridge.
Referenced by LLFolderView::paste(), and LLItemBridge::performAction().
virtual void LLFolderViewEventListener::buildContextMenu | ( | LLMenuGL & | menu, | |
U32 | flags | |||
) | [pure virtual] |
Implemented in LLInvFVBridge, LLFolderBridge, LLSoundBridge, LLLandmarkBridge, LLCallingCardBridge, LLGestureBridge, LLAnimationBridge, LLObjectBridge, LLWearableBridge, LLTaskInvFVBridge, LLTaskCategoryBridge, and LLTaskSoundBridge.
Referenced by LLFolderViewItem::buildContextMenu().
virtual BOOL LLFolderViewEventListener::isUpToDate | ( | ) | const [pure virtual] |
Implemented in LLItemBridge, LLFolderBridge, and LLTaskInvFVBridge.
Referenced by LLFolderViewFolder::draw(), and LLFolderViewItem::draw().
virtual BOOL LLFolderViewEventListener::hasChildren | ( | ) | const [pure virtual] |
Implemented in LLItemBridge, LLFolderBridge, LLTaskInvFVBridge, and LLTaskCategoryBridge.
Referenced by LLFolderViewFolder::draw(), and LLFolderViewItem::draw().
virtual LLInventoryType::EType LLFolderViewEventListener::getInventoryType | ( | ) | const [pure virtual] |
Implemented in LLInvFVBridge, and LLTaskInvFVBridge.
Referenced by LLInventoryFilter::check(), LLFloaterAvatarPicker::doSelectionChange(), LLBeginIMSession::handleEvent(), LLFolderView::openSelectedItems(), and LLFolderView::paste().
virtual void LLFolderViewEventListener::performAction | ( | LLFolderView * | folder, | |
LLInventoryModel * | model, | |||
LLString | action | |||
) | [inline, virtual] |
Reimplemented in LLItemBridge, LLFolderBridge, LLCallingCardBridge, LLGestureBridge, LLObjectBridge, LLWearableBridge, LLTaskInvFVBridge, and LLTaskSoundBridge.
Definition at line 107 of file llfolderview.h.
Referenced by doToSelected().
virtual BOOL LLFolderViewEventListener::startDrag | ( | EDragAndDropType * | type, | |
LLUUID * | id | |||
) | const [pure virtual] |
Implemented in LLInvFVBridge, LLTaskInvFVBridge, and LLTaskCategoryBridge.
virtual BOOL LLFolderViewEventListener::dragOrDrop | ( | MASK | mask, | |
BOOL | drop, | |||
EDragAndDropType | cargo_type, | |||
void * | cargo_data | |||
) | [pure virtual] |
Implemented in LLInvFVBridge, LLFolderBridge, LLCallingCardBridge, LLTaskInvFVBridge, and LLTaskCategoryBridge.
Referenced by LLFolderViewFolder::handleDragAndDrop(), LLFolderViewItem::handleDragAndDrop(), and LLFolderViewFolder::handleDragAndDropFromChild().
void LLFolderViewEventListener::arrangeAndSet | ( | LLFolderViewItem * | focus, | |
BOOL | set_selection, | |||
BOOL | take_keyboard_focus = TRUE | |||
) |
---------------------------------------------------------------------------- Class LLFolderViewEventListener ----------------------------------------------------------------------------
Definition at line 4471 of file llfolderview.cpp.
References LLFolderViewItem::getParentFolder(), LLFolderViewItem::getRoot(), LLFolderViewFolder::requestArrange(), LLFolderView::scrollToShowSelection(), LLFolderViewItem::setSelectionFromRoot(), and TRUE.
Referenced by LLInventoryPanel::setSelection().