SDK:
- fix restoring of UI selection of android sdk from settings git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8196 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
86124b9a04
commit
68f98cc52f
@ -293,6 +293,13 @@ public class AndroidSdkTool {
|
|||||||
private int revision;
|
private int revision;
|
||||||
private String skins;
|
private String skins;
|
||||||
|
|
||||||
|
public AndroidTarget() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public AndroidTarget(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
public int getId() {
|
public int getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
@ -353,5 +360,14 @@ public class AndroidSdkTool {
|
|||||||
public String toString() {
|
public String toString() {
|
||||||
return getTitle();
|
return getTitle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object obj) {
|
||||||
|
if (obj instanceof String && getName() != null) {
|
||||||
|
return getName().equals(obj);
|
||||||
|
} else {
|
||||||
|
return super.equals(obj);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user