Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.papyrus.examples.restrictedservicecreation/plugin.xml')
-rw-r--r--examples/org.eclipse.papyrus.examples.restrictedservicecreation/plugin.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/org.eclipse.papyrus.examples.restrictedservicecreation/plugin.xml b/examples/org.eclipse.papyrus.examples.restrictedservicecreation/plugin.xml
new file mode 100644
index 00000000000..5591c133f4c
--- /dev/null
+++ b/examples/org.eclipse.papyrus.examples.restrictedservicecreation/plugin.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypes">
+ <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
+
+ <adviceBinding
+ class="org.eclipse.papyrus.restrictedservicecreation.FilterClassOnPackage"
+ id="org.eclipse.papyrus.restrictedservicecreation.FilterClassOnPackage"
+ inheritance="all"
+ typeId="org.eclipse.papyrus.uml.Element">
+ </adviceBinding>
+ </metamodel>
+ </extension>
+
+ <!-- Creating a default binding -->
+ <extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings">
+
+ <!-- Bindings declaration -->
+ <binding context="org.eclipse.papyrus.uml.service.creation.TypeContext">
+ <elementType pattern="org.eclipse.papyrus.uml.*" />
+ <advice ref="org.eclipse.papyrus.restrictedservicecreation.FilterClassOnPackage" />
+ </binding>
+ </extension>
+
+
+</plugin>

Back to the top