Class FromFile

    • Field Detail

      • m_TemplateFile

        protected PlaceholderFile m_TemplateFile
        the file to load.
    • Constructor Detail

      • FromFile

        public FromFile()
    • Method Detail

      • setTemplateFile

        public void setTemplateFile​(PlaceholderFile value)
        Sets the template file to load.
        Parameters:
        value - the file
      • getTemplateFile

        public PlaceholderFile getTemplateFile()
        Returns the template file currently to load.
        Returns:
        the file
      • templateFileTipText

        public String templateFileTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • isInteractive

        public boolean isInteractive()
        Whether the flow generated is an interactive one.
        Can't tell without loading.
        Specified by:
        isInteractive in class AbstractActorTemplate
        Returns:
        always false
      • preGenerate

        protected void preGenerate()
        Hook before generating the actor.

        Checks whether the template file exists.
        Overrides:
        preGenerate in class AbstractActorTemplate