Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Application Framework project file item class. More...
#include <ilviews/appframe/project/prjitem.h>
Public Member Functions | |
IlvDvFileItem (IlvDisplay *display, IlvDvFileInfo *fileInfo) | |
Constructs an IlvDvFileItem object. | |
virtual const IlSymbol * | getPopupMenuResouceId () const |
Returns a menu resource identifier. | |
virtual IlBoolean | isFile () const |
Returns IlTrue if the class is derived from the IlvDvFileItem class. | |
Protected Member Functions | |
virtual IlvDvProjectItem * | _duplicate () const |
Returns a copy of the object. |
Application Framework project file item class.
Library: ilvappframe
IlvDvFileItem
is a subclass of IlvDvProjectItem
. It references a file using an IlvDvFileInfo
object. When this file item is activated in a project view, the project document opens a document for the file associated with the file item.
IlvDvFileItem::IlvDvFileItem | ( | IlvDisplay * | display, | |
IlvDvFileInfo * | fileInfo | |||
) |
Constructs an IlvDvFileItem
object.
This constructor creates an instance of IlvDvFileItem
according to the parameters display and fileInfo. The item label is set to the base name of the file name stored in the fileInfo object.
virtual IlvDvProjectItem* IlvDvFileItem::_duplicate | ( | ) | const [protected, virtual] |
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.
Reimplemented from IlvDvProjectItem.
virtual const IlSymbol* IlvDvFileItem::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.
Reimplemented from IlvDvProjectItem.
virtual IlBoolean IlvDvFileItem::isFile | ( | ) | const [virtual] |
Returns IlTrue
if the class is derived from the IlvDvFileItem
class.
IlTrue
if the class is derived from the IlvDvFileItem
class. Reimplemented from IlvDvProjectItem.
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.