Class ObjectRefWithValuePropertyEditor<P extends PropertyRefBean>
java.lang.Object
ru.cg.webbpm.studio.subsystems.script_editor.editor.api.base.ObjectRefPropertyEditor<P>
ru.cg.webbpm.studio.subsystems.script_editor.editor.api.base.ObjectRefWithValuePropertyEditor<P>
- All Implemented Interfaces:
PropertyEditor
- Direct Known Subclasses:
ActionPropertyEditor
,ObjectValueClassPropertyEditor
public abstract class ObjectRefWithValuePropertyEditor<P extends PropertyRefBean>
extends ObjectRefPropertyEditor<P>
Editor for fields that contain a Behavior, a method name, and a Value which type depends on a
method (i.e. AC actions and conditions) Value can be either static or object
- Author:
- krylov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final PropertyValueManager
protected final ScriptEditorManager
protected javafx.scene.layout.HBox
protected final PropertyValue
Fields inherited from class ru.cg.webbpm.studio.subsystems.script_editor.editor.api.base.ObjectRefPropertyEditor
methodProperty, objectSelectField, onModified, pageObjectContext, propertySelect, rootProperty, scriptContext
-
Constructor Summary
ConstructorsConstructorDescriptionObjectRefWithValuePropertyEditor
(ComplexValue rootProperty, ScriptContext scriptContext, ScriptEditorManager scriptEditorManager, PropertyValueManager propertyValueManager, Runnable onModified) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Listeners for underlying value updates should be bound to controls here.protected abstract ParameterMetadata
protected void
init()
Value is loaded here because it needs subclass methods.protected void
protected abstract String
Methods inherited from class ru.cg.webbpm.studio.subsystems.script_editor.editor.api.base.ObjectRefPropertyEditor
createEditorPane, getAllProperties, methodPropertyName, newPropertySelect, updateProperties
-
Field Details
-
scriptEditorManager
-
propertyValueManager
-
valueProperty
-
valueBox
protected javafx.scene.layout.HBox valueBox
-
-
Constructor Details
-
ObjectRefWithValuePropertyEditor
public ObjectRefWithValuePropertyEditor(ComplexValue rootProperty, ScriptContext scriptContext, ScriptEditorManager scriptEditorManager, PropertyValueManager propertyValueManager, Runnable onModified)
-
-
Method Details
-
init
protected void init()Description copied from class:ObjectRefPropertyEditor
Value is loaded here because it needs subclass methods. This method must be called after initialization and before creating a node.- Overrides:
init
in classObjectRefPropertyEditor<P extends PropertyRefBean>
-
bindListeners
protected void bindListeners()Description copied from class:ObjectRefPropertyEditor
Listeners for underlying value updates should be bound to controls here. This is a separate method because control values can be changed elsewhere during initialization- Overrides:
bindListeners
in classObjectRefPropertyEditor<P extends PropertyRefBean>
-
updateValueType
protected void updateValueType() -
getValueType
-
valuePropertyName
-