public KMLExportPreferences(ImpExpGui mainView, Config config) {
    super(new KMLExportEntry());

    DefaultPreferencesEntry renderingNode = new RenderingPanel();
    renderingNode.addChildEntry(new DefaultPreferencesEntry(new BuildingRenderingPanel(config)));
    renderingNode.addChildEntry(new DefaultPreferencesEntry(new WaterBodyRenderingPanel(config)));
    renderingNode.addChildEntry(new DefaultPreferencesEntry(new LandUseRenderingPanel(config)));
    renderingNode.addChildEntry(new DefaultPreferencesEntry(new VegetationRenderingPanel(config)));
    renderingNode.addChildEntry(
        new DefaultPreferencesEntry(new TransportationRenderingPanel(config)));
    renderingNode.addChildEntry(new DefaultPreferencesEntry(new ReliefRenderingPanel(config)));
    renderingNode.addChildEntry(
        new DefaultPreferencesEntry(new CityFurnitureRenderingPanel(config)));
    DefaultPreferencesEntry genericCityObjectRenderingNode = new GenericCityObjectBalloonPanel();
    genericCityObjectRenderingNode.addChildEntry(
        new DefaultPreferencesEntry(new ThreeDRenderingPanel(config)));
    genericCityObjectRenderingNode.addChildEntry(
        new DefaultPreferencesEntry(new PointAndCurveRenderingPanel(config)));
    renderingNode.addChildEntry(genericCityObjectRenderingNode);
    renderingNode.addChildEntry(
        new DefaultPreferencesEntry(new CityObjectGroupRenderingPanel(config)));
    renderingNode.addChildEntry(new DefaultPreferencesEntry(new BridgeRenderingPanel(config)));
    renderingNode.addChildEntry(new DefaultPreferencesEntry(new TunnelRenderingPanel(config)));

    DefaultPreferencesEntry balloonNode = new BalloonPanel();
    balloonNode.addChildEntry(new DefaultPreferencesEntry(new BuildingBalloonPanel(config)));
    balloonNode.addChildEntry(new DefaultPreferencesEntry(new WaterBodyBalloonPanel(config)));
    balloonNode.addChildEntry(new DefaultPreferencesEntry(new LandUseBalloonPanel(config)));
    balloonNode.addChildEntry(new DefaultPreferencesEntry(new VegetationBalloonPanel(config)));
    balloonNode.addChildEntry(new DefaultPreferencesEntry(new TransportationBalloonPanel(config)));
    balloonNode.addChildEntry(new DefaultPreferencesEntry(new ReliefBalloonPanel(config)));
    balloonNode.addChildEntry(new DefaultPreferencesEntry(new CityFurnitureBalloonPanel(config)));
    DefaultPreferencesEntry genericCityObjectBalloonNode = new GenericCityObjectBalloonPanel();
    genericCityObjectBalloonNode.addChildEntry(
        new DefaultPreferencesEntry(new ThreeDBalloonPanel(config)));
    genericCityObjectBalloonNode.addChildEntry(
        new DefaultPreferencesEntry(new PointAndCurveBalloonPanel(config)));
    balloonNode.addChildEntry(genericCityObjectBalloonNode);
    balloonNode.addChildEntry(new DefaultPreferencesEntry(new CityObjectGroupBalloonPanel(config)));
    balloonNode.addChildEntry(new DefaultPreferencesEntry(new BridgeBalloonPanel(config)));
    balloonNode.addChildEntry(new DefaultPreferencesEntry(new TunnelBalloonPanel(config)));

    root.addChildEntry(new DefaultPreferencesEntry(new GeneralPanel(config)));
    root.addChildEntry(renderingNode);
    root.addChildEntry(balloonNode);
    root.addChildEntry(new DefaultPreferencesEntry(new AltitudePanel(config)));
  }