Class AtlEditorUI
java.lang.Object
org.eclipse.m2m.atl.adt.ui.text.atl.AtlEditorUI
The ATL Editor parameters.
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jface.text.templates.ContextTypeRegistry
Returns this plug-in's context type registry.static AtlEditorUI
Returns the shared instance.org.eclipse.swt.graphics.Image
getTemplateImage
(String name) Retrieves theImage
for a given template name.org.eclipse.jface.text.templates.persistence.TemplateStore
Returns this plug-in's template store.void
registerImage
(String name, String path) Registers an image in the repository.
-
Method Details
-
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
Retrieves theImage
for a given template name.- Parameters:
name
- the template name- Returns:
- the
Image
-
registerImage
Registers an image in the repository.- Parameters:
name
- the image namepath
- the image path
-