Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335652

Summary: [index] move AbstractAllContainersState to org.eclipse.xtext
Product: [Modeling] TMF Reporter: Knut Wannheden <knut.wannheden>
Component: Xtext BacklogAssignee: Project Inbox <tmf.xtext-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.0.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 326219    
Bug Blocks:    

Description Knut Wannheden CLA 2011-01-28 01:52:33 EST
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().