blob: c04cbaecd25c8b74e8fd08970d28e7060d802d52 [file] [log] [blame]
// *****************************************************************************
// 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="ApogyAddonsGeometryPathsUI",
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="ApogyAddonsGeometryPathsUI",
complianceLevel="8.0")
@GenModel(dynamicTemplates="true", templateDirectory="platform:/plugin/org.eclipse.apogy.common.emf.codegen/templates")
@GenModel(modelDirectory="/org.eclipse.apogy.addons.geometry.paths.ui/src-gen")
@GenModel(editDirectory="/org.eclipse.apogy.addons.geometry.paths.ui.edit/src-gen")
package org.eclipse.apogy.addons.geometry.paths.ui
import org.eclipse.apogy.common.topology.ui.NodePresentation
import org.eclipse.apogy.common.Apogy
/**
* The available presentation mode for WayPointPath.
*/
enum PathPresentationMode
{
POINTS as "Points" = 0,
LINES as "Lines" = 1,
POINTS_LINES as "Points Lines" = 2
}
/**
* NodePresentation for WayPointPath.
*/
@Apogy(hasCustomClass="true")
class WayPointPathPresentation extends NodePresentation
{
/**
* Size of the points composing the points. Use when presentationMode is POINTS or POINTS_LINES.
*/
int pointSize = "2"
/**
* Presentation mode for the path.
*/
PathPresentationMode presentationMode = "Points Lines"
/**
* Radius if the spheres used to represent the start and end point of the path.
*/
@GenModel(notify="true")
@Apogy(units = "m")
float endPointsRadius = "0.02"
}
/**
* NodePresentation for WayPoint.
*/
@Apogy(hasCustomClass="true")
class WayPointPresentation extends NodePresentation
{
}