IMergeElements Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interface to allow ElementOperations classes in derived models to access protected merge functionality on a model element.
public interface class IMergeElements
public interface IMergeElements
type IMergeElements = interface
Public Interface IMergeElements
- Derived
Methods
CanMerge(ProtoElementBase, ElementGroupPrototype) |
Returns a value indicating whether the source element represented by the specified root ProtoElement can be added to this element. |
ChooseMergeTarget(ElementGroup) |
Gets the ModelElement to be used as the target for the ElementGroup merge
process. |
ChooseMergeTarget(ElementGroupPrototype) |
Gets the ModelElement to be used as the target for the ElementGroupPrototype merge
process. |
MergeConfigure(ElementGroup) |
Called by the Merge process to allow this model element to configure itself immediately after the Merge process has related it to the target element. |
MergeDisconnect(ModelElement) |
Performs operation opposite to MergeRelate - i.e. disconnects a given element from the current one (removes links created by MergeRelate). |
MergeRelate(ModelElement, ElementGroup) |
Called by the Merge process to create a relationship between this target element and the specified source element. Typically, a parent-child relationship is established between the target element (the parent) and the source element (the child), but any relationship can be established. |