View | Details | Raw Unified | Return to bug 180921 | Differences between
and this patch

Collapse All | Expand All

(-)plugin.xml (+1 lines)
Lines 2-7 Link Here
2
<?eclipse version="3.2"?>
2
<?eclipse version="3.2"?>
3
<plugin>
3
<plugin>
4
   <extension-point id="authenticator" name="Authenticator" schema="schema/authenticator.exsd"/>
4
   <extension-point id="authenticator" name="Authenticator" schema="schema/authenticator.exsd"/>
5
   <extension-point id="proxyProviders" name="Proxy providers" schema="schema/proxyProviders.exsd"/>
5
   <extension
6
   <extension
6
         point="org.eclipse.core.runtime.preferences">
7
         point="org.eclipse.core.runtime.preferences">
7
      <initializer
8
      <initializer
(-)schema/proxyProviders.exsd (+104 lines)
Added Link Here
1
<?xml version='1.0' encoding='UTF-8'?>
2
<!-- Schema file written by PDE -->
3
<schema targetNamespace="org.eclipse.core.net" xmlns="http://www.w3.org/2001/XMLSchema">
4
<annotation>
5
      <appinfo>
6
         <meta.schema plugin="org.eclipse.core.net" id="proxyProviders" name="Proxy providers"/>
7
      </appinfo>
8
      <documentation>
9
         [Enter description of this extension point.]
10
      </documentation>
11
   </annotation>
12
13
   <element name="extension">
14
      <complexType>
15
         <sequence>
16
            <element ref="refreshProvider"/>
17
         </sequence>
18
         <attribute name="point" type="string" use="required">
19
            <annotation>
20
               <documentation>
21
                  
22
               </documentation>
23
            </annotation>
24
         </attribute>
25
         <attribute name="id" type="string">
26
            <annotation>
27
               <documentation>
28
                  
29
               </documentation>
30
            </annotation>
31
         </attribute>
32
         <attribute name="name" type="string">
33
            <annotation>
34
               <documentation>
35
                  
36
               </documentation>
37
               <appinfo>
38
                  <meta.attribute translatable="true"/>
39
               </appinfo>
40
            </annotation>
41
         </attribute>
42
      </complexType>
43
   </element>
44
45
   <element name="refreshProvider">
46
      <complexType>
47
         <attribute name="name" type="string" use="required">
48
            <annotation>
49
               <documentation>
50
                  
51
               </documentation>
52
            </annotation>
53
         </attribute>
54
         <attribute name="class" type="string" use="required">
55
            <annotation>
56
               <documentation>
57
                  
58
               </documentation>
59
               <appinfo>
60
                  <meta.attribute kind="java" basedOn=":org.eclipse.core.net.proxy.IProxyProvider"/>
61
               </appinfo>
62
            </annotation>
63
         </attribute>
64
      </complexType>
65
   </element>
66
67
   <annotation>
68
      <appinfo>
69
         <meta.section type="since"/>
70
      </appinfo>
71
      <documentation>
72
         [Enter the first release in which this extension point appears.]
73
      </documentation>
74
   </annotation>
75
76
   <annotation>
77
      <appinfo>
78
         <meta.section type="examples"/>
79
      </appinfo>
80
      <documentation>
81
         [Enter extension point usage example here.]
82
      </documentation>
83
   </annotation>
84
85
   <annotation>
86
      <appinfo>
87
         <meta.section type="apiinfo"/>
88
      </appinfo>
89
      <documentation>
90
         [Enter API information here.]
91
      </documentation>
92
   </annotation>
93
94
   <annotation>
95
      <appinfo>
96
         <meta.section type="implementation"/>
97
      </appinfo>
98
      <documentation>
99
         [Enter information about supplied implementation of this extension point.]
100
      </documentation>
101
   </annotation>
102
103
104
</schema>
(-)src/org/eclipse/core/net/proxy/IProxyProvider.java (+35 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2008 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     IBM Corporation - initial API and implementation
10
 *******************************************************************************/
11
package org.eclipse.core.net.proxy;
12
13
public interface IProxyProvider {
14
15
	/**
16
	 * Return the list of hosts for which non proxy should be used.
17
	 * @return the list of hosts for which non proxy should be used.
18
	 */
19
	String[] getNonProxiedHosts();
20
	
21
	/**
22
	 * Return the list of know proxy types and their settings.
23
	 * @return the list of know proxy types and their settings
24
	 */
25
	IProxyData[] getProxyData();
26
	
27
	/**
28
	 * Return the list of known proxy types and their settings for the
29
	 * given host.
30
	 * @param host 
31
	 * @return the list of known proxy types and their settings for the
32
	 * given host
33
	 */
34
	IProxyData[] getProxyDataForHost(String host);
35
}

Return to bug 180921