Issue: when the SDK gets (re)loaded, the uiRootNode changes
in the UiTreeBlock. However the TreeViewer is using a
content provider which root node was not updated. The fix is
to make the content provider dynamically ask for the root
node to the tree block. Instead of depending on the class
directly, a new interface is passed for this.
Original author: raphael
Merged from: //branches/cupcake/...
Original author: android-build
Automated import of CL 145419
The fix is that a menu contribution should redefine the menu that it is
contributing too. In this case it seems the JDT is not yet loaded or at
least hasn't defined the menu that we're contributing too, so we need to
define it. This definition is extracted from the jdt.ui/plugin.xml from
3.4 in order to define the same group names in the same order.
Original author: raphael
Merged from: //branches/cupcake/...
Original author: android-build
Automated import of CL 145170
Also renamed the container for add-ons to include the base platform name (so that at least a version is displayed).
Original author: xav
Merged from: //branches/cupcake/...
Original author: android-build
Automated import of CL 145169
ID when selecting a string reference.
Original author: raphael
Merged from: //branches/cupcake/...
Original author: android-build
Automated import of CL 144490
Activities that do not have an action, or that are set to not be exported cannot be launched from 'am start...' so they should not be considered when finding an activity to launch.
Original author: xav
Merged from: //branches/cupcake/...
Original author: android-build
Automated import of CL 144419
That's a first pass. There's a fair bit of refactoring
involved, so it's split in two CLs. Next CL will add more
functionality.
Original author: raphael
Merged from: //branches/cupcake/...
Original author: android-build
Automated import of CL 144402
Rationale: we want to keep that code around, so we need to compile
it to make sure it doesn't use obsoleted APIs. That does it.
Original author: raphael
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 144095
This covers the case where an AVD has an invalid target
or is missing its AVD folder or the config.ini in it.
Made some cosmetic cleanup too.
Original author: raphael
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 143885
Also fixed some javadoc warnings.
Original author: raphael
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 143350
Two issues in fact:
1- On some selections the resource type is determined before the
root values are computed.
2- Added an sdk target change listener to refresh the project's roots
if the SDK was still loading or if the project changed targets.
The New Project Wizard has been updated with a similar sdk change
listener to refresh the target selector. This is useful when the NPW
is used before the targets have finished loading, e.g. upon lauching
Eclipse.
Note: this requires CL 142690 to compile.
Original author: raphael
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 143304
Issue: <merge> did not have layout attributes. When new widgets are
dropped in a layout, GLE only adds layout width/height if the parent
supports them.
Fix: Make <merge> have layout attributes from FrameLayout. The ideal
choice would have been ViewGroup, but since ViewGroup is abstract we
don't have any ViewDescriptor for it. FrameLayout should provide a
sensible replacement.
Note: this requires CL 142780 to compile.
Original author: raphael
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...
Automated import of CL 143303