siteTypes
拡張ポイントによって、シンボリック・タイプの ID を使用して代替サイト実装を登録できます。 タイプがこの ID を使用して参照される場合は常に、
提供されているファクトリーは、正しい具象サイト実装を作成するために使用されます。
<!ELEMENT extension (site-factory+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT site-factory EMPTY>
<!ATTLIST site-factory
class CDATA #REQUIRED>
<extension id=
"custom"
point=
"org.eclipse.update.core.siteTypes"
name=
"Custom site"
>
<site-factory class=
"com.xyz.update.CustomSiteFactory"
>
</site-factory>
</extension>
org.eclipse.update.core.ISiteFactory
を実装する必要があります。
Copyright (c) 2004 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.