OpSelectIntersectSets Class Reference

#include <ngsetop.h>

Inheritance diagram for OpSelectIntersectSets:

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 (OpSelectIntersectSets)
virtual void Do (OpDescriptor *)
 Performs the OPTOKEN_SELECT_INTERSECT_SETS operation.

Detailed Description

Definition at line 165 of file ngsetop.h.


Member Function Documentation

OpSelectIntersectSets::CC_DECLARE_DYNCREATE OpSelectIntersectSets   )  [private]
 

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

Performs the OPTOKEN_SELECT_INTERSECT_SETS operation.

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

Reimplemented from Operation.

Definition at line 240 of file ngsetop.cpp.

00241 {
00242     SelectUnionScan option = SelectUnionScan::SELECT_EXCLUSIVE;
00243     if( KeyPress::IsGalleryCtrlPressed() )
00244         option = SelectUnionScan::DESELECT;
00245     SelectUnionScan( option ).Scan();
00246     End();
00247 }

OpState OpSelectIntersectSets::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 222 of file ngsetop.cpp.

00223 {
00224     INT32 nTotal;
00225     NameGallery::Instance()->GetHighlightCount(&nTotal, 0);
00226     return OpState(FALSE, nTotal < 2);
00227 }


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