Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2011-11-10 09:16:09 +0000
committercletavernie2011-11-10 09:16:09 +0000
commit28db7def625d0aa14f3d0ade72045023481686c4 (patch)
tree5166a21e25d823ac768d85939fc0bd35181b56da /plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/schema/org.eclipse.papyrus.views.modelexplorer.actionHandler.exsd
parent760e03be3cac41d0e1c96ff28f3bfd9a6350dab9 (diff)
downloadorg.eclipse.papyrus-28db7def625d0aa14f3d0ade72045023481686c4.tar.gz
org.eclipse.papyrus-28db7def625d0aa14f3d0ade72045023481686c4.tar.xz
org.eclipse.papyrus-28db7def625d0aa14f3d0ade72045023481686c4.zip
362162: [Architecture - Refactoring] The plug-ins should be renamed to match their layer's qualified name
https://bugs.eclipse.org/bugs/show_bug.cgi?id=362162
Diffstat (limited to 'plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/schema/org.eclipse.papyrus.views.modelexplorer.actionHandler.exsd')
-rw-r--r--plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/schema/org.eclipse.papyrus.views.modelexplorer.actionHandler.exsd141
1 files changed, 141 insertions, 0 deletions
diff --git a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/schema/org.eclipse.papyrus.views.modelexplorer.actionHandler.exsd b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/schema/org.eclipse.papyrus.views.modelexplorer.actionHandler.exsd
new file mode 100644
index 00000000000..2aebf1ed109
--- /dev/null
+++ b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/schema/org.eclipse.papyrus.views.modelexplorer.actionHandler.exsd
@@ -0,0 +1,141 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.papyrus.views.modelexplorer" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appinfo>
+ <meta.schema plugin="org.eclipse.papyrus.views.modelexplorer" id="org.eclipse.papyrus.views.modelexplorer.actionHandler" name="ActionHandler"/>
+ </appinfo>
+ <documentation>
+ This extension point allows adding action in the contextual menu of the model explorer
+ </documentation>
+ </annotation>
+
+ <element name="extension">
+ <annotation>
+ <appinfo>
+ <meta.element deprecated="true" />
+ </appinfo>
+ </annotation>
+ <complexType>
+ <sequence minOccurs="0" maxOccurs="unbounded">
+ <element ref="customAction"/>
+ </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="customAction">
+ <annotation>
+ <appinfo>
+ <meta.element deprecated="true"/>
+ </appinfo>
+ </annotation>
+ <complexType>
+ <attribute name="actionId" type="string" use="required">
+ <annotation>
+ <documentation>
+ registered action identifier
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="actionHandler" type="string" use="required">
+ <annotation>
+ <documentation>
+ implement the action handler factory to add your custom actions
+ </documentation>
+ <appinfo>
+ <meta.attribute kind="java" basedOn=":org.eclipse.papyrus.navigator.factory.IActionHandlerFactory"/>
+ </appinfo>
+ </annotation>
+ </attribute>
+ <attribute name="afterAction" type="string">
+ <annotation>
+ <documentation>
+ fill the action id after you want to insert yours
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="needSeparator" type="boolean" use="default" value="false">
+ <annotation>
+ <documentation>
+ Add a separator before your action(s) if needed
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="since"/>
+ </appinfo>
+ <documentation>
+ [Enter the first release in which this extension point appears.]
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="examples"/>
+ </appinfo>
+ <documentation>
+ org.eclipse.papyrus.navigator.factory.DefaultEMFActionsFactory adds default EMF actions in model explorer.
+See registered extension org.eclipse.papyrus.navigator.actionHandler
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="apiinfo"/>
+ </appinfo>
+ <documentation>
+ The class must implement interface org.eclipse.papyrus.navigator.factory.IActionHandlerFactory
+Deprecrated extension point. Use org.eclipse.ui.commands, org.eclipse.ui.menus, org.eclipse.ui.binding instead
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="implementation"/>
+ </appinfo>
+ <documentation>
+ none
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="copyright"/>
+ </appinfo>
+ <documentation>
+ 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>

Back to the top