<!ELEMENT extension (queryModificationProvider* , templateProvider* , previewProvider*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT queryModificationProvider EMPTY>
<!ATTLIST queryModificationProvider
type CDATA #REQUIRED
class CDATA #REQUIRED
name CDATA #REQUIRED
editOverlaysOnly (true | false) >
A query modification provider allows users to create and modify queries of a particular type as well as modify overlays of that type. Optionally, a modification provider can opt-out of creating/modifying a query by choosing to "editOverlaysOnly." If this option is set then the modification provider will only be called when a user edits overlays on a diagram.
<!ELEMENT templateProvider (template*)>
<!ATTLIST templateProvider
class CDATA #IMPLIED>
A template provider provides either a set of .tpx files or a class (either the former or the latter, not both) to provide a set of query objects that can be used by the user as templates for .tpx files in the workspace. Note that a query modification provider must be available (and editOverlaysOnly either unset or set to false) for the types of these queries or the templates will not work.
<!ELEMENT template EMPTY>
<!ATTLIST template
file CDATA #REQUIRED>
The template element declares a template file that can be used in the wizard.
<!ELEMENT previewProvider EMPTY>
<!ATTLIST previewProvider
class CDATA #REQUIRED
type CDATA #REQUIRED>
A preview provider sets up the .tpx editor so that it is capable of previewing the results of a certain type of query. For example, it is responsible for creating the appropriate type of diagram. Note that a query modification provider will be needed for this type to allow a .tpx file to be created in the first place and so that the query can be modified in the .tpx editor.
Licensed Materials - Property of IBM
(C) Copyright IBM Corp. 2008. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.