How to use a custom IAllContainersState [message #1836567] |
Thu, 07 January 2021 11:01  |
Eclipse User |
|
|
|
Hi,
In MyDslUIModule I added the following override
@Override
public Provider<IAllContainersState> provideIAllContainersState() {
return Access.<IAllContainersState>contributedProvider(MyDslProjectsState.class);
}
The MyDslProjectsState class is declared in the ui Plugin.
I have the following guice error when I launch my application :
1) Error injecting method, java.lang.IllegalStateException: Missing contribution for type: mydsl.ui.containers.MyDslProjectsState
at org.eclipse.xtext.ui.shared.Access$InternalProviderForContribution.inject(Unknown Source)
at org.eclipse.xtext.service.MethodBasedModule.configure(MethodBasedModule.java:76)
I tried to use the org.eclipse.xtext.ui.shared.sharedStateContributingModule but I don't understand how it works.
Any Hints ?
Yannick
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04701 seconds