This is an automated email from the git hooks/post-receive script. New commit to branch feature/20 in repository observe. See https://gitlab.nuiton.org/codelutin/observe.git commit aaab06cafe34c9069ee7ea70014fcf7d393f7d27 Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Dec 21 16:02:58 2016 +0100 Quand on sauvegarde un référentiel, on devrait rester sur le formulaire (un autre bouton permet de revenir à la liste) (Closes #20) --- .../swing/ui/content/ref/ContentReferenceUIHandler.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/application-swing/src/main/java/fr/ird/observe/application/swing/ui/content/ref/ContentReferenceUIHandler.java b/application-swing/src/main/java/fr/ird/observe/application/swing/ui/content/ref/ContentReferenceUIHandler.java index d35775e..80ff81b 100644 --- a/application-swing/src/main/java/fr/ird/observe/application/swing/ui/content/ref/ContentReferenceUIHandler.java +++ b/application-swing/src/main/java/fr/ird/observe/application/swing/ui/content/ref/ContentReferenceUIHandler.java @@ -148,7 +148,6 @@ public class ContentReferenceUIHandler<E extends ReferentialDto, U extends Conte DecoratorService service = ObserveSwingApplicationContext.get().getDecoratorService(); Decorator<?> decorator = service.getDecoratorByType(entity.getClass()); - //FIXME utiliser une template String type = ObserveI18nDecoratorHelper.getTypeI18nKey(entity.getClass()); type = t(type); String message = t("observe.message.show.usage.for.delete", type, decorator.toString(entity)); @@ -462,7 +461,6 @@ public class ContentReferenceUIHandler<E extends ReferentialDto, U extends Conte ContentReferenceUI<E, U> ui = getUi(); JToolBar toolBar = ui.getTitleRightToolBar(); toolBar.add(ui.getShowUniqueKeys(), 2); -// toolBar.add(ui.getShowTechnicalInformations(), 2); toolBar.add(ui.getShowUsages(), 2); } @@ -803,11 +801,6 @@ public class ContentReferenceUIHandler<E extends ReferentialDto, U extends Conte super.afterDelete(); } - protected void afterSave(boolean refresh) { - super.afterSave(refresh); - getUi().stopEdit(); - } - @Override protected <D extends ReferentialDto> Collection<ReferentialReference<D>> filterReferentialReferences(Class<D> dtoType, String propertyName, LinkedList<ReferentialReference<D>> incomingReferences) { if (dtoType.equals(getModel().getBeanType())) { -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.