.setCharset(diagramFile);
affectedFiles.add(diagramFile);
URI diagramModelURI = URI.createPlatformResourceURI(diagramFile
.getFullPath().toString(), true);
ResourceSet resourceSet = myEditingDomain.getResourceSet();
final Resource diagramResource = resourceSet
.createResource(diagramModelURI);
AbstractTransactionalCommand command = new AbstractTransactionalCommand(
myEditingDomain,
eu.admire.visual.pmml.neuralnetwork._40.diagram.part.Messages.PMMLNewDiagramFileWizard_InitDiagramCommand,
affectedFiles) {