Task #2400
Mis à jour par Sebastien Jacquot il y a plus de 5 ans
Define:
* getName()
* getSimpleName()
* getAdvancedName()?
* getDetails()?
* toString()
Uses these and which methods to display in these possible locations:
* Corpora view
** tree node label (AdapterFactory) (I think this node should be updated when some parameters of the command change, eg. for Wordcloud I did that and display the fmin/vmax in the node : Worcloud (20/200))
** status bar (when clicking on a node result)
* Editor
** tab title
** tab tool tip
** chart title
** chart subtitle
** add some extra legend in chart with more details?
* Log
** console
* Export
** prefilled file name when exporting a result (could be the editor tab title, it is not uniformed at this moment)
getAdvancedName() could return a string dedicated to "advanced users" following XML pattern with @ showing what is SU and what is SUP, eg.:
* partition name: DISCOURS_text@loc
* use one of these methods in the CorporaView click listener to update the status bar (location: org/txm/rcpapplication/views/CorporaView.java)
* use one of these methods in the export dialog to fill the file name
* define methods Log.info(TXMResult), severe(TXMResult), etc. that call TXMResult.toString() and use them for logging. This methods should also call the stack to display the method name in log.
WIP:
This ticket is dedicated to centralize and check the standardizing of result text labels in UI at 3 locations:
* Corpora view tree node label
* Editor/Tab title and Status bar when clicking on a result node
* Editor/Tab tool tip
* TODO: add information Area at bottom toolbar ? redundancy with status bar?
Dev note: methods called in each area are:
* getSimpleName() (Tree node label)
* getName()(Editor/Tab title and Status bar when clicking on a result node)
* getDetails() (Editor/Tab tool tip)
* getComputingStartMessage() (redirigé vers la console par TXMEditor lors d'un compute)
* getComputingDoneMessage() (redirigé vers la console par TXMEditor lors d'un compute)
* create some methods?: getParametersDetails(), getSummary(), etc.
* getDeleteMessage(), getComputingFailedMessage() ?
| TXMResult | Tree Node label | Editor/Tab title and Status bar | Editor/Tab tool tip |
| Concordance | | | |
| | | | |
| Cooccurrence | | | |
| | | | |
| Index | | | |
| | | | |
| Properties | | | |
| | | | |
| Partition Properties | | | |
| | | | |
| InternalView | | | |
| | | | |
| LexicalTable | | | |
| | | | |
| Lexicon | | | |
| | | | |
| Referencer | | | |
| | | | |
| Specificities | | | |
| | | | |
| SpecificitiesSelection | | | |
| | | | |
| AHC | PARENT_CA_NAME | _idem_ | _idem_ |
| | VOEUX_text_annee:word | _idem_ | _idem_ |
| CA | PARENT_CORPUS_SIMPLE_NAME OR PARENT_PARTITION_SIMPLE_NAME + ":" + PROPERTY_NAME + " (" + FIRST_DIMENSION + "," + SECOND_DIMENSION + ")" | PROPERTY_NAME + " (" + FIRST_DIMENSION + "," + SECOND_DIMENSION + ")" | |
| | VOEUX_text_annee:word (1,3) | word (1,3) | "FMin = " + this.getLexicalTable().getFMin() |
| Progression | | | |
| | | | |