#include <ngsetop.h>
Inheritance diagram for OpRedefineNamesAsSel:
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. |
Definition at line 323 of file ngsetop.h.
|
|
|
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.
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 }
|