public class AdvancedTemplatesPreferencePage extends XtextTemplatePreferencePage
Constructor and Description |
---|
AdvancedTemplatesPreferencePage(org.eclipse.jface.preference.IPreferenceStore preferenceStore,
org.eclipse.jface.text.templates.ContextTypeRegistry registry,
org.eclipse.jface.text.templates.persistence.TemplateStore templateStore) |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.jface.text.source.SourceViewer |
createViewer(org.eclipse.swt.widgets.Composite parent) |
protected org.eclipse.jface.text.templates.Template |
editTemplate(org.eclipse.jface.text.templates.Template template,
boolean edit,
boolean isNameModifiable) |
protected java.lang.String |
getContextTypeForGrammar(org.eclipse.jface.text.templates.TemplateContextType contextType) |
protected void |
updateViewerInput() |
createContents, createControl, isShowFormatterSetting
createTemplateEditDialog, getContextTypeRegistry, getFormatterPreferenceKey, getTableViewer, getTemplateStore, getViewer, init, performCancel, performDefaults, performOk, setContextTypeRegistry, setTemplateStore, setVisible, updateButtons
applyData, applyDialogFont, computeSize, contributeButtons, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, okToLeave, performApply, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
@Inject public AdvancedTemplatesPreferencePage(org.eclipse.jface.preference.IPreferenceStore preferenceStore, org.eclipse.jface.text.templates.ContextTypeRegistry registry, org.eclipse.jface.text.templates.persistence.TemplateStore templateStore)
protected org.eclipse.jface.text.templates.Template editTemplate(org.eclipse.jface.text.templates.Template template, boolean edit, boolean isNameModifiable)
editTemplate
in class org.eclipse.ui.texteditor.templates.TemplatePreferencePage
protected void updateViewerInput()
updateViewerInput
in class org.eclipse.ui.texteditor.templates.TemplatePreferencePage
protected java.lang.String getContextTypeForGrammar(org.eclipse.jface.text.templates.TemplateContextType contextType)
protected org.eclipse.jface.text.source.SourceViewer createViewer(org.eclipse.swt.widgets.Composite parent)
createViewer
in class org.eclipse.ui.texteditor.templates.TemplatePreferencePage