cnescatlab / cnescatlab/i-CodeCNES

The export extension point should also provide the parameters

Open
#61 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Fortran
Stars
63
Forks
18
PR merge metrics
No merged PRs in 30d

Description

It could be a good idea to manage the parameters in the extension point definition rather than in the code with a 'hasParameters' method to be implemented (without providing a method to know what are the parameters...).

Actually parameters are guessed by calling 'getParameters', if they have been initialized in the exporter's constructor.

If the exporter extension point provides the parameter definition, in its schema, it would be easier to manage them and to define the comment for each. A parameter could contain : name, required/optional, description, ....

Then this list of parameters can be reused to initialize the export wizard and to initialize properly the expected parameters list for export...

This issue concerns also importers when they will be defined.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.