blob: 1fa016afeb12c1c3a6fcce69133189f1a0f953c4 [file] [log] [blame]
package org.jetbrains.jps.intellilang.model.impl;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.jps.intellilang.model.JpsIntelliLangConfiguration;
import org.jetbrains.jps.intellilang.model.JpsIntelliLangExtensionService;
import org.jetbrains.jps.model.JpsGlobal;
/**
* @author Eugene Zhuravlev
* Date: 11/29/12
*/
public class JpsIntelliLangExtensionServiceImpl extends JpsIntelliLangExtensionService {
@NotNull
@Override
public JpsIntelliLangConfiguration getConfiguration(@NotNull JpsGlobal global) {
return global.getContainer().getChild(JpsIntelliLangConfigurationImpl.ROLE);
}
@Override
public void setConfiguration(@NotNull JpsGlobal global, @NotNull JpsIntelliLangConfiguration config) {
global.getContainer().setChild(JpsIntelliLangConfigurationImpl.ROLE, config);
}
}