1 <?xml version='1.0' encoding='UTF-8'?>
\r
2 <!-- Schema file written by PDE -->
\r
3 <schema targetNamespace="org.eclipse.jdt.ui">
\r
6 <meta.schema plugin="org.eclipse.jdt.ui" id="foldingStructureProviders" name="Java Folding Structure Provider"/>
\r
9 Contributions to this extension point define folding structures for the Java editor. That is, they define the regions of a Java source file that can be folded away. See <code>org.eclipse.jface.text.source.ProjectionViewer</code> for reference.
\r
11 Extensions may optionally contribute a preference block which will appear on the Java editor preference page.
\r
16 <element name="extension">
\r
19 <element ref="provider" minOccurs="1" maxOccurs="unbounded"/>
\r
21 <attribute name="point" type="string" use="required">
\r
24 a fully qualified identifier of the target extension point
\r
28 <attribute name="id" type="string">
\r
31 an optional identifier of the extension instance
\r
35 <attribute name="name" type="string">
\r
38 an optional name of the extension instance
\r
41 <meta.attribute translatable="true"/>
\r
48 <element name="provider">
\r
51 <meta.element labelAttribute="name"/>
\r
55 <attribute name="id" type="string" use="required">
\r
58 the unique identifier of this provider
\r
62 <attribute name="name" type="string">
\r
65 the name of this provider. If none is given, the id is used instead.
\r
68 <meta.attribute translatable="true"/>
\r
72 <attribute name="class" type="string" use="required">
\r
75 an implementation of <code>org.eclipse.jdt.ui.text.folding.IJavaFoldingStructureProvider</code>
\r
78 <meta.attribute kind="java" basedOn="org.eclipse.jdt.ui.text.folding.IJavaFoldingStructureProvider"/>
\r
82 <attribute name="preferencesClass" type="string">
\r
85 an implementation of <code>org.eclipse.jdt.ui.text.folding.IJavaFoldingPreferenceBlock</code>
\r
88 <meta.attribute kind="java" basedOn="org.eclipse.jdt.ui.text.folding.IJavaFoldingPreferenceBlock"/>
\r
97 <meta.section type="since"/>
\r
106 <meta.section type="examples"/>
\r
109 See <code>org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider</code> for an example.
\r
115 <meta.section type="apiInfo"/>
\r
124 <meta.section type="implementation"/>
\r
127 <code>org.eclipse.jdt.ui.text.folding.DefaultJavaFoldingStructureProvider</code> provides the default folding structure for the Java editor.
\r
128 <code>org.eclipse.jdt.internal.ui.text.folding.DefaultJavaFoldingPreferenceBlock</code> provides the preference block for the default structure provider.
\r
134 <meta.section type="copyright"/>
\r
137 Copyright (c) 2001, 2004 IBM Corporation and others.<br>
\r
138 All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
\r