Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New framework to define MultiComponent types from existing components.
A MultiComponents base class has been implemented to convert existing components into a list of their own types which can be used to render more than one instance of that command.
A new BLOCKS components has been implemented using that approach.
Other components have been implemented before to provide a similar ability of replicating SWAN commands, for example the QUANTITIES component. These existing classes should now be rewritten to use this new Base Class approach (this still needs to be done). There will be a small change from the user's perspective in that the main field for them will always be
components
now, which is different from the existing ones which use custom fields for each class (for example, in the case of QUANTITIES, the field is called quantities, for the CURVES component the field is currently defined as curves, and so on).This pull request should address #118 from @alsonathif