item.setData("max_occur", "1");
item.setData("key", used[i] +"_@_"+ _dayElements[i].getName());
item.setData("copy_element", _dayElements[i]);
item.setData(new TreeData(Editor.PERIODS, _dayElements[i], Options.getHelpURL("periods")));
if(_runtime != null && !Utils.isElementEnabled("job", _dom, _runtime)) {
item.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_GRAY));
}
}
parent.setExpanded(expand);