OpExportSets Class Reference

#include <ngsetop.h>

Inheritance diagram for OpExportSets:

Operation MessageHandler ListItem CCObject SimpleCCObject List of all members.

Private Member Functions

 CC_DECLARE_DYNCREATE (OpExportSets)
virtual void Do (OpDescriptor *)
 Performs the OPTOKEN_EXPORT_SETS operation.

Static Private Member Functions

static OpState GetState (String_256 *, OpDescriptor *)
 Returns the UI state of this operation.

Classes

class  ExportHighlightedIter
 Iterates over highlighted set items, re-exporting any that are export targets. More...

Detailed Description

Definition at line 343 of file ngsetop.h.


Member Function Documentation

OpExportSets::CC_DECLARE_DYNCREATE OpExportSets   )  [private]
 

void OpExportSets::Do OpDescriptor  )  [private, virtual]
 

Performs the OPTOKEN_EXPORT_SETS operation.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
09/7/99
See also:
OpSelectIntersectSets; Operation

Reimplemented from Operation.

Definition at line 752 of file ngsetop.cpp.

00753 {
00754     // Iterate over all highlighted set items in the gallery, re-exporting the
00755     // export targets.
00756     if (ExportHighlightedIter(this).ForEach() != 0) InformError();
00757     End();
00758 }

OpState OpExportSets::GetState String_256 ,
OpDescriptor
[static, private]
 

Returns the UI state of this operation.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
09/7/99

Definition at line 734 of file ngsetop.cpp.

00735 {
00736     INT32 nTotal, nNames;
00737     NameGallery::Instance()->GetHighlightCount(&nTotal, &nNames);
00738     return OpState(FALSE, nNames < 1);
00739 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:58:11 2007 for Camelot by  doxygen 1.4.4