Task #2217

Task #2398: Rethink Lexicon/Index units logic

TXMResult and TXMEditor hierarchy, modify Lexicon related classes to use the new hierarchy

Added by Sebastien Jacquot almost 2 years ago. Updated 2 months ago.

Status:New Start date:04/05/2017
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:Development Spent time: -
Target version:TXM 0.8.1

Description

TXMResult and TXMEditor hierarchy, modify Lexicon related classes to use the new hierarchy.

getName() generated string (Editor/Tab title and Status bar when clicking on a result node)

getSimpleName() generated string (Tree node label)

getDetails() generated string (Editor/Tab tool tip)

In progress. Need to redefine the hierarchy of Index and Lexicon and of DictionnaryEditor and IndexEditor so they can use the mutualized code of TXMResult, TXMEditor, etc.
Locations:
/org.txm.lexicon.core/src/org/txm/lexicon/core/corpusengine/cqp/Lexicon.java
/org.txm.lexicon.rcp/src/org/txm/lexicon/rcp/editors/DictionnaryEditor.java

Rename DictionnaryEditor to LexiconEditor?
Do not store a Lexicon in the Index object?
Make Lexicon inherit from Index?

History

#1 Updated by Sebastien Jacquot almost 2 years ago

  • Description updated (diff)

#2 Updated by Sebastien Jacquot almost 2 years ago

  • Description updated (diff)

#3 Updated by Sebastien Jacquot 11 months ago

  • Parent task changed from #2113 to #2398

#4 Updated by Matthieu Decorde 4 months ago

  • % Done changed from 0 to 80

Index, PartitionIndex and Lexicon objects have been simplified

#5 Updated by Sebastien Jacquot 2 months ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.1

Also available in: Atom PDF