repository restructure git-svn-id: http://dev.eclipse.org/svnroot/technology/org.eclipse.stem/trunk/data@2189 92a21009-5b66-0410-b83a-dc787c41c6e9
diff --git a/population/org.eclipse.stem.data.geography.population.human/.classpath b/population/org.eclipse.stem.data.geography.population.human/.classpath new file mode 100644 index 0000000..304e861 --- /dev/null +++ b/population/org.eclipse.stem.data.geography.population.human/.classpath
@@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path="src"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="output" path="bin"/> +</classpath>
diff --git a/population/org.eclipse.stem.data.geography.population.human/.cvsignore b/population/org.eclipse.stem.data.geography.population.human/.cvsignore new file mode 100644 index 0000000..fb53e0b --- /dev/null +++ b/population/org.eclipse.stem.data.geography.population.human/.cvsignore
@@ -0,0 +1,3 @@ +plugin.properties +plugin.xml +resources
diff --git a/population/org.eclipse.stem.data.geography.population.human/.project b/population/org.eclipse.stem.data.geography.population.human/.project new file mode 100644 index 0000000..4d7af99 --- /dev/null +++ b/population/org.eclipse.stem.data.geography.population.human/.project
@@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.stem.data.geography.population.human</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/population/org.eclipse.stem.data.geography.population.human/.settings/org.eclipse.jdt.core.prefs b/population/org.eclipse.stem.data.geography.population.human/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..c045682 --- /dev/null +++ b/population/org.eclipse.stem.data.geography.population.human/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,21 @@ +#Tue Sep 01 17:00:10 EDT 2009 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.doc.comment.support=disabled +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocComments=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=enabled +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag +org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=enabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public +org.eclipse.jdt.core.compiler.source=1.5
diff --git a/population/org.eclipse.stem.data.geography.population.human/META-INF/MANIFEST.MF b/population/org.eclipse.stem.data.geography.population.human/META-INF/MANIFEST.MF new file mode 100644 index 0000000..1b29436 --- /dev/null +++ b/population/org.eclipse.stem.data.geography.population.human/META-INF/MANIFEST.MF
@@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: STEM Generated Human Population Data +Bundle-SymbolicName: org.eclipse.stem.data.geography.population.human;singleton:=true +Bundle-Version: 1.2.0 +Bundle-Activator: org.eclipse.stem.data.geography.population.human.Activator +Require-Bundle: org.eclipse.core.runtime +Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-ActivationPolicy: lazy +Export-Package: org.eclipse.stem.data.geography.population.human +Bundle-Vendor: Eclipse.org
diff --git a/population/org.eclipse.stem.data.geography.population.human/build.properties b/population/org.eclipse.stem.data.geography.population.human/build.properties new file mode 100644 index 0000000..26af6a4 --- /dev/null +++ b/population/org.eclipse.stem.data.geography.population.human/build.properties
@@ -0,0 +1,9 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + bin/,\ + resources/,\ + plugin.xml,\ + plugin.properties +src.includes = resources/
diff --git a/population/org.eclipse.stem.data.geography.population.human/src/org/eclipse/stem/data/geography/population/human/Activator.java b/population/org.eclipse.stem.data.geography.population.human/src/org/eclipse/stem/data/geography/population/human/Activator.java new file mode 100644 index 0000000..f9eeb04 --- /dev/null +++ b/population/org.eclipse.stem.data.geography.population.human/src/org/eclipse/stem/data/geography/population/human/Activator.java
@@ -0,0 +1,66 @@ +package org.eclipse.stem.data.geography.population.human; + +/******************************************************************************* + * 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 org.eclipse.core.runtime.Plugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +@SuppressWarnings("all") +public class Activator extends Plugin { + + /** + * The ID of the plugin. + */ + public static final String PLUGIN_ID = "org.eclipse.stem.data.geography.population.human"; //$NON-NLS-1$ + + // The shared instance + private static Activator plugin; + + /** + * The constructor + */ + public Activator() { + } + + /* + * (non-Javadoc) + * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext) + */ + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /* + * (non-Javadoc) + * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) + */ + @Override + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +} // Activator