/**
* Received when the completions command receives a response (ICommandResponseListener)
* Converts the xml to completions.
*/
public void commandComplete(AbstractDebuggerCommand cmd) {
GetCompletionsCommand compCmd = (GetCompletionsCommand) cmd;
try {
String response = compCmd.getResponse();
List<Object[]> fromServer = XMLUtils.convertXMLcompletionsFromConsole(response);
List<ICompletionProposal> ret = new ArrayList<ICompletionProposal>();
PydevConsoleCommunication.convertToICompletions(text, actTok, offset, fromServer, ret);
receivedCompletions = ret.toArray(new ICompletionProposal[ret.size()]);
} catch (CoreException e) {