blob: 8094390d02fde70b1e36a69f4aebc0182f6a06d0 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ogee.designer" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.ogee.designer" id="org.eclipse.ogee.imageprovider" name="Image Provider"/>
</appinfo>
<documentation>
This extension point can be used to register custom context menu implementations for particular diagram types.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<choice minOccurs="1" maxOccurs="unbounded">
<element ref="imageprovider"/>
</choice>
<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="imageprovider">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
The id of the image from ODataImageProvider
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appinfo>
<meta.section type="since"/>
</appinfo>
<documentation>
0.7.0
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="examples"/>
</appinfo>
<documentation>
&lt;extension
point=&quot;org.eclipse.ogee.designer.contextmenu&quot;&gt;
&lt;contextmenu
class=&quot;org.eclipse.ogee.designer.contextmenuimpl.ServiceImplementationContextMenu&quot;
icon=&quot;icons/service_implementation.png&quot;
id=&quot;org.eclipse.ogee.designer.contextmenuimpl.serviceimplcontextmenu&quot;
key_binding=&quot;org.eclipse.ogee.designer.contextmenuimpl.serviceimplcommand&quot;
name=&quot;OData Implementation&quot;
parent_name=&quot;Service Implementation&quot;&gt;
&lt;/contextmenu&gt;
&lt;/extension&gt;
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="apiinfo"/>
</appinfo>
<documentation>
The provider implements interface org.eclipse.ogee.designer.contextmenu.IContextMenu.
This interface has 2 methods which needs to be implemented:
public void menuAction(EObject businessObject); // the custom implementation that needs to be carried out
public EnumSet&lt;UIElementType&gt; getApplicableElements(); // to return the set of ui element types which the context menu
// should hook on to
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="implementation"/>
</appinfo>
<documentation>
None
</documentation>
</annotation>
</schema>