public PyGeneratorConfiguration install ( ResourceSet resourceSet , PyGeneratorConfiguration config ) { assert config != null ; PyGeneratorConfigAdapter adapter = PyGeneratorConfigAdapter . findInEmfObject ( resourceSet ) ; if ( adapter == null ) { adapter = new PyGeneratorConfigAdapter ( ) ; } adapter . attachToEmfObject ( resourceSet ) ; return adapter . getLanguage2GeneratorConfig ( ) . put ( this . languageId , config ) ; }
Install the given configuration into the context .