blob: 5a5bdb174ca82dc03c4b28e3ebf0a9998b98d2ed [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="ApogyCoreEnvironmentUI",
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="ApogyCoreEnvironmentUI",
complianceLevel="8.0",
suppressGenModelAnnotations="false",
dynamicTemplates="true",
templateDirectory="platform:/plugin/org.eclipse.apogy.common.emf.codegen/templates")
@GenModel(modelDirectory="/org.eclipse.apogy.core.environment.ui/src-gen")
@GenModel(editDirectory="/org.eclipse.apogy.core.environment.ui.edit/src-gen")
package org.eclipse.apogy.core.environment.ui
import org.eclipse.apogy.common.topology.ui.NodePresentation
import org.eclipse.apogy.common.Apogy
// Types
type List<T> wraps java.util.List
type Point2d wraps javax.vecmath.Point2d
type Color3f wraps javax.vecmath.Color3f
type Point3f wraps javax.vecmath.Point3f
type XYSeries wraps org.jfree.data.xy.XYSeries
type XYPlot wraps org.jfree.chart.plot.XYPlot
type XYDataItem wraps org.jfree.data.xy.XYDataItem
type AbstractXYAnnotation wraps org.jfree.chart.annotations.AbstractXYAnnotation
type ChartComposite wraps org.jfree.experimental.chart.swt.ChartComposite
type JFreeChart wraps org.jfree.chart.JFreeChart
// Classes
@Apogy(hasCustomClass="true")
class StarFieldPresentation extends NodePresentation
{
/**
* Transparency of the stars from 0 to 1. O Is fully transparent, 1 is fully opaque.
*/
float transparency = "0.0"
/**
* The maximum magnitude (lowest brightness) of stars that will be displayed.
*/
float cutOffMagnitude = "6.0"
}
@Apogy(hasCustomClass="true")
class SunPresentation extends NodePresentation
{
}