Révision 1050
tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/handlers/ComputeCA.java (revision 1050) | ||
---|---|---|
127 | 127 |
ca = (CA) selection; |
128 | 128 |
} |
129 | 129 |
else { |
130 |
Log.severe(CAUIMessages.error_cannot_compute_with_selection + selection);
|
|
130 |
Log.severe(CAUIMessages.bind(CAUIMessages.error_cannot_compute_with_selection, selection));
|
|
131 | 131 |
return null; |
132 | 132 |
} |
133 | 133 |
// compute the CA |
134 | 134 |
ca.compute(); |
135 | 135 |
|
136 | 136 |
try { |
137 |
|
|
138 | 137 |
System.out.println(CAUIMessages.ComputeCorrespondanceAnalysis_8); |
139 | 138 |
|
140 |
TXMResultEditorInput editorInput = new TXMResultEditorInput(ca); |
|
139 |
TXMResultEditorInput<CA> editorInput = new TXMResultEditorInput(ca);
|
|
141 | 140 |
IWorkbenchPage page = TXMWindows.getActivePage(); |
142 | 141 |
StatusLine.setMessage(CAUIMessages.ComputeCorrespondanceAnalysis_14); |
143 | 142 |
IEditorPart editor = page.openEditor(editorInput, CAEditor.class.getName()); |
144 | 143 |
|
145 |
|
|
146 |
|
|
147 | 144 |
} |
148 | 145 |
catch (Throwable e) { |
149 |
System.out.println(CAUIMessages.error_opening + ca);
|
|
146 |
System.out.println(CAUIMessages.bind(CAUIMessages.error_opening, ca));
|
|
150 | 147 |
Log.printStackTrace(e); |
151 | 148 |
} |
152 |
|
|
153 | 149 |
} |
154 | 150 |
catch (Throwable e) { |
155 |
Log.severe(CAUIMessages.error_cannot_compute_with + selection);
|
|
151 |
Log.severe(CAUIMessages.bind(CAUIMessages.error_cannot_compute_with, selection));
|
|
156 | 152 |
Log.printStackTrace(e); |
157 | 153 |
} |
158 | 154 |
return null; |
tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/messages/messages.properties (revision 1050) | ||
---|---|---|
31 | 31 |
CorrespondanceAnalysisEditorInput_5 = Eigenvalue |
32 | 32 |
CorrespondanceAnalysisEditorInput_8 = Rows infos |
33 | 33 |
CorrespondanceAnalysisEditorInput_9 = Cols infos |
34 |
error_cannot_compute_with=Error: cannot compute CA with |
|
35 |
error_cannot_compute_with_selection=Error: cannot compute CA with current selection:
|
|
36 |
error_opening=Error: cannot open CAEditor with |
|
34 |
error_cannot_compute_with=Error: cannot compute CA with {0}
|
|
35 |
error_cannot_compute_with_selection=Error: cannot compute CA with current selection={0}
|
|
36 |
error_opening=Error: cannot open CAEditor with {0}
|
|
37 | 37 |
|
38 | 38 |
PreferencePage_0 = Quality column format |
39 | 39 |
PreferencePage_1 = Contribution column format |
Formats disponibles : Unified diff