org.eclipse.datatools.sqltools.sqleditor.internal.templates
Class SQLIntelligentTemplate
java.lang.Object
   org.eclipse.jface.text.templates.Template
org.eclipse.jface.text.templates.Template
       org.eclipse.datatools.sqltools.editor.template.SQLTemplate
org.eclipse.datatools.sqltools.editor.template.SQLTemplate
           org.eclipse.datatools.sqltools.sqleditor.internal.templates.SQLIntelligentTemplate
org.eclipse.datatools.sqltools.sqleditor.internal.templates.SQLIntelligentTemplate
- All Implemented Interfaces: 
- TemplateConstant
- public class SQLIntelligentTemplate 
- extends SQLTemplate
- Author:
- lihuang
 
| Fields inherited from interface org.eclipse.datatools.sqltools.editor.template.TemplateConstant | 
| AND, ASTERISK, BEGIN, COMMA, DECLARE, DELETE, DOT, DOUBLE_QUOTE, END, EQUAL, EXECUTE, FROM, INSERT, INT, INTELLIGENT_TEMPLATE, LEFT_PARENTHESIS, NEWLINE, NEWLINENUMBER, OUTPUT, RIGHT_PARENTHESIS, SELECT, SEMICOLON, SET, SPACE, TAB, UPDATE, UPDATELINENUMBER, VALUES, VAR, WHERE | 
 
 
| Method Summary | 
|  java.lang.String | getContextInformation(java.lang.String value)get the string to be used when presenting the context from the selected value.
 | 
|  java.util.HashMap | getKeyValuePair()
 | 
|  void | setKeyValuePair(java.lang.String key,
                java.lang.String value)
 | 
 
 
| Methods inherited from class org.eclipse.jface.text.templates.Template | 
| getContextTypeId, getDescription, getName, getPattern, hashCode, isAutoInsertable, matches, setContextTypeId, setDescription, setName, setPattern | 
 
| Methods inherited from class java.lang.Object | 
| getClass, notify, notifyAll, toString, wait, wait, wait | 
 
SQLIntelligentTemplate
public SQLIntelligentTemplate()
SQLIntelligentTemplate
public SQLIntelligentTemplate(java.util.HashMap params,
                              java.lang.String contextTypeId,
                              org.eclipse.datatools.sqltools.core.DatabaseIdentifier databaseIdentifier)
getKeyValuePair
public java.util.HashMap getKeyValuePair()
- 
 
setKeyValuePair
public void setKeyValuePair(java.lang.String key,
                            java.lang.String value)
- 
 
getContextInformation
public java.lang.String getContextInformation(java.lang.String value)
- get the string to be used when presenting the context from the selected value.
 
- 
- Parameters:
- value-
- Returns: