Révision 2429
| tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/handlers/ComputeCA.java (revision 2429) | ||
|---|---|---|
| 88 | 88 |
if (selection instanceof Partition) {
|
| 89 | 89 |
|
| 90 | 90 |
final Partition partition = (Partition) selection; |
| 91 |
partition.compute(false); |
|
| 91 |
|
|
| 92 | 92 |
// not enough parts error |
| 93 | 93 |
if (partition.getPartsCount() < 4) {
|
| 94 | 94 |
Display.getDefault().syncExec(new Runnable() {
|
| ... | ... | |
| 104 | 104 |
return null; |
| 105 | 105 |
} |
| 106 | 106 |
|
| 107 |
// FIXME: SJ: temporary version before we fix the problems listed below |
|
| 108 |
// lexicalTable = new LexicalTable(partition); |
|
| 109 |
// lexicalTable.setParameters((WordProperty) partition.getCorpus().getDefaultProperty(), 20, 200, null); |
|
| 110 |
// ca = new CA(lexicalTable); |
|
| 111 |
|
|
| 112 |
// FIXME: SJ: new version, creating a, empty LT and an empty CA |
|
| 113 |
// does not work at this time because of some problems in CAEditor (refreshing and components creation + eigenvalues computing) |
|
| 114 | 107 |
lexicalTable = new LexicalTable(partition); |
| 115 | 108 |
ca = new CA(lexicalTable); |
| 116 | 109 |
} |
Formats disponibles : Unified diff