| // ***************************************************************************** |
| // Copyright (c) 2018 Agence spatiale canadienne / Canadian Space Agency |
| // 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: |
| // Pierre Allard - initial API and implementation |
| // Regent L'Archeveque |
| // |
| // SPDX-License-Identifier: EPL-1.0 |
| // ***************************************************************************** |
| @GenModel(prefix="ApogyAddonsSensorsRangeUI", |
| childCreationExtenders="true", |
| extensibleProviderFactory="true", |
| multipleEditorPages="false", |
| copyrightText="******************************************************************************* |
| Copyright (c) 2018 Agence spatiale canadienne / Canadian Space Agency |
| 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: |
| Pierre Allard - initial API and implementation |
| Regent L'Archeveque |
| |
| SPDX-License-Identifier: EPL-1.0 |
| *******************************************************************************", |
| modelName="ApogyAddonsSensorsRangeUI", |
| complianceLevel="8.0", |
| suppressGenModelAnnotations="false", |
| dynamicTemplates="true", |
| templateDirectory="platform:/plugin/org.eclipse.apogy.common.emf.codegen/templates") |
| @GenModel(modelDirectory="/org.eclipse.apogy.addons.sensors.range.ui/src-gen") |
| @GenModel(editDirectory="/org.eclipse.apogy.addons.sensors.range.ui.edit/src-gen") |
| |
| package org.eclipse.apogy.addons.sensors.range.ui |
| |
| import org.eclipse.apogy.common.topology.ui.NodePresentation |
| import org.eclipse.apogy.common.topology.ui.MeshPresentationMode |
| import org.eclipse.apogy.common.Apogy |
| |
| /** |
| * NodePresentation for RasterScanData. |
| */ |
| @Apogy(hasCustomClass="true") |
| class RasterScanDataPresentation extends NodePresentation |
| { |
| /** |
| * Presentation mode for the Field Of View. |
| */ |
| MeshPresentationMode fovPresentationMode = "WIREFRAME" |
| |
| /** |
| * Whether or not to show the Field Of View. |
| */ |
| boolean fovVisible = "true" |
| |
| /** |
| * Whether or not to show the data. |
| */ |
| boolean dataVisible = "true" |
| } |
| |
| /** |
| * NodePresentation for SimpleSonar. |
| */ |
| @Apogy(hasCustomClass="true") |
| class SimpleSonarPresentation extends NodePresentation |
| { |
| /** |
| * Whether or not to show the detected range. |
| */ |
| boolean detectedRangeVisible = "true" |
| } |