OSDN Git Service

AI 146238: ADT #1761064: Properly refresh UiTreeBlock when SDK is reloaded.
authorRaphael Moll <>
Tue, 14 Apr 2009 23:14:38 +0000 (16:14 -0700)
committerThe Android Open Source Project <initial-contribution@android.com>
Tue, 14 Apr 2009 23:14:38 +0000 (16:14 -0700)
commitf10beab9c886edf9cb8b0d8239325663257d6f6d
tree5959d789fd94e12a6060918fcaf04e39bc7d231c
parent7650bff067cb36bb077606e7bd8510b7172b8a40
AI 146238: ADT #1761064: Properly refresh UiTreeBlock when SDK is reloaded.
  The fix I did last week was just refreshing the UiRootNode
  but it turns out we need to refresh the DescriptorFilters too
  (since they are null when there's no SDK.) So the old fix was
  wrong, what we need is to generate a new tree model when the
  SDK is reloaded.
  BUG=1761064

Automated import of CL 146238
tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/editors/ui/tree/UiModelTreeContentProvider.java
tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/editors/ui/tree/UiRootNodeProvider.java [deleted file]
tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/editors/ui/tree/UiTreeBlock.java