You are here: User Customizations > Creating Plug-Ins for Innovator > Tool and Document Windows > Element Windows

Element Windows

Element windows are special document windows which represent precisely one model element.

Element Window Properties

Element windows are special document windows which have precisely one model element assigned to them; the model element's components or properties are then shown in the element window.

Examples of element windows:

Element windows are created in exactly the same way as document windows, the only difference being that the IElemWorkArea interface (a specialization of IDocWorkArea needs to be realized.

The following properties need to be implemented for the IElemWorkArea interface:

Note:

See the MID.Innovator.Plugin.Sample.ElementWindow1 sample for creating an element window.

Element Window Behavior

Most element windows show the behavior described below when editing the assigned element:

Note:

See the MID.Innovator.Plugin.Sample.ElementWindow2 sample for describing behaviors of element windows.

The object does not necessarily have to be locked when modifying server commands are executed. It is normally sufficient to have access to the lockable entity and for the entity not to be locked by another user. This means that the process does not necessarily have to be carried out exactly as described above. However, it is a good idea to do it as described above if you have relatively extensive and time-consuming element modifications in the window. This is because the process ensures that no other users can overwrite your changes by working on the element at the same time.

 

 

© 1986-2014 MID GmbH Nuremberg Germany. DIN EN 9001 certified. All rights reserved.