Skip to content
Snippets Groups Projects
Commit 226a5fe9 authored by Johannes Eder's avatar Johannes Eder
Browse files

raspberry and can logo + handler

parent bd4fa390
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,8 @@ 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
org.fortiss.tooling.base.ui;bundle-version="1.0.0";visibility:=reexport,
org.fortiss.af3.platform.ui
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-Vendor: fortiss GmbH
......
org.fortiss.af3.platform.raspberry.ui/trunk/icons/can-logo.jpeg

14 KiB

org.fortiss.af3.platform.raspberry.ui/trunk/icons/raspberry-pi-logo.png

41.6 KiB

......@@ -141,4 +141,19 @@
</modelElementClass>
</modelEditorBinding>
</extension>
<extension
point="org.fortiss.tooling.kernel.ui.modelElementHandler">
<modelElementHandler
handler="org.fortiss.af3.platform.raspberry.ui.handler.RaspberryPI3Handler">
<modelElementClass
modelElementClass="org.fortiss.af3.platform.raspberry.model.RaspberryPi3">
</modelElementClass>
</modelElementHandler>
<modelElementHandler
handler="org.fortiss.af3.platform.raspberry.ui.handler.CANBusHandler">
<modelElementClass
modelElementClass="org.fortiss.af3.platform.raspberry.model.CANBus">
</modelElementClass>
</modelElementHandler>
</extension>
</plugin>
/*--------------------------------------------------------------------------+
$Id: codetemplates.xml 1 2011-01-01 00:00:01Z hoelzl $
| |
| Copyright 2017 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.handler;
import org.eclipse.jface.resource.ImageDescriptor;
import org.fortiss.af3.platform.raspberry.model.CANBus;
import org.fortiss.af3.platform.raspberry.ui.AF3PlatformRaspberryUIActivator;
import org.fortiss.af3.platform.ui.handler.hierarchical.TransmissionUnitHandler;
/**
*
* @author eder
* @author $Author: hoelzl $
* @version $Rev: 18709 $
* @ConQAT.Rating RED Hash:
*/
public class CANBusHandler extends TransmissionUnitHandler<CANBus> {
/** {@inheritDoc} */
@Override
public ImageDescriptor getIconImageDescriptor() {
return AF3PlatformRaspberryUIActivator.getImageDescriptor("icons/can-logo.jpeg");
}
}
/*--------------------------------------------------------------------------+
$Id: codetemplates.xml 1 2011-01-01 00:00:01Z hoelzl $
| |
| Copyright 2017 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.handler;
import org.eclipse.jface.resource.ImageDescriptor;
import org.fortiss.af3.platform.raspberry.model.RaspberryPi3;
import org.fortiss.af3.platform.raspberry.ui.AF3PlatformRaspberryUIActivator;
import org.fortiss.af3.platform.ui.handler.hierarchical.GenericPlatformUnitHandler;
/**
*
* @author eder
* @author $Author: hoelzl $
* @version $Rev: 18709 $
* @ConQAT.Rating RED Hash:
*/
public class RaspberryPI3Handler extends GenericPlatformUnitHandler<RaspberryPi3> {
/** {@inheritDoc} */
@Override
public ImageDescriptor getIconImageDescriptor() {
return AF3PlatformRaspberryUIActivator.getImageDescriptor("icons/raspberry-pi-logo.png");
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment