effectsOptions.add(addItemEffect);
FormEffectDescription deleteItemEffect = new FormEffectDescription();
deleteItemEffect.setClassName(DeleteItemFormEffect.class.getName());
effectsOptions.add(deleteItemEffect);
MenuItemDescription header = new MenuItemDescription();
header.setClassName(HeaderMenuItem.class.getName());
header.setEffects(effects);
visuals.add(header);
MenuItemDescription label = new MenuItemDescription();
label.setClassName(LabelMenuItem.class.getName());
label.setEffects(effects);
visuals.add(label);
MenuItemDescription image = new MenuItemDescription();
image.setClassName(ImageMenuItem.class.getName());
image.setEffects(effects);
visuals.add(image);
MenuItemDescription html = new MenuItemDescription();
html.setClassName(HTMLMenuItem.class.getName());
html.setEffects(effects);
visuals.add(html);
items.put("Visual Components", visuals);
MenuItemDescription combo = new MenuItemDescription();
combo.setClassName(ComboBoxMenuItem.class.getName());
combo.setEffects(effectsOptions);
controls.add(combo);
MenuItemDescription textfield = new MenuItemDescription();
textfield.setClassName(TextFieldMenuItem.class.getName());
textfield.setEffects(effects);
controls.add(textfield);
MenuItemDescription password = new MenuItemDescription();
password.setClassName(PasswordFieldMenuItem.class.getName());
password.setEffects(effects);
controls.add(password);
MenuItemDescription completeButton = new MenuItemDescription();
completeButton.setClassName(CompleteButtonMenuItem.class.getName());
completeButton.setEffects(effects);
controls.add(completeButton);
MenuItemDescription textarea = new MenuItemDescription();
textarea.setClassName(TextAreaMenuItem.class.getName());
textarea.setEffects(effects);
controls.add(textarea);
MenuItemDescription hidden = new MenuItemDescription();
hidden.setClassName(HiddenMenuItem.class.getName());
hidden.setEffects(effects);
controls.add(hidden);
MenuItemDescription fileInput = new MenuItemDescription();
fileInput.setClassName(FileInputMenuItem.class.getName());
fileInput.setEffects(effects);
controls.add(fileInput);
MenuItemDescription checkbox = new MenuItemDescription();
checkbox.setClassName(CheckBoxMenuItem.class.getName());
checkbox.setEffects(effects);
controls.add(checkbox);
MenuItemDescription radioButton = new MenuItemDescription();
radioButton.setClassName(RadioButtonMenuItem.class.getName());
radioButton.setEffects(effects);
controls.add(radioButton);
items.put("Control Components", controls);
MenuItemDescription tableLayout = new MenuItemDescription();
tableLayout.setClassName(TableLayoutMenuItem.class.getName());
tableLayout.setEffects(effects);
layouts.add(tableLayout);
items.put("Layout Components", layouts);
MenuOptionDescription saveOption = new MenuOptionDescription();
saveOption.setHtml("Save");