File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
src/test/java/com/flowingcode/vaadin/addons/googlemaps Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 128128 <dependency >
129129 <groupId >com.flowingcode.vaadin.addons.demo</groupId >
130130 <artifactId >commons-demo</artifactId >
131- <version >1.0 .0-SNAPSHOT</version >
131+ <version >2.1 .0-SNAPSHOT</version >
132132 <scope >test</scope >
133133 </dependency >
134134 </dependencies >
Original file line number Diff line number Diff line change 2121
2222import com .flowingcode .vaadin .addons .DemoLayout ;
2323import com .flowingcode .vaadin .addons .GithubLink ;
24- import com .flowingcode .vaadin .addons .demo .impl . TabbedDemoImpl ;
24+ import com .flowingcode .vaadin .addons .demo .TabbedDemo ;
2525import com .vaadin .flow .component .orderedlayout .VerticalLayout ;
2626import com .vaadin .flow .router .Route ;
2727
2828@ SuppressWarnings ("serial" )
2929@ Route (value = "googlemaps" , layout = DemoLayout .class )
3030@ GithubLink ("https://github.com/FlowingCode/GoogleMapsAddon" )
31- public class GooglemapsDemoView extends VerticalLayout {
31+ public class GooglemapsDemoView extends TabbedDemo {
3232
3333 private static final String GMAPS_DEMO = "Google Maps Demo" ;
3434 private static final String GMAPS_SOURCE = "https://github.com/FlowingCode/GoogleMapsAddon/blob/master/src/test/java/com/flowingcode/vaadin/addons/googlemaps/GooglemapsDemoView.java" ;
3535
3636 public GooglemapsDemoView () {
37- TabbedDemoImpl <GoogleMapsDemo > mapsDemo = new TabbedDemoImpl <GoogleMapsDemo >(new GoogleMapsDemo (), GMAPS_DEMO ,
38- GMAPS_SOURCE );
37+ addDemo (new GoogleMapsDemo (), GMAPS_DEMO , GMAPS_SOURCE );
3938 setSizeFull ();
40- add (mapsDemo );
4139 }
4240}
You can’t perform that action at this time.
0 commit comments