Class DisplayFilterCallback
See Also: Class Interface.
class DisplayFilterCallback : public InterfaceServer
Description:
This class is available in release 4.0 and later only.
This is a call-back class for the display filter list in the Hide by Category rollup of the Display command panel. This allows plug-ins to add additional filters to this list.
Data Members:
public:
BOOL on;
Determines if the callback is on or off. If a callback is selected in the list in the Display Panel list it is on; else it's off.
Methods:
public:
Prototype:
virtual TCHAR* GetName()=0;
Remarks:
Returns the name that will appear in the drop down list in the display panel when the callback is registered.
Prototype:
virtual BOOL IsVisible(SClass_ID sid, Class_ID cid, INode *node)=0;
Remarks:
This is the method that does the filtering of the node. It returns TRUE if the node is visible; FALSE if it is not visible.
Parameters:
SClass_ID sid
The Super Class ID of the node.
Class_ID cid
The Class ID of the node.
INode *node
Points to the node to check.