| /********************************************************************** |
| * This file is part of "Object Teams Development Tooling"-Software |
| * |
| * Copyright 2009 Technical University Berlin, Germany. |
| * |
| * This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Please visit http://www.eclipse.org/objectteams for updates and contact. |
| * |
| * Contributors: |
| * Technical University Berlin - Initial API and implementation |
| **********************************************************************/ |
| package org.eclipse.objectteams.otequinox; |
| |
| /** |
| * Constants used for OT/Equinox. |
| * |
| * @author stephan |
| * @since 1.2.7 |
| */ |
| public interface Constants { |
| |
| /** ID of this plugin. */ |
| public static final String TRANSFORMER_PLUGIN_ID = "org.eclipse.objectteams.otequinox" ; //$NON-NLS-1$ |
| |
| /** Qualified name of class Team. */ |
| public static final String ORG_OBJECTTEAMS_TEAM = "org.objectteams.Team"; |
| |
| // === Extension point elements: === |
| |
| /** Simple name of the extension point org.eclipse.objectteams.otequinox.aspectBindings. */ |
| static final String ASPECT_BINDING_EXTPOINT_ID = "aspectBindings"; |
| static final String ASPECT_BINDING_FQEXTPOINT_ID = TRANSFORMER_PLUGIN_ID+'.'+ASPECT_BINDING_EXTPOINT_ID; |
| static final String ASPECT_BINDING = "aspectBinding"; |
| |
| /** Simple name of the extension point org.eclipse.objectteams.otequinox.liftingParticipant. */ |
| static final String LIFTING_PARTICIPANT_EXTPOINT_ID = "liftingParticipant"; |
| |
| /** Attribute of "team" and "basePlugin" elements. */ |
| static final String ID = "id"; |
| |
| /** Element of EP aspectBindings denoting a team class. */ |
| static final String TEAM = "team"; |
| /** Attribute of a "team" element denoting the fully qualified class name. */ |
| static final String CLASS = "class"; |
| /** Attribute of a "team" element denoting the team's superclass. */ |
| static final String SUPERCLASS = "superclass"; |
| /** Attribute of a "team" element denoting the requested activation: one of "NONE", "THREAD", "ALL_THREADS". */ |
| static final String ACTIVATION = "activation"; |
| /** Activation mode "NONE" */ |
| static final String NONE = "NONE"; |
| |
| /** Element of EP aspectBindings denoting an adapted base plugin. */ |
| static final String BASE_PLUGIN = "basePlugin"; |
| /** Subelement of a "basePlugin" denoting a framgment of the base plugin that is required by the aspect. */ |
| static final String REQUIRED_FRAGMENT = "requiredFragment"; |
| /** Pseudo ID of a basePlugin specifying that the team(s) adapt base classes from their own plugin. */ |
| static final String SELF = "SELF"; |
| |
| /** Subelement of a "team" denoting additional base class to consider for weaving (supers of bound bases). */ |
| static final String SUPER_BASE = "superBase"; |
| static final String SUPER_BASE_CLASS = "class"; |
| static final String SUPER_BASE_PLUGIN = "plugin"; |
| |
| /** Element of EP aspectBinding - child of basePlugin node - requesting exports forced on the given base plug-in. */ |
| public static final String FORCED_EXPORTS_ELEMENT = "forcedExports"; |
| |
| /** Simple name of the extension point org.eclipse.objectteams.otequinox.aspectBindingNegotiators. */ |
| public static final String ASPECT_NEGOTIATOR_EXTPOINT_ID = "aspectBindingNegotiators"; |
| } |