|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.text.templates.persistence.TemplateStore
org.eclipse.datatools.sqltools.sqleditor.internal.templates.SQLContributionTemplateStore
public class SQLContributionTemplateStore
| Constructor Summary | |
|---|---|
SQLContributionTemplateStore(org.eclipse.jface.text.templates.ContextTypeRegistry registry,
org.eclipse.jface.preference.IPreferenceStore store,
java.lang.String key)
Creates a new template store with a context type registry. |
|
SQLContributionTemplateStore(org.eclipse.jface.preference.IPreferenceStore store,
java.lang.String key)
Creates a new template store. |
|
| Method Summary | |
|---|---|
SQLIntelligentTemplate |
getRegisteredIntelligentTemplate(java.lang.String templateID)
|
void |
registerIntelligentTemplate(SQLTemplate template)
|
| Methods inherited from class org.eclipse.jface.text.templates.persistence.TemplateStore |
|---|
add, delete, findTemplate, findTemplate, findTemplateById, getTemplateData, getTemplateData, getTemplates, getTemplates, load, restoreDefaults, restoreDefaults, restoreDeleted, save, startListeningForPreferenceChanges, stopListeningForPreferenceChanges |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLContributionTemplateStore(org.eclipse.jface.preference.IPreferenceStore store,
java.lang.String key)
store - the preference store in which to store custom templates under keykey - the key into store where to store custom templates
public SQLContributionTemplateStore(org.eclipse.jface.text.templates.ContextTypeRegistry registry,
org.eclipse.jface.preference.IPreferenceStore store,
java.lang.String key)
null.
registry - a context type registry, or null if all templates should be loadedstore - the preference store in which to store custom templates under keykey - the key into store where to store custom templates| Method Detail |
|---|
public void registerIntelligentTemplate(SQLTemplate template)
public SQLIntelligentTemplate getRegisteredIntelligentTemplate(java.lang.String templateID)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||