Révision 910
tmp/org.txm.index.rcp/src/org/txm/index/rcp/editors/IndexEditor.java (revision 910) | ||
---|---|---|
48 | 48 |
import org.eclipse.swt.widgets.TableColumn; |
49 | 49 |
import org.txm.core.messages.TXMCoreMessages; |
50 | 50 |
import org.txm.core.preferences.TBXPreferences; |
51 |
import org.txm.core.preferences.TXMPreferences; |
|
51 | 52 |
import org.txm.core.results.Parameter; |
52 | 53 |
import org.txm.index.core.functions.Index; |
53 | 54 |
import org.txm.index.core.functions.Line; |
... | ... | |
147 | 148 |
/** |
148 | 149 |
* Word properties selector. |
149 | 150 |
*/ |
150 |
@Parameter(key=TBXPreferences.UNIT_PROPERTIES)
|
|
151 |
@Parameter(key=TXMPreferences.UNIT_PROPERTIES)
|
|
151 | 152 |
protected PropertiesSelector<WordProperty> propertiesSelector; |
152 | 153 |
|
153 | 154 |
/** |
tmp/org.txm.lexicaltable.core/src/org/txm/lexicaltable/core/functions/LexicalTable.java (revision 910) | ||
---|---|---|
44 | 44 |
|
45 | 45 |
/** stores the R table computed */ |
46 | 46 |
protected ILexicalTable statsData; |
47 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
48 | 50 |
/** |
49 | 51 |
* The property. |
50 | 52 |
*/ |
... | ... | |
162 | 164 |
|
163 | 165 |
|
164 | 166 |
public LexicalTable(String uuid) { |
165 |
super(uuid, null);
|
|
167 |
super(uuid); |
|
166 | 168 |
} |
167 | 169 |
|
168 | 170 |
|
... | ... | |
170 | 172 |
@Override |
171 | 173 |
public boolean loadParameters() { |
172 | 174 |
try { |
173 |
// FIXME: debug |
|
174 |
System.err.println("LexicalTable.loadParameters(): loading unit property..."); |
|
175 | 175 |
this.property = this.getCorpus().getProperty(this.getStringParameterValue(TBXPreferences.UNIT_PROPERTY)); |
176 |
System.err.println("LexicalTable.loadParameters(): property = " + this.property); |
|
177 | 176 |
} |
178 | 177 |
catch (CqiClientException e) { |
179 | 178 |
// TODO Auto-generated catch block |
tmp/org.txm.index.core/src/org/txm/index/core/functions/Index.java (revision 910) | ||
---|---|---|
98 | 98 |
/** The writer. */ |
99 | 99 |
private BufferedWriter writer; |
100 | 100 |
|
101 |
// PARAMETERS |
|
102 | 101 |
/** |
103 | 102 |
* Maximum frequency filter value. |
104 | 103 |
*/ |
105 |
@Parameter(key=IndexPreferences.F_MAX)
|
|
104 |
@Parameter(key=TBXPreferences.F_MAX)
|
|
106 | 105 |
protected int pFmaxFilter; |
107 | 106 |
|
108 | 107 |
/** |
109 | 108 |
* Minimum frequency filter value. |
110 | 109 |
*/ |
111 |
@Parameter(key=IndexPreferences.F_MIN)
|
|
110 |
@Parameter(key=TBXPreferences.F_MIN)
|
|
112 | 111 |
protected int pFminFilter; |
113 | 112 |
|
114 | 113 |
/** |
... | ... | |
132 | 131 |
/** |
133 | 132 |
* The CQP query. |
134 | 133 |
*/ |
135 |
@Parameter(key=IndexPreferences.QUERY)
|
|
134 |
@Parameter(key=TBXPreferences.QUERY)
|
|
136 | 135 |
protected Query pQuery; |
137 | 136 |
|
138 | 137 |
/** |
... | ... | |
144 | 143 |
/** |
145 | 144 |
* The vmax filter value parameter. |
146 | 145 |
*/ |
147 |
@Parameter(key=IndexPreferences.V_MAX)
|
|
146 |
@Parameter(key=TBXPreferences.V_MAX)
|
|
148 | 147 |
protected Integer pVmaxFilter; |
149 | 148 |
|
150 | 149 |
|
tmp/org.txm.core/src/java/org/txm/core/preferences/TBXPreferences.java (revision 910) | ||
---|---|---|
3 | 3 |
import org.eclipse.core.runtime.preferences.DefaultScope; |
4 | 4 |
import org.osgi.framework.FrameworkUtil; |
5 | 5 |
import org.osgi.service.prefs.Preferences; |
6 |
import org.txm.core.messages.TXMCoreMessages; |
|
7 |
import org.txm.utils.logger.Log; |
|
8 | 6 |
|
9 | 7 |
public class TBXPreferences extends TXMPreferences { |
10 | 8 |
|
tmp/org.txm.internalview.core/src/org/txm/internalview/core/functions/InternalView.java (revision 910) | ||
---|---|---|
56 | 56 |
@Parameter(key=InternalViewPreferences.STRUCTURAL_UNIT_PROPERTIES) |
57 | 57 |
protected List<StructuralUnitProperty> structuralUnitsProperties; |
58 | 58 |
|
59 |
|
|
59 | 60 |
/** |
60 | 61 |
* |
61 |
* @param corpus
|
|
62 |
* @param parent
|
|
62 | 63 |
*/ |
63 |
public InternalView(Corpus corpus) { |
|
64 |
super(corpus); |
|
65 |
|
|
64 |
public InternalView(Corpus parent) { |
|
65 |
super(parent); |
|
66 | 66 |
} |
67 | 67 |
|
68 |
/** |
|
69 |
* |
|
70 |
* @param UUID |
|
71 |
*/ |
|
72 |
public InternalView(String UUID) { |
|
73 |
super(UUID); |
|
74 |
} |
|
75 |
|
|
68 | 76 |
|
77 |
|
|
69 | 78 |
@Override |
70 | 79 |
public boolean loadParameters() throws Exception { |
71 | 80 |
try { |
... | ... | |
201 | 210 |
} |
202 | 211 |
|
203 | 212 |
|
204 |
|
|
205 |
|
|
206 | 213 |
@Override |
207 | 214 |
public String getSimpleName() { |
208 | 215 |
return getName(); |
tmp/org.txm.partition.core/src/org/txm/partition/core/functions/PartitionDimensions.java (revision 910) | ||
---|---|---|
63 | 63 |
} |
64 | 64 |
|
65 | 65 |
/** |
66 |
* Creates a partition dimensions result from the specified <link>Partition</link>.
|
|
66 |
* Creates a partition dimensions result from the specified UUID.
|
|
67 | 67 |
* @param UUID |
68 |
* @param partition |
|
69 | 68 |
*/ |
70 | 69 |
public PartitionDimensions(String UUID) { |
71 | 70 |
super(UUID); |
Formats disponibles : Unified diff