OpRedefineNamesAsSel Class Reference

#include <ngsetop.h>

Inheritance diagram for OpRedefineNamesAsSel:

SelOperation UndoableOperation Operation MessageHandler ListItem CCObject SimpleCCObject List of all members.

Private Member Functions

 CC_DECLARE_DYNCREATE (OpRedefineNamesAsSel)
virtual void Do (OpDescriptor *)
 Performs the OpRedefineNamesAsSel operation. Hides all the Wix ObjectName attributes that are members of the given Document's given attribute set and applies them only to the selected objects.

Detailed Description

Definition at line 323 of file ngsetop.h.


Member Function Documentation

OpRedefineNamesAsSel::CC_DECLARE_DYNCREATE OpRedefineNamesAsSel   )  [private]
 

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

Performs the OpRedefineNamesAsSel operation. Hides all the Wix ObjectName attributes that are members of the given Document's given attribute set and applies them only to the selected objects.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
09/7/99
Parameters:
pOpDesc --- See base class [INPUTS]
See also:
class OpRedefineNamesAsSel::Param; OpApplyAttribToSelected::DoWithParam; OpRedefineNamesAsSel::DoApply

Reimplemented from Operation.

Definition at line 701 of file ngsetop.cpp.

00702 {
00703     AllowOpScan aosSel(this, &theSelectedObjects),
00704                 aosUnsel(this, &theUnselectedObjects),
00705                 aosSentinel(this, &theSetSentinel);
00706 
00707     if (!aosSel.Scan() ||
00708         !aosUnsel.Scan() ||
00709         !aosSentinel.Scan() ||
00710         !DoStartSelOp(TRUE, TRUE) ||
00711         !HideScan(this, &theSelectedDocument).Scan() ||
00712         !ApplyScan(this, &theSelectedObjects).Scan() ||
00713         !ApplyScan(this, &theSetSentinel).Scan() ||
00714         !aosSel.Update() ||
00715         !aosUnsel.Update() ||
00716         !aosSentinel.Update())
00717     {
00718         FailAndExecute();
00719     }
00720 
00721     End();
00722 }   


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