OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
uiODDisplayTreeItem Class Reference
Inheritance diagram for uiODDisplayTreeItem:
[legend]

Public Member Functions

 uiODDisplayTreeItem ()
 
virtual ~uiODDisplayTreeItem ()
 
void updateColumnText (int)
 
bool showSubMenu ()
 
virtual bool actModeWhenSelected () const
 
void updateCheckStatus ()
 
int displayID () const
 
uiODDataTreeItemaddAttribItem ()
 
void prepareForShutdown ()
 
void handleAddAttrib ()
 
virtual void setOnlyAtSectionsDisplay (bool)
 
virtual bool displayedOnlyAtSections () const
 
virtual bool isOnlyAtSections () const
 
- Public Member Functions inherited from uiODTreeItem
 uiODTreeItem (const uiString &)
 
bool anyButtonClick (uiTreeViewItem *)
 
int sceneID () const
 
- Public Member Functions inherited from uiTreeItem
 uiTreeItem (const uiString &nm=uiString::emptyString())
 
virtual ~uiTreeItem ()
 
void setName (const uiString &nm)
 
uiString name () const
 
bool areAllParentsChecked ()
 
void entryInEditMode (int col)
 
virtual bool select ()
 
virtual bool isSelected () const
 
void setChecked (bool yn, bool trigger=false)
 
virtual bool isChecked () const
 
NotifierAccesscheckStatusChange ()
 
NotifierAccesskeyPressed ()
 
void expand ()
 
bool isExpanded () const
 
void collapse ()
 
bool isCollapsed () const
 
bool hasChildren () const
 
bool hasGrandChildren () const
 
bool allChildrenExpanded () const
 
bool allChildrenCollapsed () const
 
bool allChildrenChecked () const
 
bool allChildrenUnchecked () const
 
virtual int siblingIndex () const
 
virtual uiTreeItemsiblingAbove ()
 
virtual uiTreeItemsiblingBelow ()
 
virtual void moveItem (uiTreeItem *after)
 
virtual void moveItemToTop ()
 
uiTreeItemlastChild ()
 
int nrChildren () const
 
const uiTreeItemgetChild (int) const
 
uiTreeItemgetChild (int)
 
ObjectSet< uiTreeItem > & getChildren ()
 
const ObjectSet< uiTreeItem > & getChildren () const
 
virtual bool addChild (uiTreeItem *child, bool below)
 
virtual void removeChild (uiTreeItem *)
 
virtual void removeAllChildren ()
 
virtual const uiTreeItemfindChild (const char *name) const
 
virtual const uiTreeItemfindChild (int selkey) const
 
virtual uiTreeItemfindChild (const char *name)
 
virtual uiTreeItemfindChild (int selkey)
 
virtual void findChildren (const char *, ObjectSet< uiTreeItem > &)
 
template<class T >
void setProperty (const char *key, const T &)
 
void setPropertyPtr (const char *key, void *)
 
template<class T >
bool getProperty (const char *key, T &res) const
 
bool getPropertyPtr (const char *key, void *&) const
 
virtual void translateText ()
 
uiTreeViewItemgetItem ()
 
const uiTreeViewItemgetItem () const
 
void updateSelTreeColumnText (int col)
 
uiTreeItemparentTreeItem ()
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Static Public Member Functions

static bool create (uiTreeItem *, uiODApplMgr *, int displayid)
 

Protected Member Functions

virtual uiODDataTreeItemcreateAttribItem (const Attrib::SelSpec *) const
 
bool shouldSelect (int selkey) const
 
int selectionKey () const
 
int uiTreeViewItemType () const
 
virtual void checkCB (CallBacker *)
 
virtual void keyPressCB (CallBacker *)
 
virtual bool doubleClick (uiTreeViewItem *)
 
virtual bool init ()
 
bool isSelectable () const
 
bool isExpandable () const
 
uiString getLockMenuText () const
 
virtual uiString createDisplayName () const
 
void updateLockPixmap (bool islocked)
 
void selectRGBA (const Pos::GeomID &)
 
virtual bool askContinueAndSaveIfNeeded (bool withcancel)
 
void addToToolBarCB (CallBacker *)
 
void createMenuCB (CallBacker *)
 
virtual void createMenu (MenuHandler *, bool istb)
 
virtual void handleMenuCB (CallBacker *)
 
virtual void deleteObject ()
 
- Protected Member Functions inherited from uiODTreeItem
uiODApplMgrapplMgr ()
 
ui3DViewerviewer ()
 
virtual const char * iconName () const
 
void addStandardItems (uiMenu &)
 
void handleStandardItems (int mnuid)
 
void setMoreObjectsToDoHint (bool yn)
 
bool getMoreObjectsToDoHint () const
 
- Protected Member Functions inherited from uiTreeItem
virtual uiParentgetUiParent () const
 
virtual bool addChld (uiTreeItem *, bool below, bool downwards)
 
virtual const char * parentType () const =0
 
virtual bool useParentType () const
 
virtual bool rightClick (uiTreeViewItem *)
 
virtual void setTreeViewItem (uiTreeViewItem *)
 
virtual void removeItem (uiTreeViewItem *)
 
virtual void renameItem (uiTreeViewItem *)
 
virtual bool selectWithKey (int selkey)
 
virtual void updateSelection (int selectionKey, bool dw=false)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

uiVisPartServervisserv_
 
int displayid_
 
MenuItem addmnuitem_
 
MenuItem displaymnuitem_
 
MenuItem addattribmnuitem_
 
MenuItem addvolprocmnuitem_
 
MenuItem duplicatemnuitem_
 
MenuItem removemnuitem_
 
MenuItem lockmnuitem_
 
MenuItem hidemnuitem_
 
MenuItem histogrammnuitem_
 
- Protected Attributes inherited from uiTreeItem
IOPar properties_
 
uiTreeItemparent_
 
uiString name_
 
uiTreeViewItemuitreeviewitem_
 
ObjectSet< uiTreeItemchildren_
 

Private Member Functions

 mODTextTranslationClass (uiODDisplayTreeItem)
 

Detailed Description

Constructor & Destructor Documentation

uiODDisplayTreeItem::uiODDisplayTreeItem ( )
virtual uiODDisplayTreeItem::~uiODDisplayTreeItem ( )
virtual

Member Function Documentation

virtual bool uiODDisplayTreeItem::actModeWhenSelected ( ) const
inlinevirtual

Reimplemented in uiODPolygonTreeItem, and uiODPickSetTreeItem.

uiODDataTreeItem* uiODDisplayTreeItem::addAttribItem ( )
void uiODDisplayTreeItem::addToToolBarCB ( CallBacker )
protected
virtual bool uiODDisplayTreeItem::askContinueAndSaveIfNeeded ( bool  withcancel)
inlineprotectedvirtual
virtual void uiODDisplayTreeItem::checkCB ( CallBacker )
protectedvirtual

Reimplemented in uiODEarthModelSurfaceTreeItem.

static bool uiODDisplayTreeItem::create ( uiTreeItem ,
uiODApplMgr ,
int  displayid 
)
static

Creates an instance (if possible) and adds it to the tree

virtual uiODDataTreeItem* uiODDisplayTreeItem::createAttribItem ( const Attrib::SelSpec ) const
protectedvirtual
virtual uiString uiODDisplayTreeItem::createDisplayName ( ) const
protectedvirtual
virtual void uiODDisplayTreeItem::createMenu ( MenuHandler ,
bool  istb 
)
protectedvirtual
void uiODDisplayTreeItem::createMenuCB ( CallBacker )
protected
virtual void uiODDisplayTreeItem::deleteObject ( )
protectedvirtual
virtual bool uiODDisplayTreeItem::displayedOnlyAtSections ( ) const
virtual
int uiODDisplayTreeItem::displayID ( ) const
inline
virtual bool uiODDisplayTreeItem::doubleClick ( uiTreeViewItem )
protectedvirtual

Reimplemented from uiTreeItem.

Reimplemented in uiODPolygonTreeItem, uiODWellTreeItem, and uiODPickSetTreeItem.

uiString uiODDisplayTreeItem::getLockMenuText ( ) const
protected
void uiODDisplayTreeItem::handleAddAttrib ( )
virtual void uiODDisplayTreeItem::handleMenuCB ( CallBacker )
protectedvirtual
virtual bool uiODDisplayTreeItem::init ( )
protectedvirtual
bool uiODDisplayTreeItem::isExpandable ( ) const
inlineprotectedvirtual

Reimplemented from uiTreeItem.

Reimplemented in uiODVolrenTreeItem.

virtual bool uiODDisplayTreeItem::isOnlyAtSections ( ) const
inlinevirtual
bool uiODDisplayTreeItem::isSelectable ( ) const
inlineprotectedvirtual

Reimplemented from uiTreeItem.

virtual void uiODDisplayTreeItem::keyPressCB ( CallBacker )
protectedvirtual

Reimplemented in uiODPlaneDataTreeItem.

uiODDisplayTreeItem::mODTextTranslationClass ( uiODDisplayTreeItem  )
private
void uiODDisplayTreeItem::prepareForShutdown ( )
virtual

Override if you want to popup dlg for saving various things (or similar)

Reimplemented from uiTreeItem.

Reimplemented in uiODFaultStickSetTreeItem, uiODPolygonTreeItem, uiODFaultTreeItem, uiODPickSetTreeItem, and uiODEarthModelSurfaceTreeItem.

int uiODDisplayTreeItem::selectionKey ( ) const
protectedvirtual

Reimplemented from uiTreeItem.

void uiODDisplayTreeItem::selectRGBA ( const Pos::GeomID )
protected
virtual void uiODDisplayTreeItem::setOnlyAtSectionsDisplay ( bool  )
virtual
bool uiODDisplayTreeItem::shouldSelect ( int  selkey) const
protectedvirtual

Reimplemented from uiTreeItem.

bool uiODDisplayTreeItem::showSubMenu ( )
virtual

Reimplemented from uiTreeItem.

Reimplemented in uiODVolrenTreeItem.

int uiODDisplayTreeItem::uiTreeViewItemType ( ) const
protectedvirtual
Returns
the uiTreeViewItem::Type that should be created

Reimplemented from uiTreeItem.

void uiODDisplayTreeItem::updateCheckStatus ( )
virtual

Reimplemented from uiTreeItem.

void uiODDisplayTreeItem::updateColumnText ( int  )
virtual

Reimplemented from uiTreeItem.

Reimplemented in uiODVolrenSubTreeItem, and uiODPSEventsTreeItem.

void uiODDisplayTreeItem::updateLockPixmap ( bool  islocked)
protected

Member Data Documentation

MenuItem uiODDisplayTreeItem::addattribmnuitem_
protected
MenuItem uiODDisplayTreeItem::addmnuitem_
protected
MenuItem uiODDisplayTreeItem::addvolprocmnuitem_
protected
int uiODDisplayTreeItem::displayid_
protected
MenuItem uiODDisplayTreeItem::displaymnuitem_
protected
MenuItem uiODDisplayTreeItem::duplicatemnuitem_
protected
MenuItem uiODDisplayTreeItem::hidemnuitem_
protected
MenuItem uiODDisplayTreeItem::histogrammnuitem_
protected
MenuItem uiODDisplayTreeItem::lockmnuitem_
protected
MenuItem uiODDisplayTreeItem::removemnuitem_
protected
uiVisPartServer* uiODDisplayTreeItem::visserv_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019