Skip to content
Snippets Groups Projects
Commit d2b9fb95 authored by felmer's avatar felmer
Browse files

OBP-48 No links on entity codes, identifiers etc. in experiment and sample choosers

SVN: 22488
parent 4584eac0
No related branches found
No related tags found
No related merge requests found
...@@ -99,10 +99,11 @@ public class ExperimentBrowserGrid extends AbstractEntityGrid<Experiment> ...@@ -99,10 +99,11 @@ public class ExperimentBrowserGrid extends AbstractEntityGrid<Experiment>
final ExperimentBrowserGrid browserGrid = new ExperimentBrowserGrid(viewContext, toolbar) final ExperimentBrowserGrid browserGrid = new ExperimentBrowserGrid(viewContext, toolbar)
{ {
@Override @Override
protected void showEntityViewer(TableModelRowWithObject<Experiment> experiment, protected ICellListenerAndLinkGenerator<Experiment> tryGetCellListenerAndLinkGenerator(
boolean editMode, boolean active) String columnId)
{ {
// do nothing - avoid showing the details after double click // No links in choosers needed
return null;
} }
}; };
browserGrid.addGridRefreshListener(toolbar); browserGrid.addGridRefreshListener(toolbar);
......
...@@ -120,10 +120,11 @@ public class SampleBrowserGrid extends AbstractEntityGrid<Sample> ...@@ -120,10 +120,11 @@ public class SampleBrowserGrid extends AbstractEntityGrid<Sample>
DisplayTypeIDGenerator.ENTITY_BROWSER_GRID) DisplayTypeIDGenerator.ENTITY_BROWSER_GRID)
{ {
@Override @Override
protected void showEntityViewer(TableModelRowWithObject<Sample> row, protected ICellListenerAndLinkGenerator<Sample> tryGetCellListenerAndLinkGenerator(
boolean editMode, boolean active) String columnId)
{ {
// do nothing - avoid showing the details after double click // No links in choosers needed
return null;
} }
}; };
browserGrid.addGridRefreshListener(toolbar); browserGrid.addGridRefreshListener(toolbar);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment