Java 类com.intellij.util.descriptors.ConfigFileFactory 实例源码

项目:intellij-ce-playground    文件:PluginBuildConfiguration.java   
public PluginBuildConfiguration(@NotNull Module module) {
  myModule = module;
  myPluginXmlContainer = ConfigFileFactory.getInstance().createSingleFileContainer(myModule.getProject(), PluginDescriptorConstants.META_DATA);
  Disposer.register(module, myPluginXmlContainer);
}
项目:intellij-ce-playground    文件:PluginBuildConfiguration.java   
private void createDescriptor(final String url) {
  final ConfigFileInfo descriptor = new ConfigFileInfo(PluginDescriptorConstants.META_DATA, url);
  myPluginXmlContainer.getConfiguration().addConfigFile(descriptor);
  ConfigFileFactory.getInstance().createFile(myModule.getProject(), descriptor.getUrl(), PluginDescriptorConstants.META_DATA.getDefaultVersion(),
                                             false);
}
项目:tools-idea    文件:PluginBuildConfiguration.java   
public PluginBuildConfiguration(Module module) {
  myModule = module;
  myPluginXmlContainer = ConfigFileFactory.getInstance().createSingleFileContainer(myModule.getProject(), PluginDescriptorConstants.META_DATA);
  Disposer.register(module, myPluginXmlContainer);
  myBuildParticipant = new PluginBuildParticipant(module, this);
}
项目:tools-idea    文件:PluginBuildConfiguration.java   
private void createDescriptor(final String url) {
  final ConfigFileInfo descriptor = new ConfigFileInfo(PluginDescriptorConstants.META_DATA, url);
  myPluginXmlContainer.getConfiguration().addConfigFile(descriptor);
  ConfigFileFactory.getInstance().createFile(myModule.getProject(), descriptor.getUrl(), PluginDescriptorConstants.META_DATA.getDefaultVersion(),
                                             false);
}