blob: 3052aeae4aefdba0f4990689c37af75b456fe274 [file] [log] [blame]
package org.eclipse.stem.internal.data.geography;
/*******************************************************************************
* Copyright (c) 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
import java.io.File;
import org.eclipse.stem.internal.data.DataGenerator;
/**
* This class is the Main entry point to the generation of
* {@link org.eclipse.stem.core.graph.Graph}s and
* {@link org.eclipse.stem.core.model.Model}s that represent Geography.
*
* @see GeographicFeature
* @see Region
*/
public class GeographyDataGenerator extends DataGenerator {
/**
* @param args
* the path to the root of the plugin where this class is
* defined.
*/
public static void main(String[] args) {
final GeographyDataGenerator dg = new GeographyDataGenerator();
final GeographyPluginFileGenerator gpfg = new GeographyPluginFileGenerator();
gpfg.generatePluginFiles(dg.processFiles(args), args[0] + File.separator + ROOT_SERIALIZED_FILES, true);
} // main
} // GeographyDataGenerator