org.eclipse.xtext.ui.editor.findrefs.ReferenceSearchViewPage Java Examples
The following examples show how to use
org.eclipse.xtext.ui.editor.findrefs.ReferenceSearchViewPage.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MyReferenceSearchResultContentProviderCustomModule.java From n4js with Eclipse Public License 1.0 | 6 votes |
@Override protected void configure() { // As a workaround to fix GH-724, this is copied from org.eclipse.xtext.ui.shared.internal.SharedModule // and the default must be kept in sync with the corresponding code there!! binder().install(new PrivateModule() { @Override protected void configure() { bind(ReferenceSearchViewPage.class); bind(ReferenceSearchResultLabelProvider.class); // Workaround to fix GH-724. bind(ReferenceSearchResultContentProvider.class).to(MyReferenceSearchResultContentProvider.class); bind(ReferenceSearchViewSorter.class); expose(ReferenceSearchViewPage.class); } }); }