Package ilog.rules.commonbrm.model
Interface IlrPropertyExtension
public interface IlrPropertyExtension
Interface for changing the behavior of an extended property in Rule Studio
and Rule Team Server.
You can provide an implementation of this interface and attach it to Rule Studio
through the
ilog.rules.studio.ui.propertyExtension extension point.-
Method Summary
Modifier and TypeMethodDescriptionvoidafterChange(IlrElement element, String property) Performs this action after the property has been changed in the Properties view.getPossibleValues(IlrElement element, String property) Gets the possible input values for this enumerated property.booleanisEditable(IlrElement element, String property) Defines whether this property is editable in the Properties view.booleanisHidden(IlrElement element, String property) Hides this property in the Properties view.isValid(IlrElement element, String property, Object value) Defines whether this value is valid or not for this property.
-
Method Details
-
isHidden
Hides this property in the Properties view.- Parameters:
element- An instance ofIlrElement.property- The property to be hidden.- Returns:
truewhen the property should be hidden,falseotherwise.
-
afterChange
Performs this action after the property has been changed in the Properties view.- Parameters:
element- An instance ofIlrElement.property- The property.
-
getPossibleValues
Gets the possible input values for this enumerated property. This method is called only for enumerated type properties and controls the behavior of the Properties view.- Parameters:
element- An instance ofIlrElement.property- The property.- Returns:
- The list of possible values.
-
isEditable
Defines whether this property is editable in the Properties view.- Parameters:
element- An instance ofIlrElement.property- The property.- Returns:
- true when property should be editable, false otherwise.
-
isValid
Defines whether this value is valid or not for this property. If the value is invalid then the Properties view displays an error message.- Parameters:
element- An instance ofIlrElement.property- The property.value- The value of the property.- Returns:
- An error message when value is not valid, null otherwise.
-