Task #2114

Updated by Sebastien Jacquot over 2 years ago

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

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

CORPUS_SIMPLE_NAME + ": " + QUERY + " (" + (maxleft-1) + ", " + (maxright-1) + ")"

eg.: VOEUX: "faire" (10, 10)

h3. getSimpleName() generated string (Tree node label)

QUERY + " (" + (maxleft-1) + ", " + (maxright-1) + ")"

eg.: "faire" (10, 10)



_Idem_

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

<pre>
StringBuffer buf = new StringBuffer(60);
buf.append("Cooc: \n"); //$NON-NLS-1$
buf.append(" Corpus: " + this.corpus + "\n"); //$NON-NLS-1$ //$NON-NLS-2$
buf.append(" Query: " + this.query + "\n"); //$NON-NLS-1$ //$NON-NLS-2$
buf.append(" Properties: " + this.properties + "\n"); //$NON-NLS-1$ //$NON-NLS-2$
buf.append(" Structure: " + this.limit + "\n"); //$NON-NLS-1$ //$NON-NLS-2$
buf.append(" Empans: " + (this.minleft-1) + "<left<" + (this.maxleft-1) + " ; " + (this.minright-1) + "<right<" + (this.maxright-1) + "\n"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
buf.append(" Filters: freq>" + this.seuil_freq + " ; count>" + seuil_count + " ; score>" + seuil_score + "\n"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
return buf.toString();
</pre>

Back