diff options
author | tarendt | 2012-11-28 15:51:36 +0000 |
---|---|---|
committer | tarendt | 2012-11-28 15:51:36 +0000 |
commit | 929a29ccf23f222d7c3c84478700a936a7d1d9de (patch) | |
tree | 467047d13c0c5fbeecd5b70afc212c5b4bf5d4b0 | |
parent | 5edc8f68174c348380896f2c6a93be52f2d6c405 (diff) | |
download | org.eclipse.emf.refactor.refactoring-929a29ccf23f222d7c3c84478700a936a7d1d9de.tar.gz org.eclipse.emf.refactor.refactoring-929a29ccf23f222d7c3c84478700a936a7d1d9de.tar.xz org.eclipse.emf.refactor.refactoring-929a29ccf23f222d7c3c84478700a936a7d1d9de.zip |
initial commit
6 files changed, 106 insertions, 0 deletions
diff --git a/org.eclipse.emf.refactor.refactoring.papyrus/.classpath b/org.eclipse.emf.refactor.refactoring.papyrus/.classpath new file mode 100644 index 0000000..ad32c83 --- /dev/null +++ b/org.eclipse.emf.refactor.refactoring.papyrus/.classpath @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="src" path="src"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/org.eclipse.emf.refactor.refactoring.papyrus/.project b/org.eclipse.emf.refactor.refactoring.papyrus/.project new file mode 100644 index 0000000..b5bd7e1 --- /dev/null +++ b/org.eclipse.emf.refactor.refactoring.papyrus/.project @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.emf.refactor.refactoring.papyrus</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/org.eclipse.emf.refactor.refactoring.papyrus/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.emf.refactor.refactoring.papyrus/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..c537b63 --- /dev/null +++ b/org.eclipse.emf.refactor.refactoring.papyrus/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/org.eclipse.emf.refactor.refactoring.papyrus/META-INF/MANIFEST.MF b/org.eclipse.emf.refactor.refactoring.papyrus/META-INF/MANIFEST.MF new file mode 100644 index 0000000..2ca4c58 --- /dev/null +++ b/org.eclipse.emf.refactor.refactoring.papyrus/META-INF/MANIFEST.MF @@ -0,0 +1,10 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: RefactoringPapyrus +Bundle-SymbolicName: org.eclipse.emf.refactor.refactoring.papyrus;singleton:=true +Bundle-Version: 0.7.0.qualifier +Bundle-Activator: org.eclipse.emf.refactor.refactoring.papyrus.Activator +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime +Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 diff --git a/org.eclipse.emf.refactor.refactoring.papyrus/build.properties b/org.eclipse.emf.refactor.refactoring.papyrus/build.properties new file mode 100644 index 0000000..34d2e4d --- /dev/null +++ b/org.eclipse.emf.refactor.refactoring.papyrus/build.properties @@ -0,0 +1,4 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + . diff --git a/org.eclipse.emf.refactor.refactoring.papyrus/src/org/eclipse/emf/refactor/refactoring/papyrus/Activator.java b/org.eclipse.emf.refactor.refactoring.papyrus/src/org/eclipse/emf/refactor/refactoring/papyrus/Activator.java new file mode 100644 index 0000000..fe5cfe9 --- /dev/null +++ b/org.eclipse.emf.refactor.refactoring.papyrus/src/org/eclipse/emf/refactor/refactoring/papyrus/Activator.java @@ -0,0 +1,50 @@ +package org.eclipse.emf.refactor.refactoring.papyrus; + +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends AbstractUIPlugin { + + // The plug-in ID + public static final String PLUGIN_ID = "org.eclipse.emf.refactor.refactoring.papyrus"; //$NON-NLS-1$ + + // The shared instance + private static Activator plugin; + + /** + * The constructor + */ + public Activator() { + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) + */ + 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; + } + +} |