Directory

← Back

Yasqe for Vaadin

Yasqe for Vaadin

Author

Rating

Popularity

<100

vaadin-yasqe

Vaadin bindings for Yet Another SPARQL Query Editor (Yasqe)

Github: https://github.com/Scaseco/vaadin-yasqe

Features

  • Execute Button (aka Query Button), Short Link and Curl Buttons configurable.
  • HTTP Request Parameters configurable (RequestConfig)
  • Prefix API URL configurable

Limitations

  • Prefix lookups should actually go to Vaadin first, rather than directly to a third party remote API - this is future work.

Sample code

public class MyComponent extends VerticalLayout {
    public MyComponent() {
        setSizeFull();
        YasqeConfig config = new YasqeConfig();
        config.setResizeable(false);
        Yasqe yasqe = new Yasqe(config);
        yasqe.setSizeFull();
        this.add(yasqe);

        yasqe.addQueryButtonListener(ev -> {
            new Notification("Is abort? " + ev.isAbort() + " - " + ev.getValue(), 5000)
                .open();
            ev.getSource().updateQueryButton(!ev.isAbort(), null);
        });
    }
}

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Released
2024-02-16
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 14+
Browser
N/A

Yasqe for Vaadin - Vaadin Add-on Directory

Yasqe for Vaadin Yasqe for Vaadin - Vaadin Add-on Directory
# vaadin-yasqe Vaadin bindings for Yet Another SPARQL Query Editor (Yasqe) Github: https://github.com/Scaseco/vaadin-yasqe ## Features * Execute Button (aka Query Button), Short Link and Curl Buttons configurable. * HTTP Request Parameters configurable (RequestConfig) * Prefix API URL configurable ## Limitations * Prefix lookups should actually go to Vaadin first, rather than directly to a third party remote API - this is future work.
Online