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 PropertyValueManagerprotected final ScriptEditorManagerprotected javafx.scene.layout.HBoxprotected final PropertyValueFields 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 voidListeners for underlying value updates should be bound to controls here.protected abstract ParameterMetadataprotected voidinit()Value is loaded here because it needs subclass methods.protected voidprotected abstract StringMethods 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:ObjectRefPropertyEditorValue is loaded here because it needs subclass methods. This method must be called after initialization and before creating a node.- Overrides:
initin classObjectRefPropertyEditor<P extends PropertyRefBean>
-
bindListeners
protected void bindListeners()Description copied from class:ObjectRefPropertyEditorListeners 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:
bindListenersin classObjectRefPropertyEditor<P extends PropertyRefBean>
-
updateValueType
protected void updateValueType() -
getValueType
-
valuePropertyName
-