The Extensionpoint
com.odc.eva3.dev.form.resourceBeanDrop
defines what occours, when a file will be dragged from the navigator into an open form.
Example: The following example defines, that a .macro file will be instanciated to a SButton, wich has the file as ActionPerformedMacro, when the file is dragged into an open form.
<extension
id="com.odc.eva3.dev.form.beandrop.macroSource"
name="macroSourceDrop"
point="com.odc.eva3.dev.form.resourceBeanDrop">
<dropBean
bean="com.odc.eva3.rt.se.beans.SButton"
target="form"
fileextension="macro"
setter="com.odc.eva3.dev.form.dnd.setter.ActionPerformedPropertySetter">
</dropBean>
</extension>
An extensiom of the point
com.odc.eva3.dev.form.resourceBeanDrop
describes elements of the type dropBean with the following attributes:
| fileextension | The file extension to be controlled by this element |
| bean | The class name to be instanciated as dropped Bean; this class name must be recognized from the current toolbar |
| setter | The class name of the property setter, that has to
initialize the property value on the dropped bean. The setter class must
implement the interface
com.odc.eva3.dev.form.dnd.setter.PropertySetter |
| target | Describes, whether this extension should controll the form or report designer |