org.radrails.db.internal.ui.editors.sql.templates
Class SQLTemplateManager

java.lang.Object
  extended byorg.radrails.db.internal.ui.editors.sql.templates.SQLTemplateManager

public class SQLTemplateManager
extends java.lang.Object

Manages templates for the editors.

Version:
0.3.1
Author:
mbaumbach

Method Summary
 org.eclipse.jface.text.templates.ContextTypeRegistry getContextTypeRegistry()
          Returns this plug-in's context type registry.
static SQLTemplateManager getInstance()
          Returns the shared instance.
 org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
          Gets the preference store.
 org.eclipse.jface.text.templates.persistence.TemplateStore getTemplateStore()
          Returns this plug-in's template store.
 void savePluginPreferences()
          Saves the plugin preferences.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SQLTemplateManager getInstance()
Returns the shared instance.

Returns:
the shared instance

getTemplateStore

public org.eclipse.jface.text.templates.persistence.TemplateStore getTemplateStore()
Returns this plug-in's template store.

Returns:
the template store of this plug-in instance

getContextTypeRegistry

public org.eclipse.jface.text.templates.ContextTypeRegistry getContextTypeRegistry()
Returns this plug-in's context type registry.

Returns:
the context type registry for this plug-in instance

getPreferenceStore

public org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
Gets the preference store.

Returns:
The preference store.

savePluginPreferences

public void savePluginPreferences()
Saves the plugin preferences.