<feature> <install-handler>
标记)引用,而不必包括作为可下载功能部件的一部分的处理程序代码副本。
<!ELEMENT extension (install-handler+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT install-handler EMPTY>
<!ATTLIST install-handler
class CDATA #REQUIRED>
<extension id=
"custom"
point=
"org.eclipse.update.core.installHandlers"
name=
"Custom install handler"
>
<install-handler class=
"com.xyz.update.CustomInstallHandler"
>
</install-handler>
</extension>
org.eclipse.update.core.IInstallHandler
接口。实现器应扩展基本类 org.eclipse.update.core.BaseInstallHandler
。
org.eclipse.update.core.DefaultInstallHandler
的简单安装处理程序。如果使用,它会将随功能部件提供的任何非插件数据条目复制到功能部件安装目录中。
Copyright (c) 2004, 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.