The
com.ibm.systemz.editor.completionProposalComputer extension
point supports the contribution of completion proposal categories
and computers to participate in the content assist process for the
COBOL, PL/I, and JCL languages. The following code sample shows the
tags for a proposal computer extension:
<extension
id="computerIdentifier"
name="computerName"
point="com.ibm.systemz.editor.completionProposalComputer">
<completionProposalComputer
categoryId="categoryIdentifier"
class="className">
</completionProposalComputer>
</extension>
- id="computerIdentifier"
- An optional identifier of the extension instance.
- name="computerName"
- The name of the proposal computer.
- point="com.ibm.systemz.editor.completionProposalComputer"
- The fully qualified identifier of the target extension point.
- categoryId="categoryIdentifier"
- The fully qualified identifier of a proposalCategory. A proposal
computer can contribute to a defined category or to six built-in categories:
- com.ibm.systemz.editor.cobol.defaultProposalCategory:
Default Proposals for COBOL files.
- com.ibm.systemz.editor.cobol.templateProposalCategory:
Template Proposals for COBOL files.
- com.ibm.systemz.editor.pli.defaultProposalCategory:
Default Proposals for PL/I files.
- com.ibm.systemz.editor.pli.templateProposalCategory:
Template Proposals for PL/I files.
- com.ibm.systemz.editor.jcl.defaultProposalCategory:
Default Proposals for JCL files.
- com.ibm.systemz.editor.jcl.templateProposalCategory:
Template Proposals for JCL files.
- class="className"
- The name of the class that implements the contributed proposal
computer. The class must be public and implement com.ibm.systemz.common.editor.extensionpoints.ICompletionProposalComputer.
It must have a public 0-argument constructor.
The following code sample shows an example of a proposal
computer extension:
<extension
id="COBOL.XML.COMPUTER"
name="XML Proposal Computer"
point="com.ibm.systemz.editor.completionProposalComputer">
<completionProposalComputer
categoryId="com.example.extensions.COBOL.XML.CATEGORY"
class="com.example.extensions.CobolXMLProposalComputer">
</completionProposalComputer>
</extension>