public class XtextTemplatePreferencePage
extends org.eclipse.ui.texteditor.templates.TemplatePreferencePage
Constructor and Description |
---|
XtextTemplatePreferencePage(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.swt.widgets.Control |
createContents(org.eclipse.swt.widgets.Composite ancestor) |
void |
createControl(org.eclipse.swt.widgets.Composite parent) |
protected boolean |
isShowFormatterSetting() |
createTemplateEditDialog, createViewer, editTemplate, getContextTypeRegistry, getFormatterPreferenceKey, getTableViewer, getTemplateStore, getViewer, init, performCancel, performDefaults, performOk, setContextTypeRegistry, setTemplateStore, setVisible, updateButtons, updateViewerInput
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 XtextTemplatePreferencePage(org.eclipse.jface.preference.IPreferenceStore preferenceStore, org.eclipse.jface.text.templates.ContextTypeRegistry registry, org.eclipse.jface.text.templates.persistence.TemplateStore templateStore)
protected boolean isShowFormatterSetting()
isShowFormatterSetting
in class org.eclipse.ui.texteditor.templates.TemplatePreferencePage
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite ancestor)
createContents
in class org.eclipse.ui.texteditor.templates.TemplatePreferencePage
public void createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in interface org.eclipse.jface.dialogs.IDialogPage
createControl
in class org.eclipse.jface.preference.PreferencePage