Skip to content
Snippets Groups Projects
Commit 3218a0b8 authored by buczekp's avatar buczekp
Browse files

[LMS-1597] missing in commit

SVN: 17856
parent 63d1f44e
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ public class BrowserLocatorResolver extends AbstractViewLocatorResolver ...@@ -45,7 +45,7 @@ public class BrowserLocatorResolver extends AbstractViewLocatorResolver
openSampleBrowser(groupOrNull, entityTypeOrNull); openSampleBrowser(groupOrNull, entityTypeOrNull);
break; break;
case MATERIAL: case MATERIAL:
openMaterialBrowser(); openMaterialBrowser(entityTypeOrNull);
break; break;
default: default:
throw new UserFailureException("Browsing " + entityKind.getDescription() throw new UserFailureException("Browsing " + entityKind.getDescription()
...@@ -66,10 +66,10 @@ public class BrowserLocatorResolver extends AbstractViewLocatorResolver ...@@ -66,10 +66,10 @@ public class BrowserLocatorResolver extends AbstractViewLocatorResolver
initialGroupOrNull, initialSampleTypeOrNull)); initialGroupOrNull, initialSampleTypeOrNull));
} }
private void openMaterialBrowser() private void openMaterialBrowser(String initialMaterialTypeOrNull)
{ {
// TODO 2010-03-09, Piotr Buczek: optionally select material type DispatcherHelper.dispatchNaviEvent(new ComponentProvider(viewContext)
DispatcherHelper.dispatchNaviEvent(new ComponentProvider(viewContext).getMaterialBrowser()); .getMaterialBrowser(initialMaterialTypeOrNull));
} }
} }
\ No newline at end of file
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