The file editors page presents the collection of file names and extensions
for which the user has registered editors. It also lets the user add new
internal or external (program) editors for a given file name and extension.
The user can add an editor for either a specific file name and extension
(e.g. report.doc), or for all file names of a given extension (e.g. *.doc)
The set of registered editors is tracked by the EditorRegistery
available from the workbench plugin.
Add a new resource type to the collection shown in the top of the page.
This is typically called after the extension dialog is shown to the user.
Parameters: newName - the new name Parameters: newExtension - the new extension
createContents
protected Control createContents(Composite parent)(Code)
The preference page is going to be disposed. So deallocate all allocated
SWT resources that aren't disposed automatically by disposing the page
(i.e fonts, cursors, etc). Subclasses should reimplement this method to
release their own allocated SWT resources.
This is a hook for sublcasses to do special things when the ok
button is pressed.
For example reimplement this method if you want to save the
page's data into the preference bundle.