Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-core-dev] Flexible Resource Model use case

I haven't seen the following use case yet so I want to add it to the discussion.
  • A project needs to pull in code that is rooted in folder "A1"
  • A1 is outside the user's workspace
  • A1 contains many subfolders
  • Only a handful of A1's subfolders are a part of the project
  • IFolder.createLink() is called, linking the project to folder A1
  • IFolder.createLink() starts a refresh that traverses _everything_ under A1
  • The cost of traversing all of A1's subfolders is too high--IResource.setHidden() can only be called on subfolders after they have been pulled into the workspace
We need a way to hook into the resource delta creation so that any nested subfolder can be hidden _before_ that subfolder is traversed.

--Terry Parker

Back to the top