public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() { if (Access.getJdtHelper().get().isJavaCoreAvailable()) { return Access.getJavaProjectsState(); } else { return Access.getWorkspaceProjectsState(); } }
@Override public Class<? extends IResourceForEditorInputFactory> bindIResourceForEditorInputFactory() { if (Access.getJdtHelper().get().isJavaCoreAvailable()) { return JavaClassPathResourceForIEditorInputFactory.class; } else { return ResourceForIEditorInputFactory.class; } }
@Override public Class<? extends IResourceSetProvider> bindIResourceSetProvider() { if (Access.getJdtHelper().get().isJavaCoreAvailable()) { return XtextResourceSetProvider.class; } else { return SimpleResourceSetProvider.class; } }
// contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() { return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState(); }
public DirtyStateAwareDiagramDocumentEditor(boolean hasFlyoutPalette) { super(hasFlyoutPalette); dirtyStateManager = Access.getIDirtyStateManager().get(); uri2dirtyResource = Maps.newHashMap(); }
@Override public Provider<IAllContainersState> provideIAllContainersState() { return Access.getWorkspaceProjectsState(); }
// contributed by org.eclipse.xtext.xtext.generator.ImplicitFragment public Provider<IAllContainersState> provideIAllContainersState() { return Access.getJavaProjectsState(); }