Property Editor

ilog.rules.studio.editor.rule.propertyEditor

JRules 6.0

Allows plug-ins to define custom property editors for the property of a given element in the Properties view.

<!ELEMENT extension (propertyEditor*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT propertyEditor EMPTY>

<!ATTLIST propertyEditor

target             CDATA #REQUIRED

cellEditorClass    CDATA #IMPLIED

scope              CDATA #IMPLIED

modelAdapter       CDATA #IMPLIED

editable           CDATA #IMPLIED

configurationClass CDATA #IMPLIED>


This extension point sets the field model.ModelElement.name as a field that cannot be edited in the Properties view.

<extension point=

"ilog.rules.studio.ui.propertyEditors"

>

<propertyEditor target=

"model.ModelElement.name"

editable=

"false"

>

</propertyEditor>

</extension>

This extension point allows users to have an IlrBooleanCellEditor for each property of type EBoolean in the Properties view.
 

<extension point=

"ilog.rules.studio.ui.propertyEditors"

>

<propertyEditor target=

"EBoolean"

cellEditorClass=

"ilog.rules.studio.ui.propertysheet.editors.IlrBooleanCellEditor"

>

</propertyEditor>

</extension>