CancellableButton implements a Button that can be cancelled within a given delay. Until then a count down caption is presented to user.
- Import to your favourite IDE
- Run main method of the Server class to launch embedded web server that lists all your test UIs at http://localhost:9998
- Code and test
- create UI's for various use cases for your add-ons, see examples. These can also work as usage examples for your add-on users.
- create browser level and integration tests under src/test/java/
- Browser level tests are executed manually from IDE (JUnit case) or with Maven profile "browsertests" (mvn verify -Pbrowsertests). The browsertests profile is enabled automatically for release builds
- Test also in real world projects, e.g. create a demo project, build a snapshot release ("mvn install") and use the snapshot build in it.
- To recompile test widgetset, issue mvn vaadin:compile, if you think the widgetset changes are not picked up by Vaadin plugin, do a mvn clean package or try with parameter mvn vaadin:compile -Dgwt.compiler.force=true
- To use superdevmode, issue "mvn vaadin:run-codeserver" and then just open superdevmode like with any other project
- Push your changes to e.g. Github
- Update pom.xml to contain proper SCM coordinates (first time only)
- Use Maven release plugin (mvn release:prepare; mvn release:perform)
- Upload the ZIP file generated to target/checkout/target directory to https://vaadin.com/directory service (and/or optionally publish your add-on to Maven central)