public void fillTree(Tree tree) {
tree.removeAll();
Utils.setResetElement(_dom.getRoot());
Element desc = _dom.getRoot();
TreeItem item = new TreeItem(tree, SWT.NONE);
item.setText("Job");
item.setData(new TreeData(Editor.DOC_JOB, desc.getChild("job", _dom.getNamespace()), Options
.getDocHelpURL("job")));
TreeItem item2 = new TreeItem(item, SWT.NONE);
item2.setText("Process");
item2.setData(new TreeData(Editor.DOC_PROCESS, desc.getChild("job", _dom.getNamespace()), Options
.getDocHelpURL("process")));
item2 = new TreeItem(item, SWT.NONE);
item2.setText("Script");
item2.setData(new TreeData(Editor.DOC_SCRIPT, desc.getChild("job", _dom.getNamespace()), Options
.getDocHelpURL("script")));
item2 = new TreeItem(item, SWT.NONE);
item2.setText("Monitor");
item2.setData(new TreeData(Editor.DOC_MONITOR, desc.getChild("job", _dom.getNamespace()), Options
.getDocHelpURL("monitor")));
item.setExpanded(true);
item = new TreeItem(tree, SWT.NONE);
item.setText("Releases");
item.setData(new TreeData(Editor.DOC_RELEASES, desc.getChild("releases", _dom.getNamespace()), Options
.getDocHelpURL("releases")));
treeFillReleases(item, desc.getChild("releases", _dom.getNamespace()));
item.setExpanded(true);
item = new TreeItem(tree, SWT.NONE);
item.setText("Resources");
item.setData(new TreeData(Editor.DOC_RESOURCES, desc, Options.getDocHelpURL("resources")));
item2 = new TreeItem(item, SWT.NONE);
item2.setText("Files");
item2.setData(new TreeData(Editor.DOC_FILES, desc, Options.getDocHelpURL("files")));
item2 = new TreeItem(item, SWT.NONE);
item2.setText("Databases");
item2.setData(new TreeData(Editor.DOC_DATABASES, desc, Options.getDocHelpURL("databases")));
item.setExpanded(true);
treeFillDatabaseResources(item2, desc.getChild("resources", _dom.getNamespace()));
item = new TreeItem(tree, SWT.NONE);
item.setText("Configuration");
item.setData(new TreeData(Editor.DOC_CONFIGURATION, desc.getChild("configuration", _dom.getNamespace()),
Options.getDocHelpURL("configuration")));
item2 = new TreeItem(item, SWT.NONE);
item2.setText("Parameters");
item2.setData(new TreeData(Editor.DOC_PARAMS, desc.getChild("configuration", _dom.getNamespace()), Options
.getDocHelpURL("parameters")));
item.setExpanded(true);
item2 = new TreeItem(item, SWT.NONE);
item2.setText("Payload");
item2.setData(new TreeData(Editor.DOC_PAYLOAD, desc.getChild("configuration", _dom.getNamespace()), Options
.getDocHelpURL("payload")));
item2 = new TreeItem(item, SWT.NONE);
item2.setText("Settings");
item2.setData(new TreeData(Editor.DOC_SETTINGS, desc.getChild("configuration", _dom.getNamespace()), Options
.getDocHelpURL("settings")));
_profiles = new TreeItem(item2, SWT.NONE);
item2.setExpanded(true);
_profiles.setText("Profiles");
_profiles.setData(new TreeData(Editor.DOC_PROFILES, desc.getChild("configuration", _dom.getNamespace()),
Options.getDocHelpURL("profiles")));
fillProfiles();
_connections = new TreeItem(item2, SWT.NONE);
_connections.setText("Connections");
_connections.setData(new TreeData(Editor.DOC_CONNECTIONS, desc.getChild("configuration", _dom.getNamespace()),
Options.getDocHelpURL("connections")));
fillConnections();
item = new TreeItem(tree, SWT.NONE);
item.setText("Documentation");
/*if(desc.getChild("documentation", desc.getNamespace()) == null)
desc.addContent(new Element("documentation", desc.getNamespace())).addContent(new Element("div", org.jdom.Namespace.getNamespace("http://www.w3.org/1999/xhtml")));
else if(desc.getChild("documentation", desc.getNamespace()).getChild("div",org.jdom.Namespace.getNamespace("http://www.w3.org/1999/xhtml"))==null)
desc.getChild("documentation", desc.getNamespace()).addContent(new Element("div", org.jdom.Namespace.getNamespace("http://www.w3.org/1999/xhtml")));