home *** CD-ROM | disk | FTP | other *** search
- ///////////////////////////////////////////////////////////////////////////////
- // SAMPLE CODE
- //
- // FileName: ACDFBd4.cpp
- //
- // ClassName: ACompDocFwkMyBundle
- //
- // Description: This is the bundle class. The reason a user version of the
- // IGUIbundle class is created is to override the bundle menu handling.
- // For example in this case handling SelectAll has been
- // overridden so that the view class will be called when
- // the user selects this menu options.
- ///////////////////////////////////////////////////////////////////////////////
- #include "ACDFBd4.hpp"
- #include "acdfvw4.hpp"
-
- ACompDocFwkMyBundle::ACompDocFwkMyBundle()
- // Constructor
- { IFUNCTRACE_DEVELOP();}
-
- ACompDocFwkMyBundle::~ACompDocFwkMyBundle()
- // Destructor
- { IFUNCTRACE_DEVELOP();}
-
- void ACompDocFwkMyBundle::handleSelectAll( Boolean selectAll )
- // Overide the select all to set the background to show that select has been
- // selected.
- { IFUNCTRACE_DEVELOP();
- ACompDocFwkView* theView;
- theView = (ACompDocFwkView*)&objectView();
- theView->handleSelectAll(selectAll);
-
- IGUIBundle::handleSelectAll(selectAll);
- }
-