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

Collapse All | Expand All

(-)plugin.properties (+1 lines)
Lines 49-54 Link Here
49
ExtPoint.viewActions = View Menus and Actions
49
ExtPoint.viewActions = View Menus and Actions
50
ExtPoint.views = Views
50
ExtPoint.views = Views
51
ExtPoint.workingSets = Working set dialogs
51
ExtPoint.workingSets = Working set dialogs
52
ExtPoint.browserSupport = Browser Support
52
53
53
Views.Category.Basic = Basic
54
Views.Category.Basic = Basic
54
Views.IntroAdapter = Welcome
55
Views.IntroAdapter = Welcome
(-)plugin.xml (+1 lines)
Lines 62-67 Link Here
62
   <extension-point id="views" name="%ExtPoint.views" schema="schema/views.exsd"/>
62
   <extension-point id="views" name="%ExtPoint.views" schema="schema/views.exsd"/>
63
   <extension-point id="workingSets" name="%ExtPoint.workingSets" schema="schema/workingSets.exsd"/>
63
   <extension-point id="workingSets" name="%ExtPoint.workingSets" schema="schema/workingSets.exsd"/>
64
   <extension-point id="services" name="%ExtPoint.services" schema="schema/services.mxsd"/>
64
   <extension-point id="services" name="%ExtPoint.services" schema="schema/services.mxsd"/>
65
   <extension-point id="browserSupport" name="%ExtPoint.browserSupport" schema="schema/browserSupport.exsd"/>
65
   
66
   
66
   <extension
67
   <extension
67
         point="org.eclipse.ui.contexts">
68
         point="org.eclipse.ui.contexts">
(-)schema/browserSupport.exsd (+127 lines)
Added Link Here
1
<?xml version='1.0' encoding='UTF-8'?>
2
<!-- Schema file written by PDE -->
3
<schema targetNamespace="org.eclipse.ui">
4
<annotation>
5
      <appInfo>
6
         <meta.schema plugin="org.eclipse.ui" id="browserSupport" name="Browser Support"/>
7
      </appInfo>
8
      <documentation>
9
         This extension point is used to contribute workbench browser support. The support is responsible for opening URLs for all the Eclipse plug-ins. Workbench provides a very rudimentary implementation with a more complete implementation available as an optional RCP plug-in.
10
&lt;p&gt;
11
Contributions that are meant to be shipped with the product as the standard support should be marked as &lt;code&gt;default&lt;/code&gt;. This way, it is possible to override the support with another contribution that is not marked as &lt;code&gt;default&lt;/code&gt;. Note however that only one support can be active at any point in time. In case of multiple default and/or non-default contributions, the result is non-deterministic.
12
      </documentation>
13
   </annotation>
14
15
   <element name="extension">
16
      <complexType>
17
         <sequence>
18
            <element ref="support" minOccurs="1" maxOccurs="unbounded"/>
19
         </sequence>
20
         <attribute name="point" type="string" use="required">
21
            <annotation>
22
               <documentation>
23
                  A fully qualified identifier of the target extension point.
24
               </documentation>
25
            </annotation>
26
         </attribute>
27
         <attribute name="id" type="string">
28
            <annotation>
29
               <documentation>
30
                  An optional identifier of the extension instance.
31
               </documentation>
32
            </annotation>
33
         </attribute>
34
         <attribute name="name" type="string">
35
            <annotation>
36
               <documentation>
37
                  An optional name of the extension instance.
38
               </documentation>
39
               <appInfo>
40
                  <meta.attribute translatable="true"/>
41
               </appInfo>
42
            </annotation>
43
         </attribute>
44
      </complexType>
45
   </element>
46
47
   <element name="support">
48
      <complexType>
49
         <attribute name="class" type="string" use="required">
50
            <annotation>
51
               <documentation>
52
                  The class providing the browser support for the workbench. This class should extend &lt;code&gt;org.eclipse.ui.browser.AbstractWorkbenchBrowserSupport&lt;/code&gt;.
53
               </documentation>
54
               <appInfo>
55
                  <meta.attribute kind="java" basedOn="org.eclipse.ui.browser.AbstractWorkbenchBrowserSupport"/>
56
               </appInfo>
57
            </annotation>
58
         </attribute>
59
         <attribute name="default" type="boolean" use="default" value="false">
60
            <annotation>
61
               <documentation>
62
                  indicates whether this support is the default. Browser support should be marked as default if it is normally shipped with the product as the standard browser support. Browser supports that need to override the default support should have this flag set to &lt;code&gt;false&lt;/code&gt;. When workbench encounters two extensions, it will pick a non-default over a default one.
63
               </documentation>
64
            </annotation>
65
         </attribute>
66
      </complexType>
67
   </element>
68
69
   <annotation>
70
      <appInfo>
71
         <meta.section type="since"/>
72
      </appInfo>
73
      <documentation>
74
         3.1
75
      </documentation>
76
   </annotation>
77
78
   <annotation>
79
      <appInfo>
80
         <meta.section type="examples"/>
81
      </appInfo>
82
      <documentation>
83
         The following is an example of a browser support contribution:
84
85
&lt;pre&gt;
86
   &lt;extension point=&quot;org.eclipse.ui.browserSupport&quot;&gt;
87
      &lt;support
88
          default=&quot;true&quot;
89
          class=&quot;com.example.xyz.MyBrowserSupport&quot;&gt;
90
      &lt;/support&gt;
91
   &lt;/extension&gt;
92
&lt;/pre&gt;
93
      </documentation>
94
   </annotation>
95
96
   <annotation>
97
      <appInfo>
98
         <meta.section type="apiInfo"/>
99
      </appInfo>
100
      <documentation>
101
         The contributors are expected to provide a class that extends &lt;code&gt;org.eclipse.ui.browser.AbstractWorkbenchBrowserSupport&lt;/code&gt;.
102
      </documentation>
103
   </annotation>
104
105
   <annotation>
106
      <appInfo>
107
         <meta.section type="implementation"/>
108
      </appInfo>
109
      <documentation>
110
         The workbench provides a simple implementation of the browser support that is used when no contributions are found in the registry.
111
      </documentation>
112
   </annotation>
113
114
   <annotation>
115
      <appInfo>
116
         <meta.section type="copyright"/>
117
      </appInfo>
118
      <documentation>
119
         Copyright (c) 2000, 2005 IBM Corporation and others.&lt;br&gt;
120
All rights reserved. This program and the accompanying materials are made
121
available under the terms of the Eclipse Public License v1.0 which accompanies
122
this distribution, and is available at &lt;a 
123
href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
124
      </documentation>
125
   </annotation>
126
127
</schema>

Return to bug 69647