Interface IEditedPropControllerOwner<PROP extends GProp<?>,​PROP_VALUE>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      java.lang.StringformatValue​(PROP_VALUE value)
      Formats a value to a String, used to show a tool-tip in the editor.
      java.lang.StringgetCurrentInput()
      Gets the current input string when it applies.
      PROP_VALUEgetDefaultValue()
      Gets the default value for a property.
      voidinitialize​(PROP prop)
      Initializes a newly created property (e.g.
      voidonError​(java.lang.String input, java.lang.String message, int severity, boolean isMultipleValueWarning, boolean isChildError)
      Called when the property is updated due to an error.
      voidonReadOnly​(boolean on)
      Called when the read-only state changes.
      voidonUndefined()
      Called when the property is undefined.
      voidonUpdate​(PROP_VALUE value)
      Called when the property is updated without errors, with a new value.
    • Method Detail

      • formatValue

        java.lang.String formatValue​(PROP_VALUE value)
        Formats a value to a String, used to show a tool-tip in the editor.
      • initialize

        void initialize​(PROP prop)
                 throws PropException
        Initializes a newly created property (e.g. a reference property for accepted classes, etc).
        Parameters:
        prop - The newly created orphan property.
        Throws:
        PropException - For property errors.
      • getDefaultValue

        PROP_VALUE getDefaultValue()
        Gets the default value for a property.
      • onUpdate

        void onUpdate​(PROP_VALUE value)
        Called when the property is updated without errors, with a new value.
      • onUndefined

        void onUndefined()
        Called when the property is undefined.
      • onError

        void onError​(java.lang.String input,
                     java.lang.String message,
                     int severity,
                     boolean isMultipleValueWarning,
                     boolean isChildError)
        Called when the property is updated due to an error.
      • onReadOnly

        void onReadOnly​(boolean on)
        Called when the read-only state changes.
      • getCurrentInput

        java.lang.String getCurrentInput()
        Gets the current input string when it applies.