Skip to content

Commit c2db250

Browse files
mlopezFCjavier-godoy
authored andcommitted
refactor(demo): rename ApplayoutDemoView to AppLayoutDemoView
1 parent ca11bf6 commit c2db250

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/*-
2+
* #%L
3+
* Template Add-on
4+
* %%
5+
* Copyright (C) 2023 Flowing Code
6+
* %%
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
* #L%
19+
*/
20+
package com.flowingcode.vaadin.addons.applayout;
21+
22+
import com.flowingcode.vaadin.addons.DemoLayout;
23+
import com.flowingcode.vaadin.addons.GithubLink;
24+
import com.flowingcode.vaadin.addons.demo.TabbedDemo;
25+
import com.vaadin.flow.router.ParentLayout;
26+
import com.vaadin.flow.router.Route;
27+
28+
@SuppressWarnings("serial")
29+
@ParentLayout(DemoLayout.class)
30+
@Route("applayout")
31+
@GithubLink("https://github.com/FlowingCode/ExtendedLoginAddon")
32+
public class AppLayoutDemoView extends TabbedDemo {
33+
34+
public AppLayoutDemoView() {
35+
addDemo(AppLayoutDemo.class);
36+
addDemo(ExtendingAppLayoutDemo.class);
37+
38+
setSizeFull();
39+
}
40+
}

src/test/java/com/flowingcode/vaadin/addons/applayout/DemoView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ public class DemoView extends VerticalLayout implements BeforeEnterObserver {
3030

3131
@Override
3232
public void beforeEnter(BeforeEnterEvent event) {
33-
event.forwardTo(ApplayoutDemoView.class);
33+
event.forwardTo(AppLayoutDemoView.class);
3434
}
3535
}

0 commit comments

Comments
 (0)