K 10
svn:author
V 9
dbosschae
K 8
svn:date
V 27
2007-12-07T14:28:53.236425Z
K 7
svn:log
V 1086
Initial commit in relation to bug 211602
Changed the XMLProviderdEditorInput to support a Map of settings that can be used to tweak behaviour of the XEF editor. 
The settings themselves are defined in an enumeration, where each setting enum value is declared along with its default value.
The following two settings are part of this commit:
    HEADING // The heading in the editor canvas
    TITLE   // The title on the editor window

The XMLProviderEditorInput has a new constructor that can take this settings map. This commit contains settings for the editor title and heading. As an example, to change the heading text on the XEF editor, do this.
  Map<Setting, String> settings = new EnumMap<Setting, String>(Setting.class);
  settings.put(Setting.HEADING, "My Heading");
  IEditorInput input = new XMLProviderEditorInput(settings, ...);      

The old constructor of the XMLProviderEditorInput has been retained for backward compatibility.
A new unit test class for testing the Editor Settings is also contributed: org.eclipse.stp.ui.xef.editor.XMLProviderEditorInputSettingsTest
END
