<?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> | |
<extension | |
point="org.eclipse.ogee.designer.contextmenu"> | |
<contextmenu | |
class="org.eclipse.ogee.designer.contextmenuimpl.ServiceImplementationContextMenu" | |
icon="icons/service_implementation.png" | |
id="org.eclipse.ogee.designer.contextmenuimpl.serviceimplcontextmenu" | |
key_binding="org.eclipse.ogee.designer.contextmenuimpl.serviceimplcommand" | |
name="OData Implementation" | |
parent_name="Service Implementation"> | |
</contextmenu> | |
</extension> | |
</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<UIElementType> 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> |