home *** CD-ROM | disk | FTP | other *** search
- --------------------------------------------------------------------------------
- -- FILE NAME: WIZVIEW.HT
- --
- -- DESCRIPTION:
- -- OLE Compound Document Framework View file template
- --
- -- COPYRIGHT:
- -- IBM WorkFrame - Project Smarts
- -- (C) Copyright International Business Machines Corporation 1996
- -- Licensed Material - Program-Property of IBM - All Rights Reserved.
- -- US Government Users Restricted Rights - Use, duplication, or disclosure
- -- restricted by GSA ADP Schedule Contract with IBM Corp.
- --
- --------------------------------------------------------------------------------
- <include wizclass.ht>
- --------------------------------------------------------------------------------
- -- View template
- --------------------------------------------------------------------------------
- <code VIEW>
- <define FILE_HDR_INCLUDES>
- #include <iview.hpp>
- #include <icmdhdr.hpp>
-
- </define>
- <define CLASS_NAME>$VIEW_CLASS_NAME$\</define>
- <define PROTECT_CONSTRUCT>t\</define>
- <define NO_DEF_CONSTRUCT>t\</define>
- <define NO_COPY_CONSTRUCT>t\</define>
- <define PROTECT_COPY>t\</define>
- $STANDARD_OPERATIONS$
- <define PUBLIC_MEMBERS>
- $VIEW_CLASS_NAME$( $BUNDLE_CLASS_NAME$& bundle );
-
- virtual void initialize();
- virtual void finalize();
- virtual Boolean handleCommand( ICommandEvent& cmdEvent );
-
- /////////////////////////////////////////
- // ADD your public member function here
- /////////////////////////////////////////
- </define>
- <define PROTECTED_MEMBERS>
- virtual void drawContents( IPresSpaceHandle& ps,
- const IRectangle&,
- Boolean );
- </define>
- <if ($WANT_NOTIFY_VIEW$)>
- <define DATA_MEMBERS>
- /////////////////////////////////////////
- // ADD your private data members here
- /////////////////////////////////////////
-
- </define>
- </if>
- <define PRIVATE_MEMBERS>
- // Command Connection for this View
- ICommandConnectionTo<$VIEW_CLASS_NAME$> fCommandHandler;
-
- /////////////////////////////////////////
- // ADD handlers, controls, and other data here
- /////////////////////////////////////////
- </define>
- </code VIEW>
-
- --------------------------------------------------------------------------------
- -- DocumentComponentView direct subclass template
- --------------------------------------------------------------------------------
- <code DOCUMENT_VIEW>
- <define BUNDLE_CLASS_NAME>
- IGUIBundle\<>
- </define BUNDLE_CLASS_NAME>
- <define CLASS_SUPERS>
- IView\<>
- </define>
- $VIEW$\<>
- </code DOCUMENT_VIEW>
-
- --------------------------------------------------------------------------------
- -- A list of views
- --------------------------------------------------------------------------------
- <code DOCUMENT_VIEW_CLASSES>
- -- TO DO For Multiple View
- --<repeat VIEW_CLASS_NAME,WANT_NOTIFY_VIEW,WANT_SINGLE_CALLBACK,WANT_LISTBOX_VIEW>
- $DOCUMENT_VIEW$\<>
- $CLASS$\<>
- --</repeat>
- </code DOCUMENT_VIEW>