| // ***************************************************************************** |
| // 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 |
| // |
| // SPDX-License-Identifier: EPL-1.0 |
| // ***************************************************************************** |
| @GenModel(prefix="ApogyCommonTopologyBindingsUI", |
| 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 |
| |
| SPDX-License-Identifier: EPL-1.0 |
| *******************************************************************************", |
| modelName="ApogyCommonTopologyBindingsUI", |
| complianceLevel="8.0") |
| @GenModel(dynamicTemplates="true", templateDirectory="platform:/plugin/org.eclipse.apogy.common.emf.codegen/templates") |
| @GenModel(modelDirectory="/org.eclipse.apogy.common.topology.bindings.ui/src-gen") |
| @GenModel(editDirectory="/org.eclipse.apogy.common.topology.bindings.ui.edit/src-gen") |
| |
| package org.eclipse.apogy.common.topology.bindings.ui |
| |
| import org.eclipse.apogy.common.emf.ui.WizardPagesProvider |
| |
| import org.eclipse.emf.ecore.EEnumLiteral |
| import org.eclipse.apogy.common.topology.bindings.EnumerationSwitchBinding |
| import org.eclipse.apogy.common.Apogy |
| |
| @Apogy(isSingleton="true", hasCustomClass="true") |
| class ApogyCommonTopologyBindingsUIFacade |
| { |
| /** |
| * Returns whether or note the specified EEnumLiteral is used in the specified EnumerationSwitchBinding. |
| * @param enumerationSwitchBinding The specified EnumerationSwitchBinding. |
| * @param eEnumLiteral The specified EEnumLiteral. |
| * @return True if the EEnumLiteral is being used, false otherwise. |
| */ |
| op boolean isEEnumLiteralInUse(EnumerationSwitchBinding enumerationSwitchBinding, EEnumLiteral eEnumLiteral) |
| } |
| |
| /** |
| * Base class for Wizard page providers used to create a AbstractTopologyBinding. |
| */ |
| @Apogy(hasCustomClass="true") |
| class AbstractTopologyBindingWizardPagesProvider extends WizardPagesProvider |
| { |
| } |
| |
| /** |
| * Wizard page provider used to create a RotationBinding. |
| */ |
| @Apogy(hasCustomClass="true") |
| class RotationBindingWizardPagesProvider extends AbstractTopologyBindingWizardPagesProvider |
| { |
| } |
| |
| /** |
| * Wizard page provider used to create a TranslationBinding. |
| */ |
| @Apogy(hasCustomClass="true") |
| class TranslationBindingWizardPagesProvider extends AbstractTopologyBindingWizardPagesProvider |
| { |
| |
| } |
| |
| /** |
| * Wizard page provider used to create a TransformMatrixBinding. |
| */ |
| @Apogy(hasCustomClass="true") |
| class TransformMatrixBindingWizardPagesProvider extends AbstractTopologyBindingWizardPagesProvider |
| { |
| |
| } |
| |
| /** |
| * Wizard page provider used to create a TranslationBinding. |
| */ |
| @Apogy(hasCustomClass="true") |
| class BooleanBindingWizardPagesProvider extends AbstractTopologyBindingWizardPagesProvider |
| { |
| |
| } |
| |
| /** |
| * Wizard page provider used to create a EnumerationSwitchBinding. |
| */ |
| @Apogy(hasCustomClass="true") |
| class EnumerationSwitchBindingWizardPagesProvider extends AbstractTopologyBindingWizardPagesProvider |
| { |
| |
| } |
| |
| /** |
| * Wizard page provider used to create a EnumerationCase. |
| */ |
| @Apogy(hasCustomClass="true") |
| class EnumerationCaseWizardPagesProvider extends WizardPagesProvider |
| { |
| } |