Révision 611
tmp/org.txm.rcp.feature/TXM.sh (revision 611) | ||
---|---|---|
1 |
chmod +x .main |
|
2 |
sh .main -standalone |
tmp/org.txm.rcp.feature/build.properties (revision 611) | ||
---|---|---|
1 |
bin.includes = feature.xml |
|
1 |
bin.includes = feature.xml,\ |
|
2 |
EMPTYTXMHOME/,\ |
|
3 |
TXM.sh |
tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/TXMEditorPart.java (revision 611) | ||
---|---|---|
409 | 409 |
|
410 | 410 |
if (!editorInput.getResult().compute(update, monitor)) { |
411 | 411 |
Log.info("TXMEditorPart.compute(): compute failed."); |
412 |
|
|
413 | 412 |
} |
414 | 413 |
|
415 | 414 |
monitor.worked(50); |
tmp/org.txm.rcp/rcpapplication.product (revision 611) | ||
---|---|---|
67 | 67 |
startupProgressRect="13,332,290,15" |
68 | 68 |
startupMessageRect="13,312,290,20" |
69 | 69 |
startupForegroundColor="000000" /> |
70 |
<launcher name="TXM">
|
|
70 |
<launcher name=".main">
|
|
71 | 71 |
<linux icon="/org.txm.rcp/icons/logo/TXM logo.xpm"/> |
72 | 72 |
<macosx icon="/org.txm.rcp/icons/logo/TXM logo.icns"/> |
73 | 73 |
<solaris/> |
tmp/org.txm.index.core/src/org/txm/index/core/functions/Index.java (revision 611) | ||
---|---|---|
86 | 86 |
protected int Fmin = 9999999; |
87 | 87 |
/** The lexicon used to compute the index (if query = null || query == [] && properties.size() == 1 */ |
88 | 88 |
protected Lexicon lexicon; |
89 |
boolean lexiconMode = false; |
|
89 |
protected boolean lexiconMode = false;
|
|
90 | 90 |
/** The current lines. */ |
91 | 91 |
protected List<Line> lines = new ArrayList<Line>(); |
92 | 92 |
/** The current number of lines. */ |
... | ... | |
103 | 103 |
protected Integer pFminFilter; |
104 | 104 |
/** The number of lines shown per page parameter */ |
105 | 105 |
@Parameter(key=IndexPreferences.NLINESPERPAGE) |
106 |
private Integer pNLinesPerPage;
|
|
106 |
protected Integer pNLinesPerPage;
|
|
107 | 107 |
/** The word properties shown. */ |
108 | 108 |
@Parameter |
109 | 109 |
protected List<Property> pProperties; |
tmp/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 611) | ||
---|---|---|
698 | 698 |
*/ |
699 | 699 |
public abstract boolean setParameters(TXMParameters parameters) throws Exception; |
700 | 700 |
|
701 |
|
|
701 |
/** |
|
702 |
* Initializes the @Parameter class members objects |
|
703 |
* |
|
704 |
* @param parameters |
|
705 |
* @return |
|
706 |
* @throws Exception |
|
707 |
*/ |
|
708 |
public final boolean setParameters(HashMap<String, Object> parameters) throws Exception { |
|
709 |
return setParameters(new TXMParameters(parameters)); |
|
710 |
} |
|
702 | 711 |
|
712 |
|
|
703 | 713 |
/** |
704 | 714 |
* Sets a parameters from its parameter annotation "key". |
705 | 715 |
* @param key |
tmp/org.txm.core/src/java/org/txm/core/results/TXMParameters.java (revision 611) | ||
---|---|---|
21 | 21 |
*/ |
22 | 22 |
private static final long serialVersionUID = 6004847012085746970L; |
23 | 23 |
|
24 |
public TXMParameters(HashMap<String, Object> parameters) { |
|
25 |
super(parameters); |
|
26 |
} |
|
27 |
|
|
28 |
public TXMParameters() { |
|
29 |
super(); |
|
30 |
} |
|
31 |
|
|
24 | 32 |
//FIXME: use super.toString()? -> MD: nope super.toString() don't break lines |
25 | 33 |
public void dump() { |
26 | 34 |
Set<String> keys = this.keySet(); |
Formats disponibles : Unified diff