Class ObjectRefPropertyEditor<P extends PropertyRefBean>
java.lang.Object
ru.cg.webbpm.studio.subsystems.script_editor.editor.api.base.ObjectRefPropertyEditor<P>
- All Implemented Interfaces:
PropertyEditor
- Direct Known Subclasses:
EventRefPropertyEditor
,MethodValuePropertyEditor
,ObjectPropertyEditorWithOperations
,ObjectRefWithValuePropertyEditor
public abstract class ObjectRefPropertyEditor<P extends PropertyRefBean>
extends Object
implements PropertyEditor
Base property editor for properties containing reference to method/property of a page object
(i.e. property of type Behavior and a methodName property)
- Author:
- krylov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final PropertyValue
protected ObjectSelectField
protected final Runnable
protected final PageObjectContext
protected BasePropertySelect<P>
protected final ComplexValue
protected final ScriptContext
-
Constructor Summary
ConstructorsConstructorDescriptionObjectRefPropertyEditor
(ComplexValue rootValue, ScriptContext scriptContext, Runnable onModified) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Listeners for underlying value updates should be bound to controls here.javafx.scene.layout.Pane
Создать UI отображение Соглашение, если label пустой то вытягить эдитор на всю ширинуprotected abstract Collection<P>
getAllProperties
(PageObjectContext objectContext) protected void
init()
Value is loaded here because it needs subclass methods.protected String
protected abstract BasePropertySelect<P>
protected void
updateProperties
(String objectRef)
-
Field Details
-
rootProperty
-
methodProperty
-
pageObjectContext
-
scriptContext
-
objectSelectField
-
propertySelect
-
onModified
-
-
Constructor Details
-
ObjectRefPropertyEditor
public ObjectRefPropertyEditor(ComplexValue rootValue, ScriptContext scriptContext, Runnable onModified)
-
-
Method Details
-
init
protected void init()Value is loaded here because it needs subclass methods. This method must be called after initialization and before creating a node. -
createEditorPane
public javafx.scene.layout.Pane createEditorPane()Description copied from interface:PropertyEditor
Создать UI отображение Соглашение, если label пустой то вытягить эдитор на всю ширину- Specified by:
createEditorPane
in interfacePropertyEditor
-
newPropertySelect
-
methodPropertyName
-
updateProperties
-
getAllProperties
-
bindListeners
protected void bindListeners()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
-