Révision 1212
tmp/org.txm.rcp/src/main/java/org/txm/rcp/handlers/results/SetTXMResultPersistentState.java (revision 1212) | ||
---|---|---|
72 | 72 |
TXMResult result = ((TXMResult)object); |
73 | 73 |
result.swapUserPersistableState(); |
74 | 74 |
|
75 |
try { |
|
76 |
if(result.isUserPersistable()) { |
|
77 |
result.autoSaveParametersFromAnnotations(); |
|
78 |
result.saveParameters(); |
|
79 |
TXMPreferences.flush(result); |
|
80 |
} |
|
81 |
} |
|
82 |
catch (Exception e) { |
|
83 |
// TODO Auto-generated catch block |
|
84 |
e.printStackTrace(); |
|
85 |
} |
|
86 |
|
|
87 | 75 |
CorporaView.refresh(); |
88 | 76 |
return null; |
89 | 77 |
} |
Formats disponibles : Unified diff