![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This interface class allows an application to accept feedback about what the operations are doing with entities within the MapLink Editor SDK.
An instance of an application class, derived from this class, may be passed to the TSLEditor. MapLink will take ownership of the class and will destroy it when the TSLEditor is deleted.
All methods should be overridden and implemented. See the individual method documentation for further details. Typically this class is used to allow update of a tree control displaying the contents of the edit layer.
Public Member Functions | |
TSLCustomFeedback () | |
virtual | ~TSLCustomFeedback () |
virtual void | attributesChanged (const TSLEntityReferenceSet *entities, const char *name)=0 |
virtual void | created (const TSLEntityReferenceSet *entities, bool replacingOtherEntities, const char *name)=0 |
virtual void | deleting (const TSLEntityReferenceSet *entities, bool willBeReplaced, const char *name)=0 |
virtual void | deselected (const TSLEntityReferenceSet *entities, const char *name)=0 |
virtual void | geometryChanged (const TSLEntityReferenceSet *entities, const char *name)=0 |
virtual void | reordered (const TSLEntityReferenceSet *entities, const char *name)=0 |
virtual void | reparented (const TSLEntityReferenceSet *entities, const char *name)=0 |
virtual void | selected (const TSLEntityReferenceSet *entities, const char *name)=0 |
virtual void | undeleted (const TSLEntityReferenceSet *entities, bool replacingOtherEntities, const char *name)=0 |
TSLCustomFeedback::TSLCustomFeedback | ( | ) |
|
virtual |
Virtual destructor
|
pure virtual |
Called when entities have their attributes changed, typically rendering attributes.
entities | The reference set of entities being acted upon. |
name | The name of the operation performing the action. |
|
pure virtual |
Called when entities are created.
Note that this may be triggered even when the entities being created are be replacements for others that have been deleted. This is necessary since the ordering and parenting of entities is important and cannot be maintained using a simple replacing(x with y) call.
entities | The reference set of entities being acted upon. Must not be destroyed. |
replacingOtherEntities | This flag indicates whether the entities being created are replacing other entities that have just be deleted. |
name | The name of the operation performing the action. |
|
pure virtual |
Called just before entities are deleted.
Note that this may be triggered even when the entities being deleted will be replaced by others. This is necessary since the ordering and parenting of entities is important and cannot be maintained using a simple replacing(x with y) call.
entities | The reference set of entities being acted upon. Must not be destroyed. |
willBeReplaced | This flag indicates whether the entities being deleted will subsequently be replaced by new entities. These new entities will be notified using the created or undeleted methods. |
name | The name of the operation performing the action. |
|
pure virtual |
Called when entities are removed from the select list.
entities | The reference set of entities being acted upon. Must not be destroyed. |
name | The name of the operation performing the action. |
|
pure virtual |
Called when entities have their geometry changed - e.g. move/scale/addpoint etc.
entities | The reference set of entities being acted upon. Must not be destroyed. |
name | The name of the operation performing the action. |
|
pure virtual |
Called when entities are reordered beneath their current parent, (back/front)
entities | The reference set of entities being acted upon. Must not be destroyed. |
name | The name of the operation performing the action. |
|
pure virtual |
Called when objects are moved up or down the entity hierarchy, e.g. grouped/ungrouped.
entities | The reference set of entities being acted upon. Must not be destroyed. |
name | The name of the operation performing the action. |
|
pure virtual |
Called when entities are added to the select list.
entities | The reference set of entities being acted upon. Must not be destroyed. |
name | The name of the operation performing the action. |
|
pure virtual |
Called when an operation that deletes entities is undone.
entities | The reference set of entities being acted upon. Must not be destroyed. |
replacingOtherEntities | This flag indicates whether the entities being created are replacing other entities that have just be deleted. |
name | The name of the operation performing the action. |