Have icon for "reset" entry in reflog
[egit/eclipse.git] / org.eclipse.egit.ui / schema / cloneSourceProvider.exsd
blob89522441c83d5d83ac713ae4cfa92511828e559c
1 <?xml version='1.0' encoding='UTF-8'?>
2 <!-- Schema file written by PDE -->
3 <schema targetNamespace="org.eclipse.egit.ui" xmlns="http://www.w3.org/2001/XMLSchema">
4 <annotation>
5 <appInfo>
6 <meta.schema plugin="org.eclipse.egit.ui" id="repositoryImportPage" name="%CloneSourceProviderExtension-point.name"/>
7 </appInfo>
8 <documentation>
9 This extension point provides the ability to add repository search functionality. An extender can specify a server type and a repository search for servers of this type. The server must provide a means to search for git repositories and to clone such repositories.
10 </documentation>
11 </annotation>
13 <element name="extension">
14 <annotation>
15 <appInfo>
16 <meta.element />
17 </appInfo>
18 </annotation>
19 <complexType>
20 <sequence>
21 <element ref="source"/>
22 <element ref="repositoryServerProvider" minOccurs="0" maxOccurs="1"/>
23 <element ref="repositorySearchPage" minOccurs="0" maxOccurs="1"/>
24 </sequence>
25 <attribute name="point" type="string" use="required">
26 <annotation>
27 <documentation>
28 </documentation>
29 </annotation>
30 </attribute>
31 <attribute name="id" type="string">
32 <annotation>
33 <documentation>
34 </documentation>
35 </annotation>
36 </attribute>
37 <attribute name="name" type="string">
38 <annotation>
39 <documentation>
40 </documentation>
41 <appInfo>
42 <meta.attribute translatable="true"/>
43 </appInfo>
44 </annotation>
45 </attribute>
46 </complexType>
47 </element>
49 <element name="source">
50 <annotation>
51 <documentation>
52 Description of the server type. Used to configure the node in the Wizard page where a user can choose the server type.
53 </documentation>
54 </annotation>
55 <complexType>
56 <attribute name="label" type="string" use="required">
57 <annotation>
58 <documentation>
59 The human readable name of a type of servers containing repositories
60 </documentation>
61 </annotation>
62 </attribute>
63 <attribute name="hasFixLocation" type="boolean">
64 <annotation>
65 <documentation>
66 If true there will be no ability to add different servers of this type.
67 The provided repositoryImportPage has to know where to look for the repositories.
68 </documentation>
69 </annotation>
70 </attribute>
71 <attribute name="icon" type="string">
72 <annotation>
73 <documentation>
74 a relative path of an icon used to visually represent the clone source.
75 The path is relative to the location of the plugin.xml file of the contributing plug-in.
76 </documentation>
77 <appInfo>
78 <meta.attribute kind="resource"/>
79 </appInfo>
80 </annotation>
81 </attribute>
82 </complexType>
83 </element>
85 <element name="repositoryServerProvider">
86 <annotation>
87 <documentation>
88 Provides a list of servers which host git repositories
89 </documentation>
90 </annotation>
91 <complexType>
92 <attribute name="class" type="string" use="required">
93 <annotation>
94 <documentation>
95 The class needs to have a default (no arguments) constructor.
96 </documentation>
97 <appInfo>
98 <meta.attribute kind="java" basedOn=":org.eclipse.egit.ui.internal.provisional.wizards.IRepositoryServerProvider"/>
99 </appInfo>
100 </annotation>
101 </attribute>
102 </complexType>
103 </element>
105 <element name="repositorySearchPage">
106 <annotation>
107 <documentation>
108 A wizard page which can can return information of a git repository
109 </documentation>
110 </annotation>
111 <complexType>
112 <attribute name="class" type="string">
113 <annotation>
114 <documentation>
115 The class needs to have a default (no arguments) constructor.
116 </documentation>
117 <appInfo>
118 <meta.attribute kind="java" basedOn="org.eclipse.jface.wizard.WizardPage:org.eclipse.egit.ui.internal.provisional.wizards.IRepositorySearchResult"/>
119 </appInfo>
120 </annotation>
121 </attribute>
122 </complexType>
123 </element>
125 <annotation>
126 <appInfo>
127 <meta.section type="since"/>
128 </appInfo>
129 <documentation>
131 </documentation>
132 </annotation>
135 <annotation>
136 <appInfo>
137 <meta.section type="apiinfo"/>
138 </appInfo>
139 <documentation>
140 The following classes belong to the api:
142 org.eclipse.egit.ui.internal.provisional.wizards.IRepositoryServerProvider
143 org.eclipse.egit.ui.internal.provisional.wizards.GitRepositoryInfo.java
144 org.eclipse.egit.ui.internal.provisional.wizards.IRepositorySearchResult
145 org.eclipse.egit.ui.internal.provisional.wizards.RepositoryServerInfo
146 </documentation>
147 </annotation>
150 <annotation>
151 <appInfo>
152 <meta.section type="copyright"/>
153 </appInfo>
154 <documentation>
155 Copyright (c) 2011 SAP AG.
156 All rights reserved. This program and the accompanying materials
157 are made available under the terms of the Eclipse Public License 2.0
158 which accompanies this distribution, and is available at
159 https://www.eclipse.org/legal/epl-2.0/
161 SPDX-License-Identifier: EPL-2.0
163 Contributors:
164 Stefan Lay (SAP AG) - initial implementation
165 </documentation>
166 </annotation>
168 </schema>