blob: 5d10253e94d84d791a17f064709221fdfdd704ff [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
// Sebastien Gemme
//
// SPDX-License-Identifier: EPL-1.0
// *****************************************************************************
@GenModel(prefix="ApogyCommonTopologyAddonsPrimitivesBindings",
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
Sebastien Gemme
SPDX-License-Identifier: EPL-1.0
*******************************************************************************",
childCreationExtenders="true",
extensibleProviderFactory="true",
multipleEditorPages="false",
modelName="ApogyCommonTopologyAddonsPrimitivesBindings",
complianceLevel="8.0",
dynamicTemplates="true",
suppressGenModelAnnotations="false",
templateDirectory="platform:/plugin/org.eclipse.apogy.common.emf.codegen/templates")
@GenModel(modelDirectory="/org.eclipse.apogy.common.topology.addons.primitives.bindings/src-gen")
@GenModel(editDirectory="/org.eclipse.apogy.common.topology.addons.primitives.bindings.edit/src-gen")
package org.eclipse.apogy.common.topology.addons.primitives.bindings
import org.eclipse.apogy.common.topology.bindings.AbstractTopologyBinding
import org.eclipse.apogy.common.topology.addons.primitives.Light
import org.eclipse.apogy.common.topology.addons.primitives.PointLight
import org.eclipse.apogy.common.topology.addons.primitives.SpotLight
import org.eclipse.apogy.common.Apogy
/**
* Binding that binds a Light enablement to a boolean value in a model.
*/
@Apogy(hasCustomClass="true")
class LightEnablementBinding extends AbstractTopologyBinding
{
/**
* The current value of the light enablement.
*/
boolean currentValue
/**
* The Light being controlled by the binding.
*/
refers Light light
}
/**
* Binding that binds all parameters of a PointLight to another PointLight.
*/
@Apogy(hasCustomClass="true")
class PointLightBinding extends AbstractTopologyBinding
{
/**
* The Point Light being controlled by the binding.
*/
refers PointLight pointLight
}
/**
* Binding that binds all parameters of a SpotLight to another SpotLight.
*/
@Apogy(hasCustomClass="true")
class SpotLightBinding extends AbstractTopologyBinding
{
/**
* The Spot Light being controlled by the binding.
*/
refers SpotLight spotLight
}