Closed meltzow closed 8 years ago
This is indeed something usefull, but I haven't made it before because some components are not intended to be user-friendly ands are used only by the engine. So it's useless to show them in the add component dialog.
But this is not really a problem to have them in the list, while it is indeed very usefull to find them automatically, so your code is indeed a good idea.
What I wanted to do as a long term goal was to create a component editor in the user interface. This way we provide a unique and strict pattern for all components and prevent them to have to write tens of stupid beans. It is also a solution to focus the user on writting only code for logic in processors.
This solution requires some code auto generation. Do you have experience with that? Are you interested in an implementation? I will open an issue for that.
all components are now found by reflection. Its possible to create new Components in "userspace/example project" you must update the gradle dependencies, because the google reflection api was added.