Révision 2954

tmp/org.txm.edition.rcp/src/org/txm/edition/rcp/editors/SynopticEditionEditor.java (revision 2954)
73 73
import org.eclipse.ui.PlatformUI;
74 74
import org.eclipse.ui.commands.ICommandService;
75 75
import org.eclipse.ui.handlers.IHandlerService;
76
import org.txm.core.messages.TXMCoreMessages;
76 77
import org.txm.core.results.TXMResult;
77 78
import org.txm.edition.rcp.messages.EditionUIMessages;
78 79
import org.txm.objects.Edition;
......
1031 1032

  
1032 1033
		// get the parameter
1033 1034
		ArrayList<Parameterization> parameters = new ArrayList<>();
1035
		ArrayList<String> failedParameters = new ArrayList<>();
1034 1036
		for (String k : params.keySet()) {
1035 1037
			try {
1036 1038
				IParameter iparam = cmd.getParameter(k);
......
1038 1040
				parameters.add(p);
1039 1041
			}
1040 1042
			catch (NotDefinedException e) {
1041
				System.out.println(NLS.bind(EditionUIMessages.warningColonUnknownedParameterIdEqualsP0, k));
1043
				//Log.warning(NLS.bind(EditionUIMessages.warningColonUnknownedParameterIdEqualsP0, k));
1044
				failedParameters.add(k);
1042 1045
			}
1043 1046
		}
1044 1047

  
......
1051 1054
			return handlerService.executeCommand(pc, null);
1052 1055
		}
1053 1056
		catch (Exception e) {
1054
			Log.warning("Hyperlinked command failed: "+e);
1057
			Log.warning(TXMCoreMessages.bind("The ''{0}'' hyperlinked command failed with the ''{1}'' parameters and the not recognized ''{2}'' parameters.", id, parameters, failedParameters));
1055 1058
			Log.printStackTrace(e);
1056 1059
		}
1057 1060
		return null;

Formats disponibles : Unified diff