org.eclipse.jface.text.source.ProjectionViewer。扩展可选择添加将出现在 JavaScript 编辑器首选项页面中的首选项块。
<!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 以获取示例。
org.eclipse.wst.jsdt.ui.text.folding.DefaultJavaFoldingStructureProvider 提供 JavaScript 编辑器的缺省折叠结构。
org.eclipse.wst.jsdt.internal.ui.text.folding.DefaultJavaFoldingPreferenceBlock 提供缺省结构提供程序的首选项块。
Copyright © 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 v1.0 which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html