From ad93b952f1b419a37c023a710d6a2918264d4e5c Mon Sep 17 00:00:00 2001 From: buczekp <buczekp> Date: Thu, 15 Apr 2010 19:26:25 +0000 Subject: [PATCH] [LMS-1492] additional logging for experiment viewer SVN: 15491 --- .../application/experiment/GenericExperimentViewer.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/client/application/experiment/GenericExperimentViewer.java b/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/client/application/experiment/GenericExperimentViewer.java index c6ca4bda74a..d293ab7df65 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/client/application/experiment/GenericExperimentViewer.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/client/application/experiment/GenericExperimentViewer.java @@ -89,6 +89,9 @@ public class GenericExperimentViewer extends AbstractViewer<Experiment> implemen final ExperimentType experimentType, final IIdentifiable experimentId) { super(viewContext, createId(experimentId)); + + int logID = viewContext.log("create experiment viewer"); + this.experimentId = experimentId; this.experimentType = experimentType; this.viewContext = viewContext; @@ -96,6 +99,8 @@ public class GenericExperimentViewer extends AbstractViewer<Experiment> implemen extendToolBar(); reloadAllData(); + + viewContext.logStop(logID); } private void extendToolBar() @@ -130,6 +135,7 @@ public class GenericExperimentViewer extends AbstractViewer<Experiment> implemen private void layoutExperimentDetailView(Experiment experiment) { + int logId = viewContext.log("layoutExperimentDetailView"); updateOriginalData(experiment); removeAll(); @@ -139,6 +145,7 @@ public class GenericExperimentViewer extends AbstractViewer<Experiment> implemen final Html loadingLabel = new Html(viewContext.getMessage(Dict.LOAD_IN_PROGRESS)); add(loadingLabel, createRightBorderLayoutData()); layout(); + viewContext.logStop(logId); executeDelayed(new IDelegatedAction() { -- GitLab