OpUngroupSpecial Class Reference

This class represents the UnGroup Special operation. More...

#include <groupops.h>

Inheritance diagram for OpUngroupSpecial:

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

Public Member Functions

 OpUngroupSpecial ()
 OpUngroupSpecial constructor.
void Do (OpDescriptor *)
 Performs the Ungroup Special operation.

Static Public Member Functions

static BOOL Init ()
 OpUngroupSpecial initialiser method.
static OpState GetState (String_256 *, OpDescriptor *)
 For finding the OpUngroupSpecial's state.

Detailed Description

This class represents the UnGroup Special operation.

Author:
Simon_Maneggio (Xara Group Ltd) <camelotdev@xara.com>
Date:
9/7/93
See also:
OpGroup Documentation: specs.doc

Definition at line 190 of file groupops.h.


Constructor & Destructor Documentation

OpUngroupSpecial::OpUngroupSpecial  ) 
 

OpUngroupSpecial constructor.

Author:
Simon_Maneggio (Xara Group Ltd) <camelotdev@xara.com>
Date:
29/9/93
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: -

See also:
-

Definition at line 1041 of file groupops.cpp.

01041                                   : OpUngroup()                             
01042 {                              
01043 }


Member Function Documentation

void OpUngroupSpecial::Do OpDescriptor  )  [virtual]
 

Performs the Ungroup Special operation.

Author:
Simon_Maneggio (Xara Group Ltd) <camelotdev@xara.com>
Date:
16/8/93
Parameters:
OpDescriptor (unused) [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: An ENSURE failure will occur if this function is called and there are no selected groups.

See also:
-

Reimplemented from OpUngroup.

Definition at line 1121 of file groupops.cpp.

01122 {    
01123     // Call UngroupSelectedGroups until there are no more groups to ungroup or until 
01124     // the operation fails.
01125     if (DoStartSelOp(TRUE,TRUE))  // Try to record the selection state 
01126     {
01127         while (OpUngroup::UngroupSelectedGroups()); 
01128     }
01129     End(); 
01130 }                                                                               

OpState OpUngroupSpecial::GetState String_256 s,
OpDescriptor o
[static]
 

For finding the OpUngroupSpecial's state.

Author:
Simon_Maneggio (Xara Group Ltd) <camelotdev@xara.com>
Date:
28/9/93
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
The state of the OpUngroupSpecial

Errors: -

See also:
-

Reimplemented from OpUngroup.

Definition at line 1100 of file groupops.cpp.

01101 {
01102     return(OpUngroup::GetState(s,o));  
01103 }

BOOL OpUngroupSpecial::Init void   )  [static]
 

OpUngroupSpecial initialiser method.

Author:
Simon_Maneggio (Xara Group Ltd) <camelotdev@xara.com>
Date:
28/9/93
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
TRUE if the operation could be successfully initialised FALSE if no more memory could be allocated

Errors: ERROR will be called if there was insufficient memory to allocate the operation.

See also:
-

Reimplemented from OpUngroup.

Definition at line 1063 of file groupops.cpp.

01064 {
01065     return (RegisterOpDescriptor(0,
01066                                 _R(IDS_UNGROUPSPECIALOP),
01067                                 CC_RUNTIME_CLASS(OpUngroupSpecial),
01068                                 OPTOKEN_UNGROUPSPECIAL,
01069                                 OpUngroupSpecial::GetState,
01070                                 0,  /* help ID */
01071                                 _R(IDBBL_UNGROUPSPECIALOP),
01072                                 0,
01073                                 0,
01074                                 SYSTEMBAR_ILLEGAL,          // For now !
01075                                 TRUE,                       // Receive messages
01076                                 FALSE,
01077                                 FALSE,
01078                                 0,
01079                                 (GREY_WHEN_NO_CURRENT_DOC | GREY_WHEN_NO_SELECTION)
01080 
01081                                 )); 
01082 
01083 }               


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