Bug 102893 [WorkingSets] Nested WorkingSets
Hello, I'm a big user of different working sets, and recently I've notice the need of nested grouping (Working sets within working sets). That way, one can have more control and a better organization of the workingspace. In my case I have a working set for my office, one for personal projects, one for testing and a couple of others. Inside the office working set, some of the projects have dependencies between them; it would be great to have those projects in a working set inside the office working set. I don't know if other people have had this need. Thanx for everything
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/model/WorkingSetAdapterFactory.java
}
            }
            if (resourceAdapter instanceof IContributorResourceAdapter) {
                
                IResource resource = ((IContributorResourceAdapter)resourceAdapter).getAdaptedResource(element);
                if (resource != null) {
                    Object mapping = internalGetAdapter(resource, ResourceMapping.class);
                    if (mapping instanceof ResourceMapping) {
                        return (ResourceMapping)mapping;
                    }
                }
            }
        }
        return null;
    }
    
      Object internalGetAdapter(Object o, Class adapter) {
        if (o instanceof IAdaptable) {
            IAdaptable element = (IAdaptable) o;
            Object adapted = element.getAdapter(adapter);
            if (adapted != null)
                return adapted;
        }
        
         
        
        return Platform.getAdapterManager().getAdapter(o, adapter);
    }
}