Révision 1104
tmp/org.txm.ahc.core/src/org/txm/ahc/core/functions/AHC.java (revision 1104) | ||
---|---|---|
257 | 257 |
public boolean loadParameters() { |
258 | 258 |
if(this.ca == null) { |
259 | 259 |
this.ca = (CA) this.getParent(); |
260 |
this.ca.setVisible(false); |
|
260 | 261 |
} |
261 | 262 |
return true; |
262 | 263 |
} |
tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/TXMEditor.java (revision 1104) | ||
---|---|---|
645 | 645 |
notifyExtensions("notifyStartOfCompute"); //$NON-NLS-1$ |
646 | 646 |
if (!TXMEditor.this.getResult().compute(monitor)) { |
647 | 647 |
Log.severe("TXMEditor.compute(): " + this.getClass().getSimpleName() + ": computing failed."); |
648 |
return Status.CANCEL_STATUS; |
|
648 | 649 |
} |
649 | 650 |
notifyExtensions("notifyEndOfCompute"); //$NON-NLS-1$ |
650 | 651 |
|
tmp/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 1104) | ||
---|---|---|
1133 | 1133 |
return false; |
1134 | 1134 |
} |
1135 | 1135 |
|
1136 |
|
|
1136 | 1137 |
/** |
1137 | 1138 |
* Gets all the children results (nor a clone). |
1138 | 1139 |
* |
... | ... | |
1279 | 1280 |
&& (onlyVisible == false || child.isVisible())) { |
1280 | 1281 |
nodes.add(child); |
1281 | 1282 |
} |
1282 |
} catch (Exception e) { } |
|
1283 |
|
|
1284 |
// FIXME: test to add children of a non visible result |
|
1285 |
else if (!child.isVisible() && child.hasChildren()) { |
|
1286 |
ArrayList<TXMResult> subChidlren = child.getChildren(type, onlyVisible); |
|
1287 |
nodes.addAll(subChidlren); |
|
1288 |
} |
|
1289 |
} catch (Exception e) { |
|
1290 |
// nothing to do |
|
1291 |
} |
|
1283 | 1292 |
} |
1284 | 1293 |
return nodes; |
1285 | 1294 |
} |
1286 | 1295 |
|
1287 | 1296 |
/** |
1297 |
* Gets the direct children count. |
|
1298 |
* @return the direct children count |
|
1299 |
*/ |
|
1300 |
synchronized public int getChildrenCount() { |
|
1301 |
return this.children.size(); |
|
1302 |
} |
|
1303 |
|
|
1304 |
|
|
1305 |
/** |
|
1288 | 1306 |
* Gets the root parent of the branch. |
1289 | 1307 |
* @return |
1290 | 1308 |
*/ |
Formats disponibles : Unified diff