Drag and drop
You can drag IDL types from the browser or items from the same or another IDL Runner into the IDL Runner outline view.
A being dragged IDL type will be accepted by an item if it is equal or derived from the item's IDL type. In the case of a sequence item the being dragged IDL type can be also inserted if it is equal or derived from the sequence's type. The derived types are defined only for valuetypes and interfaces. If an item accepts the dragged IDL type, the type of the item is set to that IDL type and the item's value is set to the default value for that IDL type.
This may be useful when working with valuetypes or abstract interfaces, or with the type any
.
When you drag an item from IDL Runner, it will be accepted by another item if its IDL type is derived from the IDL type of the accepting item. The IDL type and the value of the accepting item are set to those of the being dragged item. If Alt key was hold when dropping item the item's value is copied, otherwise both items will share the same value.
This feature allows to edit arbitrary value graph for valuetypes.