History log of /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ProjectChooserHelper.java
Revision Date Author Comments
ab36f4e7488358dea4ab6b54ee2b7bef3da0232b 21-Dec-2011 Tor Norbye <tnorbye@google.com> Update SDK codebase to JDK 6

This changeset makes the SDK codebase compile with source=1.6 (which
means it also requires JDK 6). This means that methods implementing an
interface requires @Override's. It also means we can start using APIs
like the ArrayDeque class and methods like String#isEmpty().

This changeset looks big but the change is trivial: it's basically
adding @Override in all the places that need it, along with some other
automatic Eclipse cleanup in certain files (such as reordering imports
where they were incorrectly ordered (because older versions of Eclipse
didn't always handle inner classes right)), as well as cleaning up
trailing whitespace and removing some $NON-NLS-1$ markers on lines
where there aren't any string literals anymore.

This changeset also sets the source and target JDK level to 6 in the
Eclipse compiler .settings file, and synchronizes this file to all the
other Eclipse SDK projects.

Change-Id: I6a9585aa44c3dee9a5c00739ab22fbdbcb9f8275
fcb2927ca24b188370c20be206c185a77b13b340 21-Sep-2011 Tor Norbye <tnorbye@google.com> Bug fixes for render target selection and project combo

This changeset fixes two bugs:

(1) Make sure that the default render target chosen for a newly opened
layout is the same as the project build target, if the project
build target is a preview release.

(2) Ensure that the project selector combo updates its selection to
show the selected project when it is set (without this there were
scenarios where the New XML File dialog would not show the project
it had actually found and selected internally.

Change-Id: Ia9dd9d75e42f9e8b9d312fc0d951f798c578165f
3f21eb78ab9a6cc418612f9c475e8c63ed104668 12-Sep-2011 Tor Norbye <tnorbye@google.com> Change Project selector button to be a Combobox instead

This changeset changes the widget used for project selection from a
button to a combobox.

It also fixes a couple of bugs in the New XML File Wizard:
- First, changing a project would clear out the root types table
- Second, the copy to clipboard button didn't work; the event handler
was missing.
- Third, validate fields in visual order

Change-Id: Ibf4899fc3f9c9ec343d97532870df8e32a49bee0
2be3e4a329d5d9e9a03c967686ebc6723715d92d 30-Aug-2011 Tor Norbye <tnorbye@google.com> Use project selector button in the New XML File wizard

I changed the project chooser in the New Android Icon Wizard from a
text field to a button (which shows the project name and icon, and
when clicked brings up the project selector dialog). This helps draw
the focus down to the next text field (the name) so you don't
accidentally try to enter it in the project field, and with the icon
it's also more obvious that it's the place where the project appears.

This CL makes the same change to the New XML File wizard.

Change-Id: Ib6496cb5b803f36228eb94fb5b1b2d0441f82ff8
59bddc5b09c091cfae54577ec36b16925b362b55 25-Aug-2011 Tor Norbye <tnorbye@google.com> Add support for remaining asset types in Asset Studio Wizard

This changeset ports the remaining graphic generators from the HTML5
version (notifications, tabs, action bar), and hooks up wizard support
for them.

It also adds unit tests for the generators which generates images and
compares them to known good versions. I ran these tests comparing them
to the output from the HTML5 version of Asset Studio and all but 3 of
the images varied less than 5% (and I verified the remaining manually
and they're all fine and the difference is due to the images being
aligned slightly differently.)

The icon wizard is now also hooked up to the "New" button in the
Resource Chooser for drawable resources, and this changeset also fixes
a few related issues ("New" didn't work for file-based resources, and
newly created resources weren't showing up in the selection list.)

Change-Id: I48c49f1d5de452aa5b78e491d9b07e7156397fa9
775037a408d2cb38986d96c322579329bdeb974e 22-Jul-2010 Xavier Ducrohet <xav@android.com> Fix a potential npe preventing the library project selection from working.

If the workspace has broken projects, Sdk.getProjectState() can return
null for them, causing an NPE in the IProjectChooserFilter.

I had fixed NonLibraryProjectOnlyFilter but apparently, not
LibraryProjectOnlyFilter.

Change-Id: I9a85ce61885888e0107acf2f9cb5e3491ed8f1fb
648e03eafbf9cac55142d1d6349e4d5cc8b4299d 14-Jul-2010 Xavier Ducrohet <xav@android.com> Force recompilation after library changes and fix some clean-up/refresh issue in the builders

One of the fix is that the gen folder is no longer deleted on clean (or full build)
which should reduce errors where eclipse complain the gen folder is missing
even though it's present.

Also move ProjectState into SDK as it's really only managed
by the SDK and it allows us to move its constructor to package private.

Change-Id: I321ac23f756652e7082297d2ef560a654e97cf67
d8d3dc7e015cb7e17fdad0ab520041b4ffcd3e84 13-May-2010 Xavier Ducrohet <xav@android.com> Fix the library project filter to not NPE on broken projects.

Change-Id: I51ec8f699b631171fcfa92ce8cc658ba1f50e017
571f221b231f47252b09e6703381296a3d89a853 02-Apr-2010 Xavier Ducrohet <xav@android.com> ADT: Customize project selection message.

Bug: 2565629
Change-Id: I10a1aceaa5f0d0e157a9eccf7bffb312c7fc3bcc
7641cd7668c2dda9d198cc660d58d845de677029 16-Mar-2010 Xavier Ducrohet <xav@android.com> ADT: New project properties panel for libraries.

Change-Id: I21efbcfd4bfcb552e1ecceee7cc611efa6b737f3
d4963dc4347c871be5faa76920709001490e1d2a 24-Feb-2010 The Android Open Source Project <initial-contribution@android.com> snapshot
e13151727c63786342cddc3ea355425582bd4e7a 13-Jan-2010 The Android Open Source Project <initial-contribution@android.com> android-2.1_r1 snapshot
f2880494706ad8dfd43e21471096216be4ca7c69 14-May-2009 Xavier Ducrohet <xav@android.com> ADT: Move more packages into internal.

common.project -> adt.internal.project
adt.resources -> adt.internal.resources
adt.wizards.* -> adt.internal.wizards
adt.ui -> adt.internal.ui