diff options
author | Christian W. Damus | 2014-04-03 14:34:45 +0000 |
---|---|---|
committer | Christian W. Damus | 2014-04-07 20:20:34 +0000 |
commit | ac3260849efc10e00ac9097ec2870316431a2652 (patch) | |
tree | d87516bfd1b09cbdc99c244a2be4127ab0e9bade /plugins/infra/emf/org.eclipse.papyrus.infra.emf/schema | |
parent | 256b8d85f06de6ca1eaeb96836cc5c0d975bb73e (diff) | |
download | org.eclipse.papyrus-ac3260849efc10e00ac9097ec2870316431a2652.tar.gz org.eclipse.papyrus-ac3260849efc10e00ac9097ec2870316431a2652.tar.xz org.eclipse.papyrus-ac3260849efc10e00ac9097ec2870316431a2652.zip |
408491: [Profile] Papyrus shall enable to easily switch between local and registered profiles.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=408491
Implementation of stereotype application repair when switching profile applications. Includes a new DependencyManager that loads participants from an extension point, to enable injection of the stereotype application repair.
Diffstat (limited to 'plugins/infra/emf/org.eclipse.papyrus.infra.emf/schema')
-rw-r--r-- | plugins/infra/emf/org.eclipse.papyrus.infra.emf/schema/dependencyUpdateParticipant.exsd | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/plugins/infra/emf/org.eclipse.papyrus.infra.emf/schema/dependencyUpdateParticipant.exsd b/plugins/infra/emf/org.eclipse.papyrus.infra.emf/schema/dependencyUpdateParticipant.exsd new file mode 100644 index 00000000000..cf52317102f --- /dev/null +++ b/plugins/infra/emf/org.eclipse.papyrus.infra.emf/schema/dependencyUpdateParticipant.exsd @@ -0,0 +1,106 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- Schema file written by PDE --> +<schema targetNamespace="org.eclipse.papyrus.infra.emf" xmlns="http://www.w3.org/2001/XMLSchema"> +<annotation> + <appinfo> + <meta.schema plugin="org.eclipse.papyrus.infra.emf" id="dependencyUpdateParticipant" name="Dependency Update Participants"/> + </appinfo> + <documentation> + Refactoring participants for the <code>DependencyManagementHelper</code>'s updating of dependencies/references. + </documentation> + </annotation> + + <include schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage.exsd"/> + + <element name="extension"> + <annotation> + <appinfo> + <meta.element /> + </appinfo> + </annotation> + <complexType> + <sequence minOccurs="1" maxOccurs="unbounded"> + <element ref="replaceParticipant"/> + </sequence> + <attribute name="point" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="id" type="string"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="name" type="string"> + <annotation> + <documentation> + + </documentation> + <appinfo> + <meta.attribute translatable="true"/> + </appinfo> + </annotation> + </attribute> + </complexType> + </element> + + <element name="replaceParticipant"> + <annotation> + <documentation> + Registration of a participant in dependency replacement operations. An optional enablement expression allows to filter the applicability of the participant to a particulat invocation. The variables available in the evaluation context include: +<ul> + <li>selection: the collection of EMF <tt>Resource</tt>s on which the + refactoring is running. This is also the default variable</li> + <li>oldURI: the old URI being replaced</li> + <li>newURI: the new URI replacing the old one</li> +</ul> + </documentation> + </annotation> + <complexType> + <sequence> + <element ref="enablement" minOccurs="0" maxOccurs="1"/> + </sequence> + <attribute name="class" type="string" use="required"> + <annotation> + <documentation> + The class implementing the participant. + </documentation> + <appinfo> + <meta.attribute kind="java" basedOn=":org.eclipse.papyrus.infra.emf.resource.IDependencyReplacementParticipant"/> + </appinfo> + </annotation> + </attribute> + </complexType> + </element> + + <annotation> + <appinfo> + <meta.section type="since"/> + </appinfo> + <documentation> + 1.0 + </documentation> + </annotation> + + + + + <annotation> + <appinfo> + <meta.section type="copyright"/> + </appinfo> + <documentation> + Copyright (c) 2014 CEA and others. +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 + </documentation> + </annotation> + +</schema> |