diff options
author | Christian W. Damus | 2014-02-20 17:29:54 +0000 |
---|---|---|
committer | Christian W. Damus | 2014-02-20 19:38:53 +0000 |
commit | 22e0c8899782a39691ae9427568c78c8b817e0cb (patch) | |
tree | 1590d5da976e43ca7fd0a4f822aca438e13da0b1 /plugins/infra/emf/org.eclipse.papyrus.infra.emf/plugin.xml | |
parent | 8ef9f1713ffdc6d441a11d96812f624dc7bd433e (diff) | |
download | org.eclipse.papyrus-22e0c8899782a39691ae9427568c78c8b817e0cb.tar.gz org.eclipse.papyrus-22e0c8899782a39691ae9427568c78c8b817e0cb.tar.xz org.eclipse.papyrus-22e0c8899782a39691ae9427568c78c8b817e0cb.zip |
323802: [General] Papyrus shall provide a read only mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802
Implement edit advice to protect read-only objects.
Diffstat (limited to 'plugins/infra/emf/org.eclipse.papyrus.infra.emf/plugin.xml')
-rw-r--r-- | plugins/infra/emf/org.eclipse.papyrus.infra.emf/plugin.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/infra/emf/org.eclipse.papyrus.infra.emf/plugin.xml b/plugins/infra/emf/org.eclipse.papyrus.infra.emf/plugin.xml index 22c5b0373c6..201411fb724 100644 --- a/plugins/infra/emf/org.eclipse.papyrus.infra.emf/plugin.xml +++ b/plugins/infra/emf/org.eclipse.papyrus.infra.emf/plugin.xml @@ -1,5 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
+<!--
+ Copyright (c) 2012, 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
+
+ Contributors:
+ CEA - Initial API and implementation
+ Christian W. Damus (CEA) - bug 323802
+
+-->
<plugin>
<extension
point="org.eclipse.papyrus.infra.core.service">
@@ -45,6 +58,15 @@ id="org.eclipse.papyrus.infra.emf.page">
</metamodelType>
</metamodel>
+ <metamodel
+ nsURI="http://www.eclipse.org/emf/2002/Ecore">
+ <adviceBinding
+ id="org.eclipse.papyrus.infra.emf.readOnlyAdvice"
+ class="org.eclipse.papyrus.infra.emf.advice.ReadOnlyObjectEditAdvice"
+ typeId="*"
+ inheritance="none">
+ </adviceBinding>
+ </metamodel>
</extension>
<extension
point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings">
|