コード例 #1
0
 @Override
 public void readExternal(Element element) throws InvalidDataException {
   mySerialization.readExternalUtil(element, myOptionsAndConfirmations);
   final Attribute attribute = element.getAttribute(SETTINGS_EDITED_MANUALLY);
   if (attribute != null) {
     try {
       myHaveLegacyVcsConfiguration = attribute.getBooleanValue();
     } catch (DataConversionException e) {
       //
     }
   }
 }
コード例 #2
0
 @Override
 public void writeExternal(Element element) throws WriteExternalException {
   mySerialization.writeExternalUtil(element, myOptionsAndConfirmations);
   element.setAttribute(SETTINGS_EDITED_MANUALLY, String.valueOf(myHaveLegacyVcsConfiguration));
 }