diff --git a/.gitignore b/.gitignore index 6cdbae6..0ab4d2d 100644 --- a/.gitignore +++ b/.gitignore @@ -194,3 +194,5 @@ target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst gwt-material-basic.iml .idea/ .target/ +target/ +idea/ diff --git a/pom.xml b/pom.xml index 8d7a29a..f5f9ce4 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,11 @@ + + gwt-material-parent + com.github.gwtmaterialdesign + 1.5.0 + 4.0.0 com.github.gwtmaterialdesign diff --git a/src/main/java/com/github/gwtmaterialdesign/GwtMaterialBasic.gwt.xml b/src/main/java/com/github/gwtmaterialdesign/GwtMaterialBasic.gwt.xml index 3852ec4..e222623 100644 --- a/src/main/java/com/github/gwtmaterialdesign/GwtMaterialBasic.gwt.xml +++ b/src/main/java/com/github/gwtmaterialdesign/GwtMaterialBasic.gwt.xml @@ -1,4 +1,24 @@ + + diff --git a/src/main/java/com/github/gwtmaterialdesign/client/application/ApplicationModule.java b/src/main/java/com/github/gwtmaterialdesign/client/application/ApplicationModule.java index 936b57d..1c7d720 100644 --- a/src/main/java/com/github/gwtmaterialdesign/client/application/ApplicationModule.java +++ b/src/main/java/com/github/gwtmaterialdesign/client/application/ApplicationModule.java @@ -1,5 +1,26 @@ package com.github.gwtmaterialdesign.client.application; +/* + * #%L + * GwtMaterial + * %% + * Copyright (C) 2015 - 2016 GwtMaterialDesign + * %% + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * #L% + */ + + import com.github.gwtmaterialdesign.client.application.home.HomeModule; import com.gwtplatform.mvp.client.gin.AbstractPresenterModule; diff --git a/src/main/java/com/github/gwtmaterialdesign/client/application/ApplicationPresenter.java b/src/main/java/com/github/gwtmaterialdesign/client/application/ApplicationPresenter.java index d0ed8bd..425054f 100644 --- a/src/main/java/com/github/gwtmaterialdesign/client/application/ApplicationPresenter.java +++ b/src/main/java/com/github/gwtmaterialdesign/client/application/ApplicationPresenter.java @@ -1,5 +1,26 @@ package com.github.gwtmaterialdesign.client.application; +/* + * #%L + * GwtMaterial + * %% + * Copyright (C) 2015 - 2016 GwtMaterialDesign + * %% + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * #L% + */ + + import com.google.gwt.event.shared.GwtEvent; import com.google.inject.Inject; import com.google.web.bindery.event.shared.EventBus; diff --git a/src/main/java/com/github/gwtmaterialdesign/client/application/ApplicationView.java b/src/main/java/com/github/gwtmaterialdesign/client/application/ApplicationView.java index ab67a34..3da30f0 100644 --- a/src/main/java/com/github/gwtmaterialdesign/client/application/ApplicationView.java +++ b/src/main/java/com/github/gwtmaterialdesign/client/application/ApplicationView.java @@ -1,5 +1,26 @@ package com.github.gwtmaterialdesign.client.application; +/* + * #%L + * GwtMaterial + * %% + * Copyright (C) 2015 - 2016 GwtMaterialDesign + * %% + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * #L% + */ + + import javax.inject.Inject; import com.google.gwt.uibinder.client.UiBinder; diff --git a/src/main/java/com/github/gwtmaterialdesign/client/application/ApplicationView.ui.xml b/src/main/java/com/github/gwtmaterialdesign/client/application/ApplicationView.ui.xml index 66788ab..9ae47de 100644 --- a/src/main/java/com/github/gwtmaterialdesign/client/application/ApplicationView.ui.xml +++ b/src/main/java/com/github/gwtmaterialdesign/client/application/ApplicationView.ui.xml @@ -1,3 +1,22 @@ + diff --git a/src/main/java/com/github/gwtmaterialdesign/client/application/home/HomeModule.java b/src/main/java/com/github/gwtmaterialdesign/client/application/home/HomeModule.java index fc4cbaa..e271562 100644 --- a/src/main/java/com/github/gwtmaterialdesign/client/application/home/HomeModule.java +++ b/src/main/java/com/github/gwtmaterialdesign/client/application/home/HomeModule.java @@ -1,5 +1,26 @@ package com.github.gwtmaterialdesign.client.application.home; +/* + * #%L + * GwtMaterial + * %% + * Copyright (C) 2015 - 2016 GwtMaterialDesign + * %% + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * #L% + */ + + import com.gwtplatform.mvp.client.gin.AbstractPresenterModule; public class HomeModule extends AbstractPresenterModule { diff --git a/src/main/java/com/github/gwtmaterialdesign/client/application/home/HomePresenter.java b/src/main/java/com/github/gwtmaterialdesign/client/application/home/HomePresenter.java index e698f9a..83368fc 100644 --- a/src/main/java/com/github/gwtmaterialdesign/client/application/home/HomePresenter.java +++ b/src/main/java/com/github/gwtmaterialdesign/client/application/home/HomePresenter.java @@ -1,5 +1,26 @@ package com.github.gwtmaterialdesign.client.application.home; +/* + * #%L + * GwtMaterial + * %% + * Copyright (C) 2015 - 2016 GwtMaterialDesign + * %% + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * #L% + */ + + import com.github.gwtmaterialdesign.client.application.ApplicationPresenter; import com.github.gwtmaterialdesign.client.place.NameTokens; import com.google.inject.Inject; diff --git a/src/main/java/com/github/gwtmaterialdesign/client/application/home/HomeView.java b/src/main/java/com/github/gwtmaterialdesign/client/application/home/HomeView.java index 3e754cd..bcf3a53 100644 --- a/src/main/java/com/github/gwtmaterialdesign/client/application/home/HomeView.java +++ b/src/main/java/com/github/gwtmaterialdesign/client/application/home/HomeView.java @@ -1,5 +1,26 @@ package com.github.gwtmaterialdesign.client.application.home; +/* + * #%L + * GwtMaterial + * %% + * Copyright (C) 2015 - 2016 GwtMaterialDesign + * %% + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * #L% + */ + + import javax.inject.Inject; import com.google.gwt.uibinder.client.UiBinder; diff --git a/src/main/java/com/github/gwtmaterialdesign/client/application/home/HomeView.ui.xml b/src/main/java/com/github/gwtmaterialdesign/client/application/home/HomeView.ui.xml index cd71710..a62b6e2 100644 --- a/src/main/java/com/github/gwtmaterialdesign/client/application/home/HomeView.ui.xml +++ b/src/main/java/com/github/gwtmaterialdesign/client/application/home/HomeView.ui.xml @@ -1,3 +1,22 @@ + diff --git a/src/main/java/com/github/gwtmaterialdesign/client/gin/ClientModule.java b/src/main/java/com/github/gwtmaterialdesign/client/gin/ClientModule.java index c8dc96f..5aae449 100644 --- a/src/main/java/com/github/gwtmaterialdesign/client/gin/ClientModule.java +++ b/src/main/java/com/github/gwtmaterialdesign/client/gin/ClientModule.java @@ -1,5 +1,26 @@ package com.github.gwtmaterialdesign.client.gin; +/* + * #%L + * GwtMaterial + * %% + * Copyright (C) 2015 - 2016 GwtMaterialDesign + * %% + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * #L% + */ + + import com.github.gwtmaterialdesign.client.application.ApplicationModule; import com.github.gwtmaterialdesign.client.place.NameTokens; import com.github.gwtmaterialdesign.client.resources.ResourceLoader; diff --git a/src/main/java/com/github/gwtmaterialdesign/client/place/NameTokens.java b/src/main/java/com/github/gwtmaterialdesign/client/place/NameTokens.java index eae8a0f..fb6c39b 100644 --- a/src/main/java/com/github/gwtmaterialdesign/client/place/NameTokens.java +++ b/src/main/java/com/github/gwtmaterialdesign/client/place/NameTokens.java @@ -1,5 +1,26 @@ package com.github.gwtmaterialdesign.client.place; +/* + * #%L + * GwtMaterial + * %% + * Copyright (C) 2015 - 2016 GwtMaterialDesign + * %% + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * #L% + */ + + public class NameTokens { public static final String HOME = "/"; } diff --git a/src/main/java/com/github/gwtmaterialdesign/client/resources/AppResources.java b/src/main/java/com/github/gwtmaterialdesign/client/resources/AppResources.java index d3b23ec..81961b5 100644 --- a/src/main/java/com/github/gwtmaterialdesign/client/resources/AppResources.java +++ b/src/main/java/com/github/gwtmaterialdesign/client/resources/AppResources.java @@ -1,5 +1,26 @@ package com.github.gwtmaterialdesign.client.resources; +/* + * #%L + * GwtMaterial + * %% + * Copyright (C) 2015 - 2016 GwtMaterialDesign + * %% + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * #L% + */ + + import com.google.gwt.resources.client.ClientBundle; import com.google.gwt.resources.client.CssResource; diff --git a/src/main/java/com/github/gwtmaterialdesign/client/resources/ResourceLoader.java b/src/main/java/com/github/gwtmaterialdesign/client/resources/ResourceLoader.java index 5a395c1..ba59277 100644 --- a/src/main/java/com/github/gwtmaterialdesign/client/resources/ResourceLoader.java +++ b/src/main/java/com/github/gwtmaterialdesign/client/resources/ResourceLoader.java @@ -1,5 +1,26 @@ package com.github.gwtmaterialdesign.client.resources; +/* + * #%L + * GwtMaterial + * %% + * Copyright (C) 2015 - 2016 GwtMaterialDesign + * %% + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * #L% + */ + + import javax.inject.Inject; public class ResourceLoader { diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index f2f8a7d..61dd658 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -1,4 +1,24 @@ + +