}
public void apply(ITextViewer viewer, char trigger, int stateMask, int offset) {
//Upon creation, opens the new editor and creates the class.
PyOpenAction openAction = new PyOpenAction();
openAction.run(new ItemPointer(module));
PyEdit pyEdit = (PyEdit) openAction.editor;
TddRefactorCompletion completion = new TddRefactorCompletion(fReplacementString, fImage, fDisplayString,
fContextInformation, fAdditionalProposalInfo, 0, pyEdit, locationStrategy, parametersAfterCall,
pyCreateAction, ps);
completion.apply(pyEdit.getEditorSourceViewer(), '\n', 0, 0);