public void configureLanguageSpecificURIEditorOpener(com.google.inject.Binder binder) { binder.bind(IURIEditorOpener.class).annotatedWith(LanguageSpecific.class).to(LanguageSpecificURIEditorOpener.class); }
public void configureLanguageSpecificURIEditorOpener(com.google.inject.Binder binder) { if (PlatformUI.isWorkbenchRunning()) binder.bind(IURIEditorOpener.class).annotatedWith(LanguageSpecific.class) .to(LanguageSpecificURIEditorOpener.class); }