Examples of SetHistoryItem


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

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

      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
Copyright © 2018 www.massapi.com. 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.