blob: d768a67c2e5a3ca0d59ecbd4ac0e8242f70f6734 [file] [log] [blame]
<html><body><p><font size="+1"><strong>Package org.eclipse.wst.xsl.ui.internal.contentassist</strong></font></p><hr><h2><font size="-1"><strong>org.eclipse.wst.xsl.ui.internal.contentassist</strong></font><br>
Class TemplateModeAttributeContentAssist</h2><br><hr><pre>public class <strong>TemplateModeAttributeContentAssist</strong>
extends org.eclipse.wst.xsl.ui.provisional.contentassist.AbstractXSLContentAssistRequest</pre>TemplateModeAttributeContentAssist provides content assistance proposals for
<xsl:templates> with a mode attribute. It looks at all the modes defined
within the xsl model, and pulls out any modes that have been defined.<p></p><p></p><hr><table width="100%" border="1"><tr bgcolor="#CCCCFF"><td width="100%"><h2>Constructor Summary</h2></td></tr><tr><td><code><strong><a href="#con_TemplateModeAttributeContentAssist">TemplateModeAttributeContentAssist</a></strong>(org.w3c.dom.Node node
,
IStructuredDocumentRegion documentRegion
,
ITextRegion completionRegion
,
int begin
,
int length
,
java.lang.String filter
,
ITextViewer textViewer)</code></td></tr></table><br><table width="100%" border="1"><tr cols="2" bgcolor="#CCCCFF"><td colspan="2" width="100%"><h2>Method Summary</h2></td></tr><tr valign="top"><td width="20%" align="right"><code>protected void</code></td><td width="" align="left"><code><a href="#method_addModeProposals">addModeProposals</a>(org.eclipse.wst.xsl.core.model.StylesheetModel model)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public java.util.ArrayList</code></td><td width="" align="left"><code><a href="#method_getCompletionProposals">getCompletionProposals</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
The main method that returns an array of proposals. Returns the available
modes that have been defined in the {@link StylesheetModel}. If no proposals
are found it returns a NULL value.</td></tr></table><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Constructor Detail
</h2></td></tr></table><h2><a name="con_TemplateModeAttributeContentAssist">TemplateModeAttributeContentAssist</a></h2><p><code>public <strong>TemplateModeAttributeContentAssist</strong>(org.w3c.dom.Node node
,
IStructuredDocumentRegion documentRegion
,
ITextRegion completionRegion
,
int begin
,
int length
,
java.lang.String filter
,
ITextViewer textViewer)</code></p><p>Constructor for creating the TemplateMode Content Assistance class.</p><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Methods Detail
</h2></td></tr></table><h2><a name="method_addModeProposals">addModeProposals</a></h2><p><code>protected void <strong>addModeProposals</strong>(org.eclipse.wst.xsl.core.model.StylesheetModel model)</code></p><p></p><h3>Parameters</h3><p><code>model</code></p><hr><h2><a name="method_getCompletionProposals">getCompletionProposals</a></h2><p><code>public java.util.ArrayList <strong>getCompletionProposals</strong>()</code></p><p>The main method that returns an array of proposals. Returns the available
modes that have been defined in the {@link StylesheetModel}. If no proposals
are found it returns a NULL value.</p><h3>Returns</h3><p><code>java.util.ArrayList</code> - ICompletionPropsal[]</p><hr></body></html>