<!ELEMENT extension (externalEditor)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT externalEditor EMPTY>
<!ATTLIST externalEditor
vendor CDATA #IMPLIED
version CDATA #IMPLIED
dataType CDATA #IMPLIED
length CDATA #IMPLIED
class CDATA #REQUIRED>
This element specifies an IExternalTableDataEditor to be used with a combination of vendor/version/data type/length. If several contributions match a given column, the best fitting contribution is used (i.e. the one that specifies the highest number of criteria).
This example will invoke the CloudscapeV10ExternalTableDataEditor for columns of the datatype TIME on a Cloudscape database version 10.0.<extension id=
"org.eclipse.wst.rdb.data.ui.defaultExternalTableDataEditor"
name=
"Default External Table Data Editor"
point=
"org.eclipse.wst.rdb.data.ui.externalTableDataEditor"
>
<externalEditor length=
"30"
class=
"org.eclipse.wst.rdb.data.internal.ui.editor.DefaultExternalTableDataWizard"
/>
</extension>
This example invokes the CloudscapeExternalTableDataEditor for columns of the datatype TIME on any Cloudscape database. If the example above is also defined, this one would be called for any Cloudscape version other than 10.0 as for that one the example above would be called.<extension id=
"org.eclipse.wst.rdb.data.ui.defaultExternalTableDataEditor"
name=
"Default External Table Data Editor"
point=
"org.eclipse.wst.rdb.data.ui.externalTableDataEditor"
>
<externalEditor vendor=
"IBM Cloudscape"
version=
"10.0"
datatype=
"TIME"
class=
"org.eclipse.wst.rdb.data.internal.ui.editor.CloudscapeV10ExternalTableDataEditor"
/>
</extension>
<extension id=
"org.eclipse.wst.rdb.data.ui.defaultExternalTableDataEditor"
name=
"Default External Table Data Editor"
point=
"org.eclipse.wst.rdb.data.ui.externalTableDataEditor"
>
<externalEditor vendor=
"IBM Cloudscape"
datatype=
"TIME"
class=
"org.eclipse.wst.rdb.data.internal.ui.editor.CloudscapeExternalTableDataEditor"
/>
</extension>
Copyright (c) 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