Java 类com.intellij.util.config.ExternalizablePropertyContainer 实例源码

项目:intellij-ce-playground    文件:CompositePropertyContainer.java   
private AbstractProperty.AbstractPropertyContainer containerOf(AbstractProperty property) {
  for (AbstractProperty.AbstractPropertyContainer container : myContainers) {
    if (container.hasProperty(property)) return container;
  }
  if (ApplicationManager.getApplication() != null) LOG.error("Unknown property: " + property.getName());
  return new ExternalizablePropertyContainer();
}
项目:tools-idea    文件:CompositePropertyContainer.java   
private AbstractProperty.AbstractPropertyContainer containerOf(AbstractProperty property) {
  for (AbstractProperty.AbstractPropertyContainer container : myContainers) {
    if (container.hasProperty(property)) return container;
  }
  if (ApplicationManager.getApplication() != null) LOG.error("Unknown property: " + property.getName());
  return new ExternalizablePropertyContainer();
}
项目:consulo-apache-ant    文件:CompositePropertyContainer.java   
private AbstractProperty.AbstractPropertyContainer containerOf(AbstractProperty property) {
  for (AbstractProperty.AbstractPropertyContainer container : myContainers) {
    if (container.hasProperty(property)) return container;
  }
  if (ApplicationManager.getApplication() != null) LOG.error("Unknown property: " + property.getName());
  return new ExternalizablePropertyContainer();
}
项目:consulo-apache-ant    文件:AntBuildFileImpl.java   
public AntBuildFileImpl(final XmlFile antFile, final AntConfigurationBase configuration)
{
    myVFile = antFile.getOriginalFile().getVirtualFile();
    myProject = antFile.getProject();
    myAntConfiguration = configuration;
    myWorkspaceOptions = new ExternalizablePropertyContainer();
    myWorkspaceOptions.registerProperty(RUN_IN_BACKGROUND);
    myWorkspaceOptions.registerProperty(CLOSE_ON_NO_ERRORS);
    myWorkspaceOptions.registerProperty(TREE_VIEW);
    myWorkspaceOptions.registerProperty(VERBOSE);
    myWorkspaceOptions.registerProperty(TARGET_FILTERS, "filter", NewInstanceFactory.fromClass(TargetFilter.class));

    myWorkspaceOptions.rememberKey(RUN_WITH_ANT);

    myProjectOptions = new ExternalizablePropertyContainer();
    myProjectOptions.registerProperty(MAX_HEAP_SIZE);
    myProjectOptions.registerProperty(MAX_STACK_SIZE);
    myProjectOptions.registerProperty(CUSTOM_JDK_NAME);
    myProjectOptions.registerProperty(ANT_COMMAND_LINE_PARAMETERS);
    myProjectOptions.registerProperty(ANT_PROPERTIES, "property", NewInstanceFactory.fromClass(BuildFileProperty.class));
    myProjectOptions.registerProperty(ADDITIONAL_CLASSPATH, "entry", SinglePathEntry.EXTERNALIZER);
    myProjectOptions.registerProperty(ANT_REFERENCE, AntReference.EXTERNALIZER);

    myAllOptions = new CompositePropertyContainer(new AbstractProperty.AbstractPropertyContainer[]{
            myWorkspaceOptions,
            myProjectOptions,
            GlobalAntConfiguration.getInstance().getProperties(getProject())
    });

    myClassloaderHolder = new AntBuildFileClassLoaderHolder(myAllOptions);
}
项目:intellij-ce-playground    文件:AntConfigurationBase.java   
public ExternalizablePropertyContainer getProperties() {
  return myProperties;
}
项目:tools-idea    文件:AntConfigurationBase.java   
public ExternalizablePropertyContainer getProperties() {
  return myProperties;
}
项目:consulo-apache-ant    文件:AntConfigurationBase.java   
public ExternalizablePropertyContainer getProperties() {
  return myProperties;
}