From 87023902f0f08d8473aae0d8e62e73df633eda6f Mon Sep 17 00:00:00 2001 From: luukkainen Date: Mon, 29 Sep 2008 11:10:36 +0000 Subject: [PATCH] latest release (0.41), third attempt git-svn-id: https://www.simantics.org/svn/simantics/3d/trunk@6848 ac1ea38d-2e2b-0410-8846-a27921b304fc --- org.simantics.proconf.g3d.csg/.classpath | 7 +++ org.simantics.proconf.g3d.csg/.project | 28 +++++++++ .../META-INF/MANIFEST.MF | 17 ++++++ .../build.properties | 4 ++ .../simantics/proconf/g3d/csg/Activator.java | 60 +++++++++++++++++++ 5 files changed, 116 insertions(+) create mode 100644 org.simantics.proconf.g3d.csg/.classpath create mode 100644 org.simantics.proconf.g3d.csg/.project create mode 100644 org.simantics.proconf.g3d.csg/META-INF/MANIFEST.MF create mode 100644 org.simantics.proconf.g3d.csg/build.properties create mode 100644 org.simantics.proconf.g3d.csg/src/org/simantics/proconf/g3d/csg/Activator.java diff --git a/org.simantics.proconf.g3d.csg/.classpath b/org.simantics.proconf.g3d.csg/.classpath new file mode 100644 index 00000000..02159672 --- /dev/null +++ b/org.simantics.proconf.g3d.csg/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/org.simantics.proconf.g3d.csg/.project b/org.simantics.proconf.g3d.csg/.project new file mode 100644 index 00000000..f4e22d78 --- /dev/null +++ b/org.simantics.proconf.g3d.csg/.project @@ -0,0 +1,28 @@ + + + org.simantics.proconf.g3d.csg + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/org.simantics.proconf.g3d.csg/META-INF/MANIFEST.MF b/org.simantics.proconf.g3d.csg/META-INF/MANIFEST.MF new file mode 100644 index 00000000..cbca8234 --- /dev/null +++ b/org.simantics.proconf.g3d.csg/META-INF/MANIFEST.MF @@ -0,0 +1,17 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Csg Plug-in +Bundle-SymbolicName: org.simantics.proconf.g3d.csg +Bundle-Version: 1.0.0 +Bundle-Activator: org.simantics.proconf.g3d.csg.Activator +Bundle-Vendor: VTT +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.simantics.proconf.g3d, + org.simantics.g2d.stubs, + org.simantics.db, + org.simantics.layer0.utils, + org.simantics.layer0.stubs, + org.simantics.utils.datastructures +ipse-LazyStart: true +Export-Package: org.simantics.proconf.g3d.csg.stubs diff --git a/org.simantics.proconf.g3d.csg/build.properties b/org.simantics.proconf.g3d.csg/build.properties new file mode 100644 index 00000000..41eb6ade --- /dev/null +++ b/org.simantics.proconf.g3d.csg/build.properties @@ -0,0 +1,4 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + . diff --git a/org.simantics.proconf.g3d.csg/src/org/simantics/proconf/g3d/csg/Activator.java b/org.simantics.proconf.g3d.csg/src/org/simantics/proconf/g3d/csg/Activator.java new file mode 100644 index 00000000..9a0c1261 --- /dev/null +++ b/org.simantics.proconf.g3d.csg/src/org/simantics/proconf/g3d/csg/Activator.java @@ -0,0 +1,60 @@ +/******************************************************************************* + * Copyright (c) 2007 VTT Technical Research Centre of Finland 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: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.proconf.g3d.csg; + +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 = "fi.vtt.simantics.proconf.g3d.csg"; + + // 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; + } + +} -- 2.45.2