OSDN Git Service

Ensure that custom views are unique
authorTor Norbye <tnorbye@google.com>
Fri, 14 Oct 2011 22:46:34 +0000 (15:46 -0700)
committerTor Norbye <tnorbye@google.com>
Fri, 14 Oct 2011 22:46:34 +0000 (15:46 -0700)
commitad212c67c69f2987f5ab0576b6cf111da06fb28c
tree60452b18061011bf2725eead2cf6ac17b56e3b77
parent694eb6d79041e6ce66cd3830456826b6015d375a
Ensure that custom views are unique

There are cases where Eclipse's code search engine returns multiple
instances of the same fully qualified class name when searching for
Views. In order not to show multiple versions of a custom view in the
palette, this changeset changes the CustomViewFinder from using a list
to using a set when accumulating class names.

Change-Id: I4dd9aafe76404efcf8b7bc82a5392f6010ba16f2
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/CustomViewFinder.java