1 /***********************************************************************/ 2 /* Open Visualization Data Explorer */ 3 /* (C) Copyright IBM Corp. 1989,1999 */ 4 /* ALL RIGHTS RESERVED */ 5 /* This code licensed under the */ 6 /* "IBM PUBLIC LICENSE - Open Visualization Data Explorer" */ 7 /***********************************************************************/ 8 9 #include <dxconfig.h> 10 #include "../base/defines.h" 11 12 13 14 15 #ifndef _SelectorListNode_h 16 #define _SelectorListNode_h 17 18 19 #include "SelectionNode.h" 20 #include "List.h" 21 22 class Network; 23 24 // 25 // Class name definition: 26 // 27 #define ClassSelectorListNode "SelectorListNode" 28 29 // 30 // SelectorListNode class definition: 31 // 32 class SelectorListNode : public SelectionNode 33 { 34 friend class SelectorListToggleInteractor;// For [un]deferVisualNotification(). 35 36 private: 37 // 38 // Private member data: 39 // 40 41 protected: 42 // 43 // Protected member data: 44 // 45 46 // 47 // Get a a SelectorListInstance instead of an InteractorInstance. 48 // 49 virtual InteractorInstance *newInteractorInstance(); 50 51 // 52 // These define the initial values 53 // 54 virtual const char *getInitialValueList(); 55 virtual const char *getInitialStringList(); 56 57 public: 58 // 59 // Constructor: 60 // 61 SelectorListNode(NodeDefinition *nd, Network *net, int instnc); 62 63 64 // 65 // Destructor: 66 // 67 ~SelectorListNode(); 68 69 // 70 // Determine if this node is a node of the given class 71 // 72 virtual boolean isA(Symbol classname); 73 74 // 75 // Returns a pointer to the class name. 76 // getClassName()77 const char* getClassName() 78 { 79 return ClassSelectorListNode; 80 } 81 }; 82 83 84 #endif // _SelectorListNode_h 85 86 87