Esempio n. 1
0
 public void saveToMemento(XMLMemento child) {
   child.putString("name", getName()); // $NON-NLS-1$
   child.putString("location", getLocation().toPortableString()); // $NON-NLS-1$
   child.putString("version", getVersion()); // $NON-NLS-1$
   // child.putString("runtime", getRuntime() != null ? getRuntime() : "");
 }
Esempio 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"));
 }