Class FlowProcessor

    • Field Detail

      • m_PanelWidget

        protected BasePanel m_PanelWidget
        the widget.
      • m_PanelFlow

        protected FlowPanel m_PanelFlow
        the flow panel.
      • m_ButtonNew

        protected BaseButton m_ButtonNew
        the "new flow" button.
      • m_ButtonLoad

        protected BaseButton m_ButtonLoad
        the "load flow" button.
      • m_ButtonSave

        protected BaseButton m_ButtonSave
        the "save flow" button.
      • m_ButtonCheck

        protected BaseButton m_ButtonCheck
        the "check flow" button.
      • m_ButtonRun

        protected BaseButton m_ButtonRun
        the "run flow" button.
      • m_FileChooserFlow

        protected FlowFileChooser m_FileChooserFlow
        the file chooser for the flows.
    • Constructor Detail

      • FlowProcessor

        public FlowProcessor()
    • Method Detail

      • newFlow

        protected void newFlow()
        Replaces the current flow snippet with an empty one.
      • loadFlow

        protected void loadFlow()
        Allows the user to load a flow snippet.
      • saveFlow

        protected void saveFlow()
        Allows the user to save the current flow snippet.
      • checkFlow

        protected boolean checkFlow​(boolean silent)
        Checks the flow.
        silent - only pops up a dialog if invalid flow
        true if flow ok
      • runFlow

        protected void runFlow()
        Runs the flow.
      • setCurrentFlow

        public void setCurrentFlow​(Actor value)
        Sets the flow.
        value - the flow
      • getCurrentFlow

        public Actor getCurrentFlow()
        Returns the flow.
        the flow
      • assign

        public void assign​(AbstractWidget other)
        Retrieves the values from the other widget, if possible.
        Specified by:
        assign in class AbstractWidget
        other - the other widget to get the values from
      • serialize

        public Object serialize()
        Serializes the setup from the widget.
        Specified by:
        serialize in class AbstractWidget
        the generated setup representation
      • deserialize

        public void deserialize​(Object data,
                                MessageCollection errors)
        Deserializes the setup and maps it onto the widget. /** Deserializes the setup and maps it onto the widget.
        Specified by:
        deserialize in class AbstractWidget
        data - the setup representation to use
        errors - for collecting errors