com.pvx.ooadide.editors.templates
Class TemplateEditorUI

java.lang.Object
  extended by com.pvx.ooadide.editors.templates.TemplateEditorUI

public class TemplateEditorUI
extends java.lang.Object

The main plugin class to be used in the desktop.


Method Summary
 org.eclipse.jface.text.templates.ContextTypeRegistry getContextTypeRegistry()
          Returns this plug-in's context type registry.
static TemplateEditorUI getDefault()
          Returns the shared instance.
 org.eclipse.jface.resource.ImageRegistry getImageRegistry()
           
 org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
           
 org.eclipse.jface.text.templates.persistence.TemplateStore getTemplateStore()
          Returns this plug-in's template store.
static org.eclipse.jface.resource.ImageDescriptor imageDescriptorFromPlugin(java.lang.String string, java.lang.String default_image)
           
 void savePluginPreferences()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefault

public static TemplateEditorUI getDefault()
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

getImageRegistry

public org.eclipse.jface.resource.ImageRegistry getImageRegistry()

imageDescriptorFromPlugin

public static org.eclipse.jface.resource.ImageDescriptor imageDescriptorFromPlugin(java.lang.String string,
                                                                                   java.lang.String default_image)

getPreferenceStore

public org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()

savePluginPreferences

public void savePluginPreferences()