ADTF_DISPLAY_TOOLBOX  3.8.0 (ADTF 3.14.3)
INodeHandlerabstract

Interface for a handler that is responsible for a node and all its children. More...

Inheritance diagram for INodeHandler:
[legend]

Public Types

enum  tModifiers {
  CM_ALT = 1 , CM_CTRL = 2 , CM_SHIFT = 4 , CM_LEFT_MB = 8 ,
  CM_RIGHT_MB = 16 , CM_MIDDLE_MB = 32
}
 Enum values representing key / mouse modifiers.
 

Public Member Functions

 ADTF_IID (INodeHandler, "node_handler.endor.mixinlib.disptb.adtf.iid")
 Define an interface id for this class

 
virtual tResult GetName (base::ant::IString &&strName) const =0
 Returns the name of the handler. More...
 
virtual tResult OnPick (tInt32 nPosX, tInt32 nPosY, tUInt32 nFlags, const tNodePath &sNodePath, IMenu &oMenu)=0
 Called when an object has been picked by the user. More...
 

Detailed Description

Interface for a handler that is responsible for a node and all its children.

Definition at line 41 of file coordinate_systems_intf.h.

Member Function Documentation

◆ GetName()

virtual tResult GetName ( base::ant::IString &&  strName) const
pure virtual

Returns the name of the handler.

Parameters
[out]strNameThe name of the handler.
Returns
Standard Result.

◆ OnPick()

virtual tResult OnPick ( tInt32  nPosX,
tInt32  nPosY,
tUInt32  nFlags,
const tNodePath sNodePath,
IMenu oMenu 
)
pure virtual

Called when an object has been picked by the user.

Parameters
[in]nPosXThe horizontal position of the click in the view window.
[in]nPosYThe vertical position of the click in the view window.
[in]nFlagstModifiers
[in]sNodePathThe path to the node that was clicked. If empty menu entries are added to the global menu.
[in,out]oMenuThe menu where you can add entries.
Returns
Standard result.