Class ClientTimerScriptTab

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ClientTimerScriptTab extends TimerScriptTab
See Also:
  • Constructor Details

  • Method Details

    • getScriptHints

      protected Supplier<PackageTreeNode> getScriptHints()
      Description copied from class: EventScriptTab
      Defaults to Gateway hints.
      Overrides:
      getScriptHints in class TimerScriptTab
    • getFunctionDescriptor

      protected com.inductiveautomation.ignition.common.script.typing.ExtensionFunctionDescriptor getFunctionDescriptor()
      Description copied from class: EventScriptTab
      Returns the descriptor for the extension function associated with this script editor.
      Overrides:
      getFunctionDescriptor in class TimerScriptTab
    • getAssistContext

      protected String getAssistContext()
      Description copied from class: EventScriptTab
      Natural-language framing describing what this event script is and how it runs, handed to the assist agent once per session.
      Overrides:
      getAssistContext in class EventScriptTab<ScriptConfig.TimerScript>
    • customizeAssistant

      protected void customizeAssistant(DesignerAiContext ai, EmbeddedAssistantBuilder assistant)
      Description copied from class: EventScriptTab
      Adjusts the assistant behind EventScriptTab.getAssistButton() before its button is built. assistant arrives fully configured with this tab's agent, host, and the default tag and file @-reference browsers; the default implementation leaves it unchanged. Each builder setter replaces its slot wholesale, so an override that changes the @-browsers supplies the complete list.

      Called during the ResourceEditor constructor, before subclass constructor bodies run, so an override must not read scope or any subclass field. The configuration is fixed for the life of the button.

      Overrides:
      customizeAssistant in class EventScriptTab<ScriptConfig.TimerScript>
      Parameters:
      ai - the resolved Designer AI context the button is being built against.
      assistant - the configured builder; call its setters, not its terminal methods.