org.eclipse.jface.text.source.ProjectionViewer
for reference.
Extensions may optionally contribute a preference block which will appear on the JavaScript editor preference page.
<!ELEMENT extension (provider+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT provider EMPTY>
<!ATTLIST provider
id CDATA #REQUIRED
name CDATA #IMPLIED
class CDATA #REQUIRED
preferencesClass CDATA #IMPLIED>
org.eclipse.wst.jsdt.ui.text.folding.IJavaFoldingStructureProvider
org.eclipse.wst.jsdt.ui.text.folding.IJavaFoldingPreferenceBlock
org.eclipse.wst.jsdt.ui.text.folding.DefaultJavaFoldingStructureProvider
for an example.
org.eclipse.wst.jsdt.ui.text.folding.DefaultJavaFoldingStructureProvider
provides the default folding structure for the JavaScript editor.
org.eclipse.wst.jsdt.internal.ui.text.folding.DefaultJavaFoldingPreferenceBlock
provides the preference block for the default structure provider.
Copyright (c) 2007 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/