Skip to content

Listening for compiler updates from tool #5712

Closed
@tomneutens

Description

@tomneutens

I would like to show the compile/upload progress in my tool. As far as i can see in the source code the editor.status::progressUpdate method is passed to the compiler build() method in the SketchController class. Consequently, there is no way of adding my own listener to the update process.

I can see two options to make the behaviour i want to implement possible:

  1. quick and dirty: provide a getter for the "JProgressBar progressBar" in the EditorStatus class so i can listen for updates of the JProgressBar.

  2. make it possible to add listerners to a listenerlist in the SketchController class so mulitple objects can listen for the build updates.

Is this something which could bed added?

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestA request to make an enhancement (not a bug fix)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions