repository restructure git-svn-id: http://dev.eclipse.org/svnroot/technology/org.eclipse.stem/trunk/data@2196 92a21009-5b66-0410-b83a-dc787c41c6e9
diff --git a/geography/org.eclipse.stem.data.geography.models/.classpath b/geography/org.eclipse.stem.data.geography.models/.classpath new file mode 100644 index 0000000..304e861 --- /dev/null +++ b/geography/org.eclipse.stem.data.geography.models/.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/geography/org.eclipse.stem.data.geography.models/.cvsignore b/geography/org.eclipse.stem.data.geography.models/.cvsignore new file mode 100644 index 0000000..c234e9b --- /dev/null +++ b/geography/org.eclipse.stem.data.geography.models/.cvsignore
@@ -0,0 +1,3 @@ +resources +plugin.xml +plugin.properties
diff --git a/geography/org.eclipse.stem.data.geography.models/.project b/geography/org.eclipse.stem.data.geography.models/.project new file mode 100644 index 0000000..6b89480 --- /dev/null +++ b/geography/org.eclipse.stem.data.geography.models/.project
@@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.stem.data.geography.models</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/geography/org.eclipse.stem.data.geography.models/.settings/org.eclipse.jdt.core.prefs b/geography/org.eclipse.stem.data.geography.models/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..985479c --- /dev/null +++ b/geography/org.eclipse.stem.data.geography.models/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,8 @@ +#Tue Feb 10 16:16:08 EST 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.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.5
diff --git a/geography/org.eclipse.stem.data.geography.models/META-INF/MANIFEST.MF b/geography/org.eclipse.stem.data.geography.models/META-INF/MANIFEST.MF new file mode 100644 index 0000000..7a3e2e2 --- /dev/null +++ b/geography/org.eclipse.stem.data.geography.models/META-INF/MANIFEST.MF
@@ -0,0 +1,12 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: STEM Generated Geography Models +Bundle-SymbolicName: org.eclipse.stem.data.geography.models;singleton:=true +Bundle-Version: 1.2.0 +Bundle-Localization: plugin +Bundle-Activator: org.eclipse.stem.data.geography.models.Activator +Require-Bundle: org.eclipse.core.runtime +Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-ActivationPolicy: lazy +Export-Package: org.eclipse.stem.data.geography.models +Bundle-Vendor: Eclipse.org
diff --git a/geography/org.eclipse.stem.data.geography.models/build.properties b/geography/org.eclipse.stem.data.geography.models/build.properties new file mode 100644 index 0000000..34026bd --- /dev/null +++ b/geography/org.eclipse.stem.data.geography.models/build.properties
@@ -0,0 +1,10 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + resources/,\ + plugin.xml,\ + plugin.properties,\ + build.properties,\ + bin/ +src.includes = resources/
diff --git a/geography/org.eclipse.stem.data.geography.models/src/org/eclipse/stem/data/geography/models/Activator.java b/geography/org.eclipse.stem.data.geography.models/src/org/eclipse/stem/data/geography/models/Activator.java new file mode 100644 index 0000000..1724a3b --- /dev/null +++ b/geography/org.eclipse.stem.data.geography.models/src/org/eclipse/stem/data/geography/models/Activator.java
@@ -0,0 +1,64 @@ +package org.eclipse.stem.data.geography.models; + +/******************************************************************************* + * 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 plug-in ID + */ + public static final String PLUGIN_ID = "org.eclipse.stem.data.geography.models"; //$NON-NLS-1$ + + // The shared instance + private static Activator plugin; + + /** + * The constructor + */ + public Activator() { + } + + /** + * @see org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext) + */ + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /** + * @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; + } + +}