public void addFactModelToStackPanel(final FactMetaModel factMetaModel) { final FactModelEditor editor = new FactModelEditor(factMetaModel, superTypeFactModels, modelNameHelper); editor.setMoveDownCommand(getMoveDownCommand(factMetaModel)); editor.setMoveUpCommand(getMoveUpCommand(factMetaModel)); editor.setDeleteEvent(getDeleteCommand(factMetaModel)); factModelsPanel.add( editor, new LoadContentCommand() { public Widget load() { return editor.getContent(); } }); renderEditorArrows(); }