/***********************************************************************/ /* Open Visualization Data Explorer */ /* (C) Copyright IBM Corp. 1989,1999 */ /* ALL RIGHTS RESERVED */ /* This code licensed under the */ /* "IBM PUBLIC LICENSE - Open Visualization Data Explorer" */ /***********************************************************************/ #include #ifndef _CommentDialog_h #define _CommentDialog_h #include "GARMainWindow.h" #include "../base/defines.h" #include "../base/TextEditDialog.h" // // Class name definition: // #define ClassCommentDialog "CommentDialog" class GARMainWindow; // // CommentDialog class definition: // class CommentDialog : public TextEditDialog { private: // // Private member data: // static boolean ClassInitialized; protected: // // Protected member data: // static String DefaultResources[]; GARMainWindow *gmw; // // Get the the text that is to be installed in the text window. // virtual const char *getText(); // // Save the text in the text window // virtual boolean saveText(const char *); // // Install the default resources for this class and then call the // same super class method to get the default resources from the // super classes. // virtual void installDefaultResources(Widget baseWidget); public: // // Constructor: // CommentDialog(Widget parent, boolean readonly, GARMainWindow *gmw); // // Destructor: // ~CommentDialog(); // // Clear the Text widget // virtual void clearText(); // // Returns a pointer to the class name. // const char* getClassName() { return ClassCommentDialog; } }; #endif // _CommentDialog_h