OpSelectUnionSets Class Reference

#include <ngsetop.h>

Inheritance diagram for OpSelectUnionSets:

Operation MessageHandler ListItem CCObject SimpleCCObject List of all members.

Static Public Member Functions

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

Private Member Functions

 CC_DECLARE_DYNCREATE (OpSelectUnionSets)
virtual void Do (OpDescriptor *)
 Performs the OPTOKEN_SELECT_UNION_SETS operation.

Detailed Description

Definition at line 144 of file ngsetop.h.


Member Function Documentation

OpSelectUnionSets::CC_DECLARE_DYNCREATE OpSelectUnionSets   )  [private]
 

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

Performs the OPTOKEN_SELECT_UNION_SETS operation.

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

Reimplemented from Operation.

Definition at line 203 of file ngsetop.cpp.

00204 {
00205     SelectUnionScan::Change option = SelectUnionScan::SELECT_EXCLUSIVE;
00206     if( KeyPress::IsGalleryCtrlPressed() )
00207         option = SelectUnionScan::DESELECT;
00208     SelectUnionScan( option ).Scan();
00209     End();
00210 }

OpState OpSelectUnionSets::GetState String_256 ,
OpDescriptor
[static]
 

Returns the UI state of this operation.

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

Definition at line 185 of file ngsetop.cpp.

00186 {
00187     INT32 nTotal;
00188     NameGallery::Instance()->GetHighlightCount(&nTotal, 0);
00189     return OpState(FALSE, nTotal < 1);
00190 }


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