This addon implements some specialized buttons:
- HoldButton - a Button that needs to be pressed for a specified time.
- SlideButton - a Button simulating "swipe to unlock" style.
- DelayedButton - a Button that becomes active only after a delay. Shows a countdown in caption.
- CancellableButton - a Button that you can cancel during given period. Shows a countdown in caption.
- Import to your favourite IDE
- Run the Maven goal
mvn jetty:run
http://localhost:8099 - 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 "it" (mvn verify -Pit).
- 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.
- Push your changes to e.g. Github
- Update pom.xml to contain proper SCM coordinates (first time only)
- Use Maven release plugin (mvn versions:set -DnewVersion=4.0.3; mvn install -Pdirectory)
- 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)