Pass javaEditor to the UserEnvironment.
Remove search box form Activator.
Create a JavaEditor object here and pass it to the UserEnvironment.
Add FileFieldEditor field to input search index file path.
Create SnipMatch search engine.
Modified.
Change Test cases.