3.0
org.eclipse.ui.contexts
扩展点用来声明上下文和相关联的元素。
<!ELEMENT extension (context)>
<!ATTLIST extension
id CDATA #IMPLIED
name CDATA #IMPLIED
point CDATA #REQUIRED>
<!ELEMENT context EMPTY>
<!ATTLIST context
description CDATA #IMPLIED
id CDATA #REQUIRED
name CDATA #REQUIRED
parentId CDATA #IMPLIED>
此元素用来定义上下文。如果存在具有相同 id
属性的多个这样的元素,则仅最后声明的那个元素(以读取注册表的顺序)才被认为是有效的。
org.eclipse.ui
插件中的 plugin.xml
文件使用了 org.eclipse.ui.contexts
扩展点。
当前没有公用 API 用于声明除了此扩展点之外的上下文或相关联的元素。
Copyright (c) 2000, 2005 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