Exemplo n.º 1
0
  public SDK copy() {
    SDK copy = new SDK(this.getLocation());

    copy.setContributed(isContributed());
    copy.setDefault(isDefault());
    copy.setName(getName());
    copy.setVersion(getVersion());

    return copy;
  }
Exemplo n.º 2
0
 public void loadFromMemento(XMLMemento sdkElement) {
   setName(sdkElement.getString("name")); // $NON-NLS-1$
   setLocation(Path.fromPortableString(sdkElement.getString("location"))); // $NON-NLS-1$
   // setRuntime(sdkElement.getString("runtime"));
 }