Package org.emftrace.emffit.history.items

Examples of org.emftrace.emffit.history.items.SetHistoryItem


      if (attribute.getName() != "identifier"
          && element.eGet(attribute) != null) {
        String newValue = element.eGet(attribute).toString();
        String name = attribute.getName();

        result.add(new SetHistoryItem(ModelUtil.getProject(element).getModelElementId(element),
            name, null, newValue, getUserName(), date));
      }
    }
    int index = 0;
    for (EObject child : ModelUtil.getAllContainedModelElements(element,true)) {
View Full Code Here


      oldValueStr = (String) oldValue;
    } else if (oldValue != null){
      oldValueStr = oldValue.toString();
    }
    result
        .add(new SetHistoryItem(op.getModelElementId(), op
            .getFeatureName(), oldValueStr, newValueStr, getUserName(), op
            .getClientDate()));
    return result;
  }
View Full Code Here

TOP

Related Classes of org.emftrace.emffit.history.items.SetHistoryItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.