Community
Participate
Working Groups
The class AbstractAllContainersState currently resides in the plug-in org.eclipse.xtext.ui. I think it would make sense to move it to the plug-in org.eclipse.xtext since it doesn't contain any UI code nor depends on the Eclipse UI. It only depends on the IWorkspace. This thus also applies to WorkspaceProjectsState and WorkspaceProjectsStateHelper. At the same time the AbstractAllContainersState should get the IWorkspace injected instead of getting it from the static method ResourcesPlugin#getWorkspace().