[forge/core] a84194: Moved scaffold-faces to javaee addon
by Vineet Reynolds
Branch: refs/heads/master
Home: https://github.com/forge/core
Commit: a84194f3a53e6fb110ea014a1dbd13be3dbfd318
https://github.com/forge/core/commit/a84194f3a53e6fb110ea014a1dbd13be3dbf...
Author: Vineet Reynolds <Vineet.Reynolds(a)gmail.com>
Date: 2014-03-13 (Thu, 13 Mar 2014)
Changed paths:
A javaee/faces/pom.xml
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/FacesAccessStrategy.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/FacesScaffoldProvider.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/FacesTemplateStrategy.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/ScaffoldableEntitySelectionWizard.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/TemplateStrategy.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/freemarker/FreemarkerTemplateProcessor.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/config/ForgeConfigReader.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/inspectionresultprocessor/GeneratedValueInspectionResultProcessor.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/inspectionresultprocessor/NotRequiredInspectionResultProcessor.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/inspectionresultprocessor/RichfacesCalendarInspectionResultProcessor.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/inspector/ForgeInspectionResultConstants.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/inspector/ForgeInspector.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/inspector/propertystyle/ForgePropertyStyle.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/inspector/propertystyle/ForgePropertyStyleConfig.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/widgetbuilder/EntityWidgetBuilder.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/widgetbuilder/EntityWidgetBuilderConfig.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/widgetbuilder/HtmlSearchWidgetBuilder.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/widgetbuilder/QueryByExampleWidgetBuilder.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/widgetbuilder/RemoveEntityWidgetBuilder.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/widgetbuilder/SetPropertyActionListener.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/widgetprocessor/UnsearchableWidgetProcessor.java
A javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/util/ScaffoldUtil.java
A javaee/faces/src/main/resources/META-INF/beans.xml
A javaee/faces/src/main/resources/scaffold/faces/BackingBean.jv
A javaee/faces/src/main/resources/scaffold/faces/ViewUtils.jv
A javaee/faces/src/main/resources/scaffold/faces/add.png
A javaee/faces/src/main/resources/scaffold/faces/bootstrap.css
A javaee/faces/src/main/resources/scaffold/faces/create.xhtml
A javaee/faces/src/main/resources/scaffold/faces/error.xhtml
A javaee/faces/src/main/resources/scaffold/faces/false.png
A javaee/faces/src/main/resources/scaffold/faces/favicon.ico
A javaee/faces/src/main/resources/scaffold/faces/forge-logo.png
A javaee/faces/src/main/resources/scaffold/faces/forge-style.css
A javaee/faces/src/main/resources/scaffold/faces/forge.taglib.xml
A javaee/faces/src/main/resources/scaffold/faces/index.html
A javaee/faces/src/main/resources/scaffold/faces/index.xhtml
A javaee/faces/src/main/resources/scaffold/faces/jboss-community.png
A javaee/faces/src/main/resources/scaffold/faces/metawidget-bean.xml
A javaee/faces/src/main/resources/scaffold/faces/metawidget-entity.xml
A javaee/faces/src/main/resources/scaffold/faces/metawidget-qbe.xml
A javaee/faces/src/main/resources/scaffold/faces/metawidget-remove-entity.xml
A javaee/faces/src/main/resources/scaffold/faces/metawidget-search.xml
A javaee/faces/src/main/resources/scaffold/faces/pageTemplate.xhtml
A javaee/faces/src/main/resources/scaffold/faces/paginator.xhtml
A javaee/faces/src/main/resources/scaffold/faces/remove.png
A javaee/faces/src/main/resources/scaffold/faces/search.png
A javaee/faces/src/main/resources/scaffold/faces/search.xhtml
A javaee/faces/src/main/resources/scaffold/faces/true.png
A javaee/faces/src/main/resources/scaffold/faces/view.xhtml
M javaee/pom.xml
M scaffold/addon/pom.xml
R scaffold/faces/pom.xml
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/FacesAccessStrategy.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/FacesScaffoldProvider.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/FacesTemplateStrategy.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/ScaffoldableEntitySelectionWizard.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/TemplateStrategy.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/freemarker/FreemarkerTemplateProcessor.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/config/ForgeConfigReader.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/inspectionresultprocessor/GeneratedValueInspectionResultProcessor.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/inspectionresultprocessor/NotRequiredInspectionResultProcessor.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/inspectionresultprocessor/RichfacesCalendarInspectionResultProcessor.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/inspector/ForgeInspectionResultConstants.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/inspector/ForgeInspector.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/inspector/propertystyle/ForgePropertyStyle.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/inspector/propertystyle/ForgePropertyStyleConfig.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/widgetbuilder/EntityWidgetBuilder.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/widgetbuilder/EntityWidgetBuilderConfig.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/widgetbuilder/HtmlSearchWidgetBuilder.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/widgetbuilder/QueryByExampleWidgetBuilder.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/widgetbuilder/RemoveEntityWidgetBuilder.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/widgetbuilder/SetPropertyActionListener.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/widgetprocessor/UnsearchableWidgetProcessor.java
R scaffold/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/util/ScaffoldUtil.java
R scaffold/faces/src/main/resources/META-INF/beans.xml
R scaffold/faces/src/main/resources/scaffold/faces/BackingBean.jv
R scaffold/faces/src/main/resources/scaffold/faces/ViewUtils.jv
R scaffold/faces/src/main/resources/scaffold/faces/add.png
R scaffold/faces/src/main/resources/scaffold/faces/bootstrap.css
R scaffold/faces/src/main/resources/scaffold/faces/create.xhtml
R scaffold/faces/src/main/resources/scaffold/faces/error.xhtml
R scaffold/faces/src/main/resources/scaffold/faces/false.png
R scaffold/faces/src/main/resources/scaffold/faces/favicon.ico
R scaffold/faces/src/main/resources/scaffold/faces/forge-logo.png
R scaffold/faces/src/main/resources/scaffold/faces/forge-style.css
R scaffold/faces/src/main/resources/scaffold/faces/forge.taglib.xml
R scaffold/faces/src/main/resources/scaffold/faces/index.html
R scaffold/faces/src/main/resources/scaffold/faces/index.xhtml
R scaffold/faces/src/main/resources/scaffold/faces/jboss-community.png
R scaffold/faces/src/main/resources/scaffold/faces/metawidget-bean.xml
R scaffold/faces/src/main/resources/scaffold/faces/metawidget-entity.xml
R scaffold/faces/src/main/resources/scaffold/faces/metawidget-qbe.xml
R scaffold/faces/src/main/resources/scaffold/faces/metawidget-remove-entity.xml
R scaffold/faces/src/main/resources/scaffold/faces/metawidget-search.xml
R scaffold/faces/src/main/resources/scaffold/faces/pageTemplate.xhtml
R scaffold/faces/src/main/resources/scaffold/faces/paginator.xhtml
R scaffold/faces/src/main/resources/scaffold/faces/remove.png
R scaffold/faces/src/main/resources/scaffold/faces/search.png
R scaffold/faces/src/main/resources/scaffold/faces/search.xhtml
R scaffold/faces/src/main/resources/scaffold/faces/true.png
R scaffold/faces/src/main/resources/scaffold/faces/view.xhtml
M scaffold/pom.xml
M scaffold/spi/src/main/java/org/jboss/forge/addon/scaffold/spi/ScaffoldProvider.java
M scaffold/tests/pom.xml
A scaffold/tests/src/test/java/org/jboss/forge/addon/MockScaffoldProvider.java
M scaffold/tests/src/test/java/org/jboss/forge/addon/ScaffoldAddonTest.java
Log Message:
-----------
Moved scaffold-faces to javaee addon
Commit: e89d7545b07b44ae7e1d5e40b1fe48175cf075d9
https://github.com/forge/core/commit/e89d7545b07b44ae7e1d5e40b1fe48175cf0...
Author: Vineet Reynolds <Vineet.Reynolds(a)gmail.com>
Date: 2014-03-13 (Thu, 13 Mar 2014)
Changed paths:
M javaee/addon/pom.xml
M javaee/faces/pom.xml
M javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/FacesScaffoldProvider.java
M javaee/pom.xml
M scaffold/impl/src/main/java/org/jboss/forge/addon/scaffold/impl/ui/ScaffoldGenerateCommandImpl.java
M scaffold/impl/src/main/java/org/jboss/forge/addon/scaffold/impl/ui/ScaffoldSetupWizardImpl.java
M scaffold/spi/src/main/java/org/jboss/forge/addon/scaffold/spi/ScaffoldProvider.java
M scaffold/tests/src/test/java/org/jboss/forge/addon/MockScaffoldProvider.java
M ui/api/src/main/java/org/jboss/forge/addon/ui/validate/UIValidator.java
Log Message:
-----------
Cleaned up the ScaffoldProvider SPI.
Also converted the scaffold-faces addon to a maven submodule.
Commit: b0099a5814e8fcc5098eb1c73b2b5f5a5b2986d0
https://github.com/forge/core/commit/b0099a5814e8fcc5098eb1c73b2b5f5a5b29...
Author: Vineet Reynolds <Vineet.Reynolds(a)gmail.com>
Date: 2014-03-13 (Thu, 13 Mar 2014)
Changed paths:
M javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/FacesScaffoldProvider.java
M scaffold/spi/src/main/java/org/jboss/forge/addon/scaffold/spi/ScaffoldProvider.java
M scaffold/tests/pom.xml
R scaffold/tests/src/test/java/org/jboss/forge/addon/MockScaffoldProvider.java
R scaffold/tests/src/test/java/org/jboss/forge/addon/ScaffoldAddonTest.java
A scaffold/tests/src/test/java/org/jboss/forge/addon/scaffold/MockScaffoldProvider.java
A scaffold/tests/src/test/java/org/jboss/forge/addon/scaffold/ProjectHelper.java
A scaffold/tests/src/test/java/org/jboss/forge/addon/scaffold/ScaffoldAddonTest.java
Log Message:
-----------
Enhanced the ScaffoldProvider SPI with an isSetup() method.
This is used to indicate whether a provider was setup in a given
setup context.
Also enhanced the scaffold addon test to verify for scaffold setup.
Commit: b2e25f721ca0060c741c7f1bdd099c41c3c626ac
https://github.com/forge/core/commit/b2e25f721ca0060c741c7f1bdd099c41c3c6...
Author: Vineet Reynolds <Vineet.Reynolds(a)gmail.com>
Date: 2014-03-13 (Thu, 13 Mar 2014)
Changed paths:
M javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/ScaffoldableEntitySelectionWizard.java
M scaffold/impl/src/main/java/org/jboss/forge/addon/scaffold/impl/ui/ScaffoldExecuteGenerationStep.java
M scaffold/spi/src/main/java/org/jboss/forge/addon/scaffold/spi/ResourceCollection.java
M scaffold/spi/src/main/java/org/jboss/forge/addon/scaffold/spi/ScaffoldGenerationContext.java
R scaffold/tests/src/test/java/org/jboss/forge/addon/scaffold/MockScaffoldProvider.java
M scaffold/tests/src/test/java/org/jboss/forge/addon/scaffold/ScaffoldAddonTest.java
A scaffold/tests/src/test/java/org/jboss/forge/addon/scaffold/mock/MockProvider.java
A scaffold/tests/src/test/java/org/jboss/forge/addon/scaffold/mock/Scaffoldable.java
A scaffold/tests/src/test/java/org/jboss/forge/addon/scaffold/mock/ScaffoldableResource.java
A scaffold/tests/src/test/java/org/jboss/forge/addon/scaffold/mock/ScaffoldableResourceGenerator.java
A scaffold/tests/src/test/java/org/jboss/forge/addon/scaffold/mock/Scaffolded.java
A scaffold/tests/src/test/java/org/jboss/forge/addon/scaffold/mock/ScaffoldedResource.java
A scaffold/tests/src/test/java/org/jboss/forge/addon/scaffold/mock/ScaffoldedResourceGenerator.java
Log Message:
-----------
Added test to verify the generation contract of ScaffoldProvider
A Mock scaffold provider that scaffolds mock resources has been
created.
Commit: 4744f940a2af29c05e27b925a845810d9bee6793
https://github.com/forge/core/commit/4744f940a2af29c05e27b925a845810d9bee...
Author: Vineet Reynolds <Vineet.Reynolds(a)gmail.com>
Date: 2014-03-13 (Thu, 13 Mar 2014)
Changed paths:
M core/addon/pom.xml
M javaee/addon/pom.xml
M javaee/faces/pom.xml
M javaee/pom.xml
Log Message:
-----------
Removed Faces Scaffold addon from Core.
This addon is now present in the JavaEE addon.
Hence, we'll include it just once.
Commit: 8057c19f3f1382f5b70f47cd29a1ea11714a0548
https://github.com/forge/core/commit/8057c19f3f1382f5b70f47cd29a1ea11714a...
Author: Vineet Reynolds <Vineet.Reynolds(a)gmail.com>
Date: 2014-03-13 (Thu, 13 Mar 2014)
Changed paths:
M javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/FacesScaffoldProvider.java
M javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/ScaffoldableEntitySelectionWizard.java
M scaffold/impl/src/main/java/org/jboss/forge/addon/scaffold/impl/ui/ScaffoldGenerateCommandImpl.java
M scaffold/impl/src/main/java/org/jboss/forge/addon/scaffold/impl/ui/ScaffoldSetupWizardImpl.java
Log Message:
-----------
Fixed generation logic to use JavaResources instead of JavaClasses.
This ensures that the scaffold provider design to use Resource
instances is upheld. It removes the restriction on using JavaClass
instances to represent 'scaffoldable' items for a scaffold
provider.
Commit: bcf060896966b907a9bc0a249239235bef14462c
https://github.com/forge/core/commit/bcf060896966b907a9bc0a249239235bef14...
Author: Vineet Reynolds <Vineet.Reynolds(a)gmail.com>
Date: 2014-03-13 (Thu, 13 Mar 2014)
Changed paths:
M javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/FacesScaffoldProvider.java
M javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/ScaffoldableEntitySelectionWizard.java
M scaffold/impl/src/main/java/org/jboss/forge/addon/scaffold/impl/ui/ScaffoldGenerateCommandImpl.java
M scaffold/impl/src/main/java/org/jboss/forge/addon/scaffold/impl/ui/ScaffoldSetupWizardImpl.java
M scaffold/spi/src/main/java/org/jboss/forge/addon/scaffold/spi/ScaffoldProvider.java
M scaffold/tests/src/test/java/org/jboss/forge/addon/scaffold/mock/MockProvider.java
Log Message:
-----------
Modified ScaffoldProvider API.
This adds Project as a parameters to the getSetupFlow() and
getGenerationFlow() methods of the ScaffoldProvider interface.
This ensures that the selected Project instance can be accessed
in these methods.
Commit: 4d4dbf8c53cd1eb33809465c77f335fe5239c996
https://github.com/forge/core/commit/4d4dbf8c53cd1eb33809465c77f335fe5239...
Author: Vineet Reynolds <Vineet.Reynolds(a)gmail.com>
Date: 2014-03-13 (Thu, 13 Mar 2014)
Changed paths:
M scaffold/impl/src/main/java/org/jboss/forge/addon/scaffold/impl/ui/ScaffoldGenerateCommandImpl.java
M scaffold/impl/src/main/java/org/jboss/forge/addon/scaffold/impl/ui/ScaffoldSetupWizardImpl.java
Log Message:
-----------
Aggregate all setup commands into a single dialog.
Commit: 1b20c29eff6d917e58b84e4c33514f92337a083f
https://github.com/forge/core/commit/1b20c29eff6d917e58b84e4c33514f92337a...
Author: Vineet Reynolds <Vineet.Reynolds(a)gmail.com>
Date: 2014-03-13 (Thu, 13 Mar 2014)
Changed paths:
M javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/FacesScaffoldProvider.java
M scaffold/impl/src/main/java/org/jboss/forge/addon/scaffold/impl/ui/ScaffoldGenerateCommandImpl.java
M scaffold/impl/src/main/java/org/jboss/forge/addon/scaffold/impl/ui/ScaffoldSetupWizardImpl.java
M scaffold/spi/src/main/java/org/jboss/forge/addon/scaffold/spi/ScaffoldProvider.java
M scaffold/tests/src/test/java/org/jboss/forge/addon/scaffold/mock/MockProvider.java
Log Message:
-----------
Modified the ScaffoldProvider API to return NavigationResults.
This now requires all scaffold providers to construct the
navigation entries themselves instead of depending on the
scaffolding addon to do so. It ensures that the wizard pages are
more accurately constructed especially if they happen to be
composite commands.
Compare: https://github.com/forge/core/compare/5e24e4b69094...1b20c29eff6d
10 years, 9 months