Class AtlEditorUI
- java.lang.Object
-
- org.eclipse.m2m.atl.adt.ui.text.atl.AtlEditorUI
-
public final class AtlEditorUI extends java.lang.ObjectThe ATL Editor parameters.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.jface.text.templates.ContextTypeRegistrygetContextTypeRegistry()Returns this plug-in's context type registry.static AtlEditorUIgetDefault()Returns the shared instance.org.eclipse.swt.graphics.ImagegetTemplateImage(java.lang.String name)Retrieves theImagefor a given template name.org.eclipse.jface.text.templates.persistence.TemplateStoregetTemplateStore()Returns this plug-in's template store.voidregisterImage(java.lang.String name, java.lang.String path)Registers an image in the repository.
-
-
-
Method Detail
-
getDefault
public static AtlEditorUI 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
-
getTemplateImage
public org.eclipse.swt.graphics.Image getTemplateImage(java.lang.String name)
Retrieves theImagefor a given template name.- Parameters:
name- the template name- Returns:
- the
Image
-
registerImage
public void registerImage(java.lang.String name, java.lang.String path)Registers an image in the repository.- Parameters:
name- the image namepath- the image path
-
-