public void apply() throws ConfigurationException { final FlexmojosSdkAdditionalData data = (FlexmojosSdkAdditionalData) mySdk.getSdkAdditionalData(); if (data != null) { data.setAdlPath(myFlexmojosSdkForm.getAdlPath()); data.setAirRuntimePath(myFlexmojosSdkForm.getAirRuntimePath()); } }
public boolean isModified() { final FlexmojosSdkAdditionalData data = (FlexmojosSdkAdditionalData) mySdk.getSdkAdditionalData(); if (data != null) { if (!myFlexmojosSdkForm.getAdlPath().equals(data.getAdlPath())) return true; if (!myFlexmojosSdkForm.getAirRuntimePath().equals(data.getAirRuntimePath())) return true; } return false; }