public void modelChanged(FModel source) {
   elementEditor.update(source);
   if (source == formsetsModel) {
     languageEditor.update();
     formsEditor.reloadTree();
   } else {
     formsEditor.updateTree(source);
     elementEditor.update(source);
   }
 }
 protected void updateGui() {
   if (control != null && !control.isDisposed()) return;
   control = new SashForm(guiControl, SWT.HORIZONTAL);
   control.setLayoutData(new GridData(GridData.FILL_BOTH));
   createLeftComponent((Composite) control);
   elementEditor.createControl((Composite) control);
   ((SashForm) control).setWeights(new int[] {30, 70});
   fireGuiModified();
 }
 public void setObject(XModelObject object, boolean erroneous) {
   super.setObject(object, erroneous);
   if (isWrongEntity()) return;
   try {
     bar.setObject(object);
     formsetsModel.setObject(object);
     languageEditor.update();
     formsEditor.setObject(object);
     elementEditor.update();
   } catch (Exception e) {
     XStudioValidatorPlugin.getPluginLog().logError(e);
   }
 }
 public void set11() {
   elementEditor.set11();
 }
 public void updateEditableMode() {
   languageEditor.update();
   formsEditor.updateSelection();
   elementEditor.update();
 }
 public void update() {
   formsetsModel.reload();
   elementEditor.update(); // hack
 }