Révision 1965
tmp/org.txm.ahc.core/src/org/txm/ahc/core/functions/AHC.java (revision 1965) | ||
---|---|---|
703 | 703 |
return NLS.bind(this.getName() + "\ncomputed with the {0} method and the {1} metric.", method, metric); |
704 | 704 |
} |
705 | 705 |
|
706 |
@Override |
|
707 |
public String getComputingDoneMessage() { |
|
708 |
if(hasBeenComputedOnce()) { |
|
709 |
return getSimpleDetails(); |
|
710 |
} |
|
711 |
else { |
|
712 |
return TXMCoreMessages.common_noResults; |
|
713 |
} |
|
714 |
} |
|
706 |
// @Override
|
|
707 |
// public String getComputingDoneMessage() {
|
|
708 |
// if(hasBeenComputedOnce()) {
|
|
709 |
// return getSimpleDetails();
|
|
710 |
// }
|
|
711 |
// else {
|
|
712 |
// return TXMCoreMessages.common_noResults;
|
|
713 |
// }
|
|
714 |
// }
|
|
715 | 715 |
|
716 | 716 |
/** |
717 | 717 |
* Gets the 2D rendering state. |
tmp/org.txm.ca.core/src/org/txm/ca/core/functions/CA.java (revision 1965) | ||
---|---|---|
772 | 772 |
} |
773 | 773 |
} |
774 | 774 |
|
775 |
@Override |
|
776 |
public String getComputingDoneMessage() { |
|
777 |
if(hasBeenComputedOnce()) { |
|
778 |
return getSimpleDetails(); |
|
779 |
} |
|
780 |
else { |
|
781 |
return TXMCoreMessages.common_noResults; |
|
782 |
} |
|
783 |
} |
|
775 |
// @Override
|
|
776 |
// public String getComputingDoneMessage() {
|
|
777 |
// if(hasBeenComputedOnce()) {
|
|
778 |
// return getSimpleDetails();
|
|
779 |
// }
|
|
780 |
// else {
|
|
781 |
// return TXMCoreMessages.common_noResults;
|
|
782 |
// }
|
|
783 |
// }
|
|
784 | 784 |
|
785 | 785 |
@Override |
786 | 786 |
public String getName() { |
tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/TXMEditor.java (revision 1965) | ||
---|---|---|
905 | 905 |
notifyExtensions("notifyStartOfCompute"); //$NON-NLS-1$ |
906 | 906 |
|
907 | 907 |
// user log info |
908 |
if (TXMEditor.this.getResult().canCompute() && !TXMEditor.this.getResult().getComputingStartMessage().isEmpty()) { |
|
908 |
if (update && TXMEditor.this.getResult().canCompute() && !TXMEditor.this.getResult().getComputingStartMessage().isEmpty()) {
|
|
909 | 909 |
Log.info(TXMEditor.this.getResult().getComputingStartMessage()); |
910 | 910 |
} |
911 | 911 |
|
... | ... | |
913 | 913 |
Log.fine("TXMEditor.compute(): " + TXMEditor.this.getClass().getSimpleName() + ": computing failed."); |
914 | 914 |
} |
915 | 915 |
// user log info |
916 |
else if(!TXMEditor.this.getResult().getComputingDoneMessage().isEmpty()) {
|
|
916 |
else if (update && !TXMEditor.this.getResult().getComputingDoneMessage().isEmpty()) {
|
|
917 | 917 |
Log.info(TXMEditor.this.getResult().getComputingDoneMessage()); |
918 | 918 |
} |
919 | 919 |
|
tmp/org.txm.internalview.core/src/org/txm/internalview/core/functions/InternalView.java (revision 1965) | ||
---|---|---|
233 | 233 |
|
234 | 234 |
@Override |
235 | 235 |
public String getComputingDoneMessage() { |
236 |
if (hasBeenComputedOnce()) { |
|
237 |
return getName(); |
|
238 |
} else { |
|
239 |
return ""; |
|
240 |
} |
|
236 |
return ""; |
|
241 | 237 |
//return TXMCoreMessages.common_done; |
242 | 238 |
} |
243 | 239 |
|
Formats disponibles : Unified diff