diff --git a/org.fortiss.af3.platform.raspberry.ui/trunk/.classpath b/org.fortiss.af3.platform.raspberry.ui/trunk/.classpath new file mode 100644 index 0000000000000000000000000000000000000000..6046c7a0d1baa6d3897c2eef516aa6ba0e45df00 --- /dev/null +++ b/org.fortiss.af3.platform.raspberry.ui/trunk/.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="build"/> +</classpath> diff --git a/org.fortiss.af3.platform.raspberry.ui/trunk/.project b/org.fortiss.af3.platform.raspberry.ui/trunk/.project new file mode 100644 index 0000000000000000000000000000000000000000..b36b3e2e7417ec9ac8b2fd38ffd69f69b705b316 --- /dev/null +++ b/org.fortiss.af3.platform.raspberry.ui/trunk/.project @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.fortiss.af3.platform.raspberry.ui</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.fortiss.af3.platform.raspberry.ui/trunk/META-INF/MANIFEST.MF b/org.fortiss.af3.platform.raspberry.ui/trunk/META-INF/MANIFEST.MF new file mode 100644 index 0000000000000000000000000000000000000000..03836d2372fa25e237701ff89a7510ad5b633c9d --- /dev/null +++ b/org.fortiss.af3.platform.raspberry.ui/trunk/META-INF/MANIFEST.MF @@ -0,0 +1,13 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Fortiss AF3 Platform Raspberry UI +Bundle-SymbolicName: org.fortiss.af3.platform.raspberry.ui;singleton:=true +Bundle-Version: 2.9.0.qualifier +Bundle-Activator: org.fortiss.af3.platform.raspberry.ui.AF3PlatformRaspberryUIActivator +Require-Bundle: org.eclipse.ui.ide;bundle-version="3.7.0";visibility:=reexport, + org.fortiss.af3.project.ui;bundle-version="1.0.0";visibility:=reexport, + org.fortiss.tooling.base.ui;bundle-version="1.0.0";visibility:=reexport +Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-Vendor: fortiss GmbH +Export-Package: org.fortiss.af3.platform.raspberry.ui diff --git a/org.fortiss.af3.platform.raspberry.ui/trunk/build.properties b/org.fortiss.af3.platform.raspberry.ui/trunk/build.properties new file mode 100644 index 0000000000000000000000000000000000000000..c514c7fdb6b707a3347714699fddcf5ceecb5028 --- /dev/null +++ b/org.fortiss.af3.platform.raspberry.ui/trunk/build.properties @@ -0,0 +1,10 @@ +# <copyright> +# </copyright> +# +# $Id$ + +bin.includes = .,\ + META-INF/,\ + plugin.xml +source.. = src/ +output.. = build/ \ No newline at end of file diff --git a/org.fortiss.af3.platform.raspberry.ui/trunk/plugin.properties b/org.fortiss.af3.platform.raspberry.ui/trunk/plugin.properties new file mode 100644 index 0000000000000000000000000000000000000000..35dca873d642ed94938bbbf54744d1cbf042ebe5 --- /dev/null +++ b/org.fortiss.af3.platform.raspberry.ui/trunk/plugin.properties @@ -0,0 +1,7 @@ +# <copyright> +# </copyright> +# +# $Id$ + +pluginName = Fortiss AF3 Base Project UI +providerName = fortiss GmbH diff --git a/org.fortiss.af3.platform.raspberry.ui/trunk/plugin.xml b/org.fortiss.af3.platform.raspberry.ui/trunk/plugin.xml new file mode 100644 index 0000000000000000000000000000000000000000..1efe8a1e940665ef8661922a53bda354547f3363 --- /dev/null +++ b/org.fortiss.af3.platform.raspberry.ui/trunk/plugin.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.0"?> + +<!-- + <copyright> + </copyright> + + $Id$ +--> +<plugin> + +</plugin> diff --git a/org.fortiss.af3.platform.raspberry.ui/trunk/pom.xml b/org.fortiss.af3.platform.raspberry.ui/trunk/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..924914f316a0b8fc05f6754a843460bb65493a6b --- /dev/null +++ b/org.fortiss.af3.platform.raspberry.ui/trunk/pom.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + $Id$ + @version $Rev$ + @ConQAT.Rating RED Hash: E1674C4A6DD3CBC4A7B7E85232D9695F +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.fortiss.af3</groupId> + <artifactId>org.fortiss.af3.platform.raspberry.ui</artifactId> + <packaging>eclipse-plugin</packaging> + + <parent> + <groupId>org.fortiss.std.pom</groupId> + <artifactId>std-parent-pom-indigo</artifactId> + <version>1.0</version> + <relativePath>../fortiss-std-env/maven-build/pom.xml</relativePath> + </parent> + + <version>2.9.0-SNAPSHOT</version> +</project> \ No newline at end of file diff --git a/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/AF3PlatformRaspberryUIActivator.java b/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/AF3PlatformRaspberryUIActivator.java new file mode 100644 index 0000000000000000000000000000000000000000..e65c3d2765864a3756835ff775660cc1bb6d3ab8 --- /dev/null +++ b/org.fortiss.af3.platform.raspberry.ui/trunk/src/org/fortiss/af3/platform/raspberry/ui/AF3PlatformRaspberryUIActivator.java @@ -0,0 +1,68 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2011 ForTISS GmbH | +| | +| Licensed under the Apache License, Version 2.0 (the "License"); | +| you may not use this file except in compliance with the License. | +| You may obtain a copy of the License at | +| | +| http://www.apache.org/licenses/LICENSE-2.0 | +| | +| Unless required by applicable law or agreed to in writing, software | +| distributed under the License is distributed on an "AS IS" BASIS, | +| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | +| See the License for the specific language governing permissions and | +| limitations under the License. | ++--------------------------------------------------------------------------*/ +package org.fortiss.af3.platform.raspberry.ui; + +import org.eclipse.jface.resource.ImageDescriptor; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle. + * + * @author hoelzl + * @author $Author$ + * @version $Rev$ + * @ConQAT.Rating RED Hash: 250D9EED7E36588B51D8F1B3F968B2FB + */ +public class AF3PlatformRaspberryUIActivator extends AbstractUIPlugin { + + /** The plug-in ID. */ + public static final String PLUGIN_ID = AF3PlatformRaspberryUIActivator.class.getPackage().getName(); //$NON-NLS-1$ + + /** The shared instance. */ + private static AF3PlatformRaspberryUIActivator plugin; + + /** Constructor. */ + public AF3PlatformRaspberryUIActivator() { + // do nothing + } + + /** {@inheritDoc} */ + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /** {@inheritDoc} */ + @Override + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** Returns the shared instance. */ + public static AF3PlatformRaspberryUIActivator getDefault() { + return plugin; + } + + /** Returns the image descriptor for the given icon file. */ + public static ImageDescriptor getImageDescriptor(String path) { + return imageDescriptorFromPlugin(PLUGIN_ID, path); + } +} diff --git a/org.fortiss.af3.platform.raspberry/trunk/pom.xml b/org.fortiss.af3.platform.raspberry/trunk/pom.xml index 49f366759892bdea9f3a91d1aa24a2f2cb7e031e..3622f7b7bdc40b492c2e51736ebef1c8b38ea1b8 100644 --- a/org.fortiss.af3.platform.raspberry/trunk/pom.xml +++ b/org.fortiss.af3.platform.raspberry/trunk/pom.xml @@ -7,7 +7,7 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.fortiss.af3</groupId> - <artifactId>org.fortiss.af3.base.project</artifactId> + <artifactId>org.fortiss.af3.platform.raspberry</artifactId> <packaging>eclipse-plugin</packaging> <parent> @@ -17,5 +17,5 @@ <relativePath>../fortiss-std-env/maven-build/pom.xml</relativePath> </parent> - <version>2.8.0-SNAPSHOT</version> + <version>2.9.0-SNAPSHOT</version> </project> \ No newline at end of file