Uses of Interface
com.e1c.g5.v8.dt.lcore.ui.templates.ITemplate
-
-
Uses of ITemplate in com.e1c.g5.v8.dt.bsl.ui.templates.impl
Classes in com.e1c.g5.v8.dt.bsl.ui.templates.impl that implement ITemplate Modifier and Type Class Description class
BslTemplate
This class is basic implementation ofITemplate
with setters and parameterized withBslTemplateContext
that supports contexts of module environment and module contexts -
Uses of ITemplate in com.e1c.g5.v8.dt.bsl.ui.templates.preferences
Methods in com.e1c.g5.v8.dt.bsl.ui.templates.preferences that return ITemplate Modifier and Type Method Description ITemplate
TemplateData. adjustTemplate()
Adjusts template to the collected data and return refreshITemplate
protected ITemplate
BslTemplatePreferencePage. doAdd()
Methods in com.e1c.g5.v8.dt.bsl.ui.templates.preferences with parameters of type ITemplate Modifier and Type Method Description protected void
BslTemplatePreferencePage. adjustPatternPreview(org.eclipse.swt.custom.StyledText patternPreview, ITemplate template)
protected boolean
BslTemplatePreferencePage. doEdit(ITemplate template)
Constructors in com.e1c.g5.v8.dt.bsl.ui.templates.preferences with parameters of type ITemplate Constructor Description EditTemplateDialog(org.eclipse.swt.widgets.Shell parent, ITemplate template, String title, com.e1c.g5.v8.dt.bsl.ui.templates.preferences.BslTemplatePreferencePage.ITemplateValidator templateValidator, ScriptVariant scriptVariant)
Creates dialog for editingITemplate
TemplateData(ITemplate template)
Creates new instance of TemplateData around given template -
Uses of ITemplate in com.e1c.g5.v8.dt.bsl.ui.templates.preferences.contentassist
Methods in com.e1c.g5.v8.dt.bsl.ui.templates.preferences.contentassist with parameters of type ITemplate Modifier and Type Method Description protected org.eclipse.jface.text.contentassist.ICompletionProposal
BslTemplateProcessor. createProposal(List<IVariable> variables, ITemplate template, org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context)
protected boolean
BslTemplateProposalProvider. hasAcceptablePrefix(org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context, ITemplate template)
-
Uses of ITemplate in com.e1c.g5.v8.dt.lcore.ui.templates
Methods in com.e1c.g5.v8.dt.lcore.ui.templates that return types with arguments of type ITemplate Modifier and Type Method Description Collection<ITemplate>
TemplateStorageManager. getAllTemplates()
Gets all templates - union own templates from managed storage and parent storage.Collection<ITemplate>
TemplateStorageManager. getAllTemplates(org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context)
Return all templates that can be applied in the given contextCollection<ITemplate>
TemplateStorageManager. getOwnTemplates()
Get own templates from managed storage.Collection<ITemplate>
ITemplateStorage. getTemplates()
Returns all stored templatesMethods in com.e1c.g5.v8.dt.lcore.ui.templates with parameters of type ITemplate Modifier and Type Method Description void
ITemplateStorage. add(ITemplate template)
Adds the given template or replaces added template with the same name as given with new onevoid
TemplateStorageManager. addTemplate(ITemplate template)
Adds the given template or replaces added template with the same name as given with new onevoid
ITemplateProcessor. process(ITemplate template, org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context, org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
Processes template by resolving its variables with given context and accepting it with acceptorvoid
ITemplateStorage. remove(ITemplate template)
Removes the given templatevoid
TemplateStorageManager. removeTemplate(ITemplate template)
Removes the given template -
Uses of ITemplate in com.e1c.g5.v8.dt.lcore.ui.templates.contentassist
Methods in com.e1c.g5.v8.dt.lcore.ui.templates.contentassist that return ITemplate Modifier and Type Method Description protected abstract ITemplate
OldTemplateVariableAdapter. createNewTemplate(org.eclipse.text.templates.TemplatePersistenceData data)
Creates instance ofITemplate
for each converted old templateMethods in com.e1c.g5.v8.dt.lcore.ui.templates.contentassist with parameters of type ITemplate Modifier and Type Method Description protected org.eclipse.jface.text.contentassist.ICompletionProposal
TemplateProcessor. createProposal(List<IVariable> variables, ITemplate template, org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context)
Creates template proposalprotected org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext
TemplateProposalProvider. getBestContextForTemplate(ITemplate template, org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext[] contexts)
Returns the best context for given template from given contexts, ornull
if neither of contexts is acceptableprotected boolean
TemplateProposalProvider. hasAcceptablePrefix(org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context, ITemplate template)
Checks if prefix is acceptable in given context for given templatevoid
TemplateProcessor. process(ITemplate template, org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context, org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
Constructors in com.e1c.g5.v8.dt.lcore.ui.templates.contentassist with parameters of type ITemplate Constructor Description TemplateProposal(List<IVariable> variables, ITemplate template, int replaceOffset, int replaceLength, org.eclipse.jface.text.ITextViewer viewer, String prefix, org.eclipse.swt.graphics.Image image)
Creates new instance of this with given parameters -
Uses of ITemplate in com.e1c.g5.v8.dt.lcore.ui.templates.preferences
Methods in com.e1c.g5.v8.dt.lcore.ui.templates.preferences that return ITemplate Modifier and Type Method Description protected abstract ITemplate
AbstractTemplatePreferencePage. doAdd()
Creates new template and returns itMethods in com.e1c.g5.v8.dt.lcore.ui.templates.preferences with parameters of type ITemplate Modifier and Type Method Description protected void
AbstractTemplatePreferencePage. adjustDescriptionPreview(org.eclipse.swt.custom.StyledText descriptionPreview, ITemplate template)
Adjusts the preview of the description text field with given templateprotected void
AbstractTemplatePreferencePage. adjustPatternPreview(org.eclipse.swt.custom.StyledText patternPreview, ITemplate template)
Adjusts the preview of the pattern text field with given templateprotected abstract boolean
AbstractTemplatePreferencePage. doEdit(ITemplate template)
Edits the given templateprotected boolean
AbstractTemplatePreferencePage. isAccebtableTemplate(ITemplate template, String entry)
Checks if given template shall be shown with given search entry
-