- Ability to suppress rendering fidelity warnings.
- Asset Studio integration: Wizard creation of launcher icons, menu
icons, tab icons, etc.
-- Many bug fixes, and some critical bug fixes on Linux
+- The New Project and the New XML File wizards have been reworked into
+ multiple pages. Sample Projects are now copied into the workspace
+ such that they can be modified and deleted without affecting the
+ master copy.
+- The dependency on Eclipse GEF was removed.
+- Many bug fixes, and in particular some critical bug fixes on Linux
13.0.0
- Tools release only (command line tools)
*/
package com.android.ide.eclipse.adt.internal.wizards.newproject;
+import com.android.ide.common.sdk.LoadStatus;
import com.android.ide.eclipse.adt.AdtPlugin;
import com.android.ide.eclipse.adt.internal.sdk.Sdk;
import com.android.ide.eclipse.adt.internal.sdk.Sdk.ITargetChangeListener;
private void validatePage() {
String error = null;
- if (mValues.target == null) {
+ if (AdtPlugin.getDefault().getSdkLoadStatus() == LoadStatus.LOADING) {
+ error = "The SDK is still loading; please wait.";
+ }
+
+ if (error == null && mValues.target == null) {
error = "An SDK Target must be specified.";
}
- if (mValues.mode == Mode.SAMPLE) {
+ if (error == null && mValues.mode == Mode.SAMPLE) {
// Make sure this SDK target contains samples
if (mValues.samples == null || mValues.samples.size() == 0) {
error = "This target has no samples. Please select another target.";
onSdkTargetModified();
}
}
+
+ validatePage();
}
public void onProjectTargetChange(IProject changedProject) {