blob: be6b9203c80c16a2f00d2587b8b2783c3c30eab2 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.photran.ui.vpg" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.photran.ui.vpg" id="refactorings" name="Refactorings"/>
</appInfo>
<documentation>
Allows plug-ins to contribute to the Refactor menu.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence>
<choice minOccurs="0" maxOccurs="1">
<element ref="resourceFilter"/>
</choice>
<choice minOccurs="1" maxOccurs="unbounded">
<element ref="group"/>
<element ref="submenu"/>
<element ref="resourceRefactoring"/>
<element ref="command"/>
<element ref="editorRefactoring"/>
</choice>
</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="resourceRefactoring">
<complexType>
<attribute name="class" type="string">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.photran.internal.core.refactoring.IResourceRefactoring"/>
</appInfo>
</annotation>
</attribute>
<attribute name="label" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="command" type="string">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.commands/command/@id"/>
</appInfo>
</annotation>
</attribute>
<attribute name="inputPage" type="string">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.photran.internal.ui.refactoring.CustomUserInputPage:"/>
</appInfo>
</annotation>
</attribute>
<attribute name="require_env" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="editorRefactoring">
<complexType>
<attribute name="class" type="string">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.photran.internal.core.refactoring.IEditorRefactoring"/>
</appInfo>
</annotation>
</attribute>
<attribute name="label" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="command" type="string">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.commands/command/@id"/>
</appInfo>
</annotation>
</attribute>
<attribute name="inputPage" type="string">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.photran.internal.ui.refactoring.CustomUserInputPage:"/>
</appInfo>
</annotation>
</attribute>
<attribute name="require_env" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="group">
<complexType>
<sequence>
<choice minOccurs="1" maxOccurs="unbounded">
<element ref="command"/>
<element ref="resourceRefactoring"/>
<element ref="editorRefactoring"/>
<element ref="submenu"/>
</choice>
</sequence>
</complexType>
</element>
<element name="submenu">
<complexType>
<sequence>
<choice minOccurs="1" maxOccurs="unbounded">
<element ref="group"/>
<element ref="submenu"/>
<element ref="resourceRefactoring"/>
<element ref="command"/>
<element ref="editorRefactoring"/>
</choice>
</sequence>
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute translatable="true"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="command">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.commands/command/@id"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="resourceFilter">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.photran.internal.core.resources.IResourceFilter"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
9.0
</documentation>
</annotation>
</schema>