OpInsertFloater Class Reference

This is the operation that the line tool uses to insert the floating endpoint in an undoable kind of way. More...

#include <opbezier.h>

Inheritance diagram for OpInsertFloater:

UndoableOperation Operation MessageHandler ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 OpInsertFloater ()
 Constructor. Currently does nothing.
void DoWithParam (OpDescriptor *, OpParam *pOpParam)
 Performs the insertion of the floating endpoint into the Line tool, creating undo actions.

Static Public Member Functions

static BOOL Declare ()
 Adds the operation to the list of all known operations.
static OpState GetState (String_256 *Description, OpDescriptor *)
 Find out the state of the operation at the specific time.

Private Member Functions

 CC_DECLARE_DYNCREATE (OpInsertFloater)

Detailed Description

This is the operation that the line tool uses to insert the floating endpoint in an undoable kind of way.

Author:
Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com>
Date:
06/12/94

Definition at line 207 of file opbezier.h.


Constructor & Destructor Documentation

OpInsertFloater::OpInsertFloater  ) 
 

Constructor. Currently does nothing.

Author:
Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com>
Date:
06/12/94

Definition at line 889 of file opbezier.cpp.

00890 {
00891 }


Member Function Documentation

OpInsertFloater::CC_DECLARE_DYNCREATE OpInsertFloater   )  [private]
 

BOOL OpInsertFloater::Declare  )  [static]
 

Adds the operation to the list of all known operations.

Author:
Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com>
Date:
06/12/94
Returns:
TRUE if all went OK, False otherwise

Definition at line 927 of file opbezier.cpp.

00928 {
00929     return (RegisterOpDescriptor(   0, 
00930                                     _R(IDS_NODEPATH_EDIT),
00931                                     CC_RUNTIME_CLASS(OpInsertFloater), 
00932                                     OPTOKEN_INSERTFLOATER,
00933                                     OpInsertFloater::GetState));
00934 }

void OpInsertFloater::DoWithParam OpDescriptor pOpDesc,
OpParam pOpParam
[virtual]
 

Performs the insertion of the floating endpoint into the Line tool, creating undo actions.

Author:
Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com>
Date:
06/12/94
Parameters:
pOpDesc - pointer to the OpDescriptor for the operation [INPUTS] pOpParam - pointer to the operations parameter object
Returns:
-

Reimplemented from Operation.

Definition at line 952 of file opbezier.cpp.

00953 {
00954     InsertFloaterParam* Params = (InsertFloaterParam*)pOpParam;
00955 
00956     if (Params->pOpWorkingDocument != NULL)
00957     {
00958         pOurDoc = Params->pOpWorkingDocument;
00959         pOurView = NULL;
00960     }
00961 
00962     if (!InsertFloaterAction::DoInsert(this, &UndoActions, Params->pTool,
00963                                                 &Params->InsertPos, Params->InsertSpread))
00964     {
00965         FailAndExecute();
00966     }
00967 
00968     End();
00969 }

OpState OpInsertFloater::GetState String_256 Description,
OpDescriptor
[static]
 

Find out the state of the operation at the specific time.

Author:
Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com>
Date:
06/12/94
Parameters:
- [OUTPUTS]
Returns:
-

Definition at line 907 of file opbezier.cpp.

00908 {
00909     OpState Blobby;
00910     
00911     return Blobby;
00912 }


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