CFx SDK Documentation
2022 SP0
|
#include <Editor.h>
Public Types | |
enum | XrefSubcommandActivities { kStart = 0 , kStartItem = 2 , kEndItem = 3 , kEnd = 4 , kWillAbort = 5 , kAborted = 6 , kStartXBindBlock = 7 , kStartXBindSymbol = 8 } |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class is the base class for custom classes that receive notification of OdEditor events.
<group Other_Classes>
|
virtual |
Notification function called whenever the attachment of an Xref database has failed.
pToDb | [in] Host database. |
|
virtual |
Notification function called whenever the restore of an Xref database has failed.
pToDb | [in] Host database. |
|
virtual |
Notification function called whenever an Xref database is about to be attached to a host database.
pToDb | [in] Host database. |
pFromDb | [in] Xref database. |
filename | [in] Xref filename. |
|
virtual |
Notification function called whenever an OdDbDatabase instance is about to be closed.
pDb | [in] Pointer to the database being closed. |
|
virtual |
Notification function called to indicate the mouse button has been double-clicked in the graphics screen area.
clickPoint | [in] WCS double-click point. |
Notification function called whenever a .dwg file is about to be opened.
filename | [in] Name of the .dwg file. |
|
virtual |
Notification function called whenever the Editor is about to shut down.
|
virtual |
Notification function called whenever an Xref database is about to be reloaded to a host database, when the Xref drawing file is unchanged.
pToDb | [in] Host database. |
pFromDb | [in] Xref database. |
filename | [in] Xref filename. |
|
virtual |
Notification function called to indicate the mouse button has been right-clicked in the graphics area.
clickPoint | [in] WCS right-click point. |
|
virtual |
Notification function called whenever an object in an Xref database has been comandeered.
pToDb | [in] Host database. |
pFromDb | [in] Xref database. |
objectId | [in] Object ID of the comandeered object. |
Thus, the block BAR in the xrefed database FOO, becomes FOO|BAR in the host database.
Notification function called to indicate an MDI document frame window has been moved or resized.
hwndDocFrame | [in] HWND of document frame. |
moved | [in] True if moved, false if resized. |
|
virtual |
Reimplemented from OdRxEventReactor.
|
virtual |
Notification function called whenever the attachment of an Xref database has succeeded.
pToDb | [in] Host database. |
Notification function called whenever a .dwg file has been opened.
filename | [in] Name of the .dwg file. |
|
virtual |
Notification function called whenever the restore of an Xref database has succeeded.
pToDb | [in] Host database. |
Notification function called to indicate the current layout has changed.
newLayoutName | [in] New layout name. |
Notification function called to indicate the Editor main frame window has been moved or resized.
hwndMainFrame | [in] HWND of the main frame. |
moved | [in] True if moved, false if resized. |
Notification function called whenever a modeless operation has ended.
contextString | [in] Context string identifying the operation. |
Notification function called whenever a modeless operation is about to start.
contextString | [in] Context string identifying the operation. |
|
virtual |
Notification function called after objects are lazy during a partial open of a drawing.
objectIDs | [in] Object IDs lazy loaded. |
OdEditorReactor::ODRX_DECLARE_MEMBERS | ( | OdEditorReactor | ) |
|
virtual |
Notification function called whenever an Xref database has been attached to a host database.
pToDb | [in] Host database. |
pFromDb | [in] Xref database. |
|
virtual |
Notification function called to indicate the number of entities in the pickfirst selection set has been changed.
|
virtual |
Notification function called whenever the Editor has failed to shut down.
|
virtual |
Notification function called whenever the Editor is about to shut down.
|
virtual |
Notification function called whenever an Object ID in an Xref database has been modified to point at an associated object in a host database.
oldId | [in] Object Id in the Xref database. |
neId | [in] Object Id in the host database. |
Redirection is used to implement VISRETAIN.
|
virtual |
|
virtual |
|
virtual |
Notification function called to indicate the toolbar bitmap size has changed.
largeBitmaps | [in] True if and only if large bitmaps. \remarks This function is called after the operation. |
|
virtual |
Notification function called to indicate the toolbar bitmap size is about to change.
largeBitmaps | [in] True if and only if large bitmaps. \remarks This function is called before the operation. |
|
virtual |
Notification function called during an Undo Auto operation.
activity | [in] Auto activity. |
undoAuto | [in] True if and only if Undo Auto mode is on. |
Value Description kEnd 4 The Auto operation has completed successfully.
|
virtual |
Notification function called during an Undo Back operation.
activity | [in] Back activity. |
Value Description kStart 0 The Undo Back has started.
|
virtual |
Notification function called during an Undo Begin or Undo Group operation.
activity | [in] Begin activity. |
Value Description kStart 0 The Undo Begin/Group has started.
|
virtual |
Notification function called during an Undo Control operation.
activity | [in] Control activity. |
option | [in] Undo option. |
Value Description kEnd 4 The Control operation has completed successfully.
option must be one of the following:
Value Description kNone 0 Undo None kOne 1 Undo One
kAll 2 Undo All
|
virtual |
Notification function called during an Undo End or Undo Group operation.
activity | [in] End activity. |
Value Description kStart 0 The Undo End has started.
|
virtual |
Notification function called during an Undo Mark operation.
activity | [in] Mark activity. |
Value Description kStart 0 The Undo Mark has started.
|
virtual |
Notification function called during an Undo <number>operation.
activity | [in] Number activity. |
numSteps | [in] Number of steps to be undone. |
Value Description kStart 0 The Undo Back has started.
|
virtual |
Notification function called during an Xref Attach operation.
activity | [in] Attach activity. |
xrefPath | [in] Xref path. |
activity must be one of the following:
Value Description kStart 0 The Attach has started. xrefPath is undefined. kStartItem 2 The Attach of the Xref with the specified path has been started. Notification will be made for the original Xref and any dependent Xrefs. kEndItem 3 The Attach of the Xref with the specified path has been successfully completed. Notification will be made for the original Xref and any dependent Xrefs. kEnd 4 The Attach has completed successfully. xrefPath is undefined. kAborted 6 The Attach has failed to complete for the Xref with the specified filename.
|
virtual |
Notification function called during an Xref Bind operation.
activity | [in] Bind activity. |
blockId | [in] Object ID of the Xref. |
activity must be one of the following:
Value Description kStart 0 The Bind has started. blockId is undefined. kStartItem 2 The Bind of the Xref with the specified blockId has been started. Notification will be made for the original Xref and any dependent Xrefs. kEndItem 3 The Bind of the Xref with the specified blockId has been successfully completed. Notification will be made for the original Xref and any dependent Xrefs. kEnd 4 The Bind has completed successfully. blockId is undefined. kAborted 6 The Bind has failed to complete for the Xref with the specified blockId. kStartXBindBlock 7 Notification of an Xref-dependent block being bound. kStartXBindSymbol 8 Notification of all other Xref-dependent symbols.
|
virtual |
Notification function called during an Xref Detach operation.
activity | [in] Detach activity. |
blockId | [in] Object ID of the Xref. |
activity must be one of the following:
Value Description kStart 0 The Detach has started. blockId is undefined. kStartItem 2 The Detach of the Xref with the specified blockId has been started. Notification will be made for the original Xref and any dependent Xrefs. kEndItem 3 The Detach of the Xref with the specified blockId has been successfully completed. Notification will be made for the original Xref and any dependent Xrefs. kEnd 4 The Detach has completed successfully. blockId is undefined. kAborted 6 The Detach has failed to complete for the Xref with the specified blockId.
|
virtual |
Notification function called during an Xref Overlay operation.
activity | [in] Overlay activity. |
xrefPath | [in] Xref path. |
activity must be one of the following:
Value Description kStart 0 The Overlay has started. xrefPath is undefined. kStartItem 2 The Overlay of the Xref with the specified path has been started. Notification will be made for the original Xref and any dependent Xrefs. kEndItem 3 The Overlay of the Xref with the specified path has been successfully completed. Notification will be made for the original Xref and any dependent Xrefs. kEnd 4 The Overlay has completed successfully. xrefPath is undefined. kAborted 6 The Overlay has failed to complete for the Xref with the specified filename.
|
virtual |
Notification function called during an Xref Path operation.
activity | [in] Path activity. |
newPath | [in] New Xref path. |
blockId | [in] Object ID of the Xref. |
activity must be one of the following:
Value Description kStart 0 The Path operation has started. blockId and newPath are undefined. kStartItem 2 The Path operation the Xref with the specified blockId has been started. kEndItem 3 The Path of the Xref with the specified blockId has been successfully changed to newPath.
kEnd 4 The Path operation has completed successfully. blockId and newPath are undefined. kAborted 6 The Path has failed to complete for the Xref with the specified blockId.
|
virtual |
Notification function called during an Xref Reload operation.
activity | [in] Reload activity. |
blockId | [in] Object ID of the Xref. |
activity must be one of the following:
Value Description kStart 0 The Reload has started. blockId is undefined. kStartItem 2 The Reload of the Xref with the specified blockId has been started. Notification will be made for the original Xref and any dependent Xrefs. kEndItem 3 The Reload of the Xref with the specified blockId has been successfully completed. Notification will be made for the original Xref and any dependent Xrefs. kEnd 4 The Reload has completed successfully. blockId is undefined. kAborted 6 The Reload has failed to complete for the Xref with the specified blockId.
|
virtual |
Notification function called during an Xref Unload operation.
activity | [in] Reload activity. |
blockId | [in] Object ID of the Xref. |
activity must be one of the following:
Value Description kStart 0 The Unload has started. blockId is undefined. kStartItem 2 The Unload of the Xref with the specified blockId has been started. Notification will be made for the original Xref and any dependent Xrefs. kEndItem 3 The Unload of the Xref with the specified blockId has been successfully completed. Notification will be made for the original Xref and any dependent Xrefs. kEnd 4 The Unload has completed successfully. blockId is undefined. kAborted 6 The Unload has failed to complete for the Xref with the specified blockId.