Class DesignTimeValueEditor

    • Constructor Detail

      • DesignTimeValueEditor

        public DesignTimeValueEditor()
    • Method Detail

      • createValue

        public static DesignTimeValueValue createValue​(org.eclipse.emf.ecore.EObject value,
                                                       MdObject mdObject,
                                                       IV8Project v8project)
        Create DesignTimeValue
        Parameters:
        value - - value for building DesignTimeValueValue, can't be null
        mdObject - - parent MdObject, can be null
        v8project - - the V8 project, can't be null
        Returns:
        DesignTimeValue
      • init

        public void init​(boolean isNotActivate,
                         Object data,
                         ValueEditControl control,
                         IV8Project v8project,
                         Version version)
        Initialization
        Parameters:
        isNotActivate - - is not activate control
        data - - custom data, can be null,
        control - - value edit control, can't be null,
        configurationParams - - cinfiguration parameters, can't be null,
        version - - varsion, can't be null,
      • isValueForEditor

        public boolean isValueForEditor​(Object value)
        Description copied from interface: IValueEditor
        Проверить, что значение данного типа редактируется редактором
        Specified by:
        isValueForEditor in interface IValueEditor
        Overrides:
        isValueForEditor in class ValueEditorBase
        Parameters:
        value - значение
        Returns:
        значение редактируется редактором
      • setValue

        public void setValue​(Object value)
        Description copied from interface: IValueEditor
        Установить значение для редактирования
        Specified by:
        setValue in interface IValueEditor
        Overrides:
        setValue in class ValueEditorBase
        Parameters:
        value - значение
      • setType

        public void setType​(TypeItem type)
        Set value type for editor
        Parameters:
        type - - type