Views
Application Framework Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions | Protected Member Functions
IlvDvDocumentProjectItem Class Reference

Application Framework document project item class. More...

#include <ilviews/appframe/project/prjitem.h>

Inheritance diagram for IlvDvDocumentProjectItem:
IlvDvProjectItem IlvTreeGadgetItem IlvGadgetItem IlvValueInterface IlvStylable

Public Member Functions

 IlvDvDocumentProjectItem (IlvDvProjectDocument *projectDocument)
 Constructs an IlvDvDocumentProjectItem object. More...
 
virtual const IlSymbolgetPopupMenuResouceId () const
 Returns a menu resource identifier. More...
 
virtual IlBoolean isFolder () const
 Returns IlTrue if the class is derived from the IlvDvFolderItem class. More...
 
- Public Member Functions inherited from IlvDvProjectItem
 IlvDvProjectItem (const char *label, IlvBitmap *bitmap=0, IlvPosition position=IlvRight, IlUShort spacing=IlvDefaultGadgetItemSpacing)
 Constructs an IlvDvProjectItem object. More...
 
void addChild (IlvDvProjectItem *item)
 Adds a project item as a child of this item. More...
 
virtual IlBoolean isFile () const
 Returns IlTrue if the class is derived from the IlvDvFileItem class. More...
 
virtual IlBoolean removeChild (IlvDvProjectItem *item)
 Removes a child from this item. More...
 

Protected Member Functions

virtual IlvDvProjectItem_duplicate () const
 Returns a copy of the object. More...
 

Detailed Description

Application Framework document project item class.

Library: ilvappframe

IlvDvDocumentProjectItem is a subclass of IlvDvProjectItem. A document project item represents a document project. It is, by default, built by a project document as the root of its project items.

Constructor & Destructor Documentation

◆ IlvDvDocumentProjectItem()

IlvDvDocumentProjectItem::IlvDvDocumentProjectItem ( IlvDvProjectDocument projectDocument)

Constructs an IlvDvDocumentProjectItem object.

This constructor creates an instance of IlvDvDocumentProjectItem, whose document project is given by the parameter projectDocument.

Member Function Documentation

◆ _duplicate()

virtual IlvDvProjectItem* IlvDvDocumentProjectItem::_duplicate ( ) const
protectedvirtual

Returns a copy of the object.

This method is only used by the duplicate method for duplicating the object without duplicating its child items. This method must be redefined by all the derived classes.

Returns
A copy of the object.

Reimplemented from IlvDvProjectItem.

◆ getPopupMenuResouceId()

virtual const IlSymbol* IlvDvDocumentProjectItem::getPopupMenuResouceId ( ) const
virtual

Returns a menu resource identifier.

Returns the resource identifier of the popup menu shown when a right-click occurs on the item.

Returns
The popup menu resource identifier.

Reimplemented from IlvDvProjectItem.

◆ isFolder()

virtual IlBoolean IlvDvDocumentProjectItem::isFolder ( ) const
virtual

Returns IlTrue if the class is derived from the IlvDvFolderItem class.

Returns
IlTrue if the class is derived from the IlvDvFolderItem class.

Reimplemented from IlvDvProjectItem.