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 Details

  • Constructor Details

  • 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 interface PropertyEditor
    • newPropertySelect

      protected abstract BasePropertySelect<P> newPropertySelect()
    • methodPropertyName

      protected String methodPropertyName()
    • updateProperties

      protected void updateProperties(String objectRef)
    • getAllProperties

      protected abstract Collection<P> getAllProperties(PageObjectContext objectContext)
    • 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