File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
src/test/java/com/flowingcode/vaadin/addons/carousel Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 115115 <dependency >
116116 <groupId >com.flowingcode.vaadin.addons.demo</groupId >
117117 <artifactId >commons-demo</artifactId >
118- <version >1.0 .0-SNAPSHOT</version >
118+ <version >2.1 .0-SNAPSHOT</version >
119119 <scope >test</scope >
120120 </dependency >
121121 </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
@@ -38,11 +38,11 @@ public class CarouselDemoView extends VerticalLayout {
3838 private static final String BUTTONS_SOURCE = "https://github.com/FlowingCode/CarouselAddon/blob/master/src/test/java/com/flowingcode/vaadin/addons/carousel/SlideButtonsDemo.java" ;
3939
4040 public CarouselDemoView () {
41- TabbedDemoImpl < ListenerDemo > carouselDemo = new TabbedDemoImpl <>( new ListenerDemo (), LISTENER_DEMO ,
42- LISTENER_SOURCE );
43- carouselDemo .addDemo (new AutoProgressDemo (), AUTOPROGRESS_DEMO , AUTPROGRESS_SOURCE );
44- carouselDemo .addDemo (new SlideButtonsDemo (), BUTTONS_DEMO , BUTTONS_SOURCE );
45- add (carouselDemo );
41+ TabbedDemo demo = new TabbedDemo ();
42+ demo . addDemo ( new ListenerDemo (), LISTENER_DEMO , LISTENER_SOURCE );
43+ demo .addDemo (new AutoProgressDemo (), AUTOPROGRESS_DEMO , AUTPROGRESS_SOURCE );
44+ demo .addDemo (new SlideButtonsDemo (), BUTTONS_DEMO , BUTTONS_SOURCE );
45+ add (demo );
4646 setSizeFull ();
4747 }
4848}
You can’t perform that action at this time.
0 commit comments