public class FileExtensionsPreferencePage extends PreferencePage implements IWorkbenchPreferencePage
Modifier and Type | Field and Description |
---|---|
protected static String |
CONTENT_TYPE_LABEL |
protected Button |
envAddButton |
protected Button |
envEditButton |
protected Button |
envRemoveButton |
protected info.textgrid.lab.core.efs.tgcrud.FileExtensionsPreferencePage.SimpleExtensionContentProvider |
extensionsContentProvider |
protected static String |
FILE_EXTENSION_LABEL |
protected static String |
FILE_EXTENSION_PREFERENCE_KEY |
protected static String |
FILE_EXTENSION_PREFERENCE_PAGE |
protected String[] |
variableTableColumnHeaders |
protected ColumnLayoutData[] |
variableTableColumnLayouts |
protected static String[] |
variableTableColumnProperties |
ERROR, INFORMATION, NONE, WARNING
Constructor and Description |
---|
FileExtensionsPreferencePage() |
Modifier and Type | Method and Description |
---|---|
protected Control |
createContents(Composite parent) |
void |
createControl(Composite parent) |
protected void |
handleTableSelectionChanged(SelectionChangedEvent event)
Responds to a selection changed event in the variable table
|
void |
init(IWorkbench workbench) |
protected void |
performDefaults()
Clear the variables.
|
boolean |
performOk()
Sets the saved state for reversion.
|
void |
saveColumnWidths() |
applyData, applyDialogFont, computeSize, contributeButtons, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, okToLeave, performApply, performCancel, 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, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
computeSize, isValid, okToLeave, performCancel, setContainer, setSize
dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
protected Button envAddButton
protected Button envEditButton
protected Button envRemoveButton
protected info.textgrid.lab.core.efs.tgcrud.FileExtensionsPreferencePage.SimpleExtensionContentProvider extensionsContentProvider
protected static final String CONTENT_TYPE_LABEL
protected static final String FILE_EXTENSION_LABEL
protected static final String FILE_EXTENSION_PREFERENCE_KEY
protected static final String FILE_EXTENSION_PREFERENCE_PAGE
protected static String[] variableTableColumnProperties
protected String[] variableTableColumnHeaders
protected ColumnLayoutData[] variableTableColumnLayouts
public void createControl(Composite parent)
createControl
in interface IDialogPage
createControl
in class PreferencePage
PreferencePage.createControl(Composite)
protected Control createContents(Composite parent)
createContents
in class PreferencePage
protected void handleTableSelectionChanged(SelectionChangedEvent event)
event
- the selection change eventpublic void init(IWorkbench workbench)
init
in interface IWorkbenchPreferencePage
protected void performDefaults()
performDefaults
in class PreferencePage
public boolean performOk()
performOk
in interface IPreferencePage
performOk
in class PreferencePage
public void saveColumnWidths()