CloneSet374


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16230.956class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11644
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/databinding/edit/EMFEditObservables.java
21669
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/databinding/edit/EMFEditObservables.java
Next
Last
Clone Instance
1
Line Count
16
Source Line
44
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/databinding/edit/EMFEditObservables.java

/**
 * Returns an observable value for the given feature of the object.
 * @param domain the editing domain used for applying changes.
 * @param eObject the object to observe.
 * @param eStructuralFeature the feature of the object to observe.
 * @return an observable value for the given feature of the object.
 */
public static IObservableValue observeValue(EditingDomain domain, EObject eObject, EStructuralFeature eStructuralFeature) {
  return new EditingDomainEObjectObservableValue(domain, eObject, eStructuralFeature);
}

/**
 * Returns an observable value for the given feature of the object.
 * @param realm the realm in which to observe.
 * @param domain the editing domain used for applying changes.
 * @param eObject the object to observe.
 * @param eStructuralFeature the feature of the object to observe.
 * @return an observable value for the given feature of the object.
 */
public static IObservableValue observeValue(Realm realm, EditingDomain domain, EObject eObject, EStructuralFeature eStructuralFeature) {
  return new EditingDomainEObjectObservableValue(realm, domain, eObject, eStructuralFeature);
}


First
Previous
Clone Instance
2
Line Count
16
Source Line
69
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/databinding/edit/EMFEditObservables.java

/**
 * Returns an observable list for the given multi-valued feature of the object.
 * @param domain the editing domain used for applying changes.
 * @param eObject the object to observe.
 * @param eStructuralFeature the feature of the object to observe.
 * @return an observable list for the given multi-valued feature of the object.
 */
public static IObservableList observeList(EditingDomain domain, EObject eObject, EStructuralFeature eStructuralFeature) {
  return new EditingDomainEObjectObservableList(domain, eObject, eStructuralFeature);
}

/**
 * Returns an observable list for the given multi-valued feature of the object.
 * @param realm the realm in which to observe.
 * @param domain the editing domain used for applying changes.
 * @param eObject the object to observe.
 * @param eStructuralFeature the feature of the object to observe.
 * @return an observable list for the given multi-valued feature of the object.
 */
public static IObservableList observeList(Realm realm, EditingDomain domain, EObject eObject, EStructuralFeature eStructuralFeature) {
  return new EditingDomainEObjectObservableList(realm, domain, eObject, eStructuralFeature);
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
   * Returns an observable value for the given feature of the object.
   * @param domain the editing domain used for applying changes.
   * @param eObject the object to observe.
   * @param eStructuralFeature the feature of the object to observe.
   * @return an observable value for the given feature of the object.
   */
/**
   * Returns an observable list for the given multi-valued feature of the object.
   * @param domain the editing domain used for applying changes.
   * @param eObject the object to observe.
   * @param eStructuralFeature the feature of the object to observe.
   * @return an observable list for the given multi-valued feature of the object.
   */
public static [[#variable172811e0]]  [[#variable17281180]](EditingDomain domain, EObject eObject, EStructuralFeature eStructuralFeature) {
  return new [[#variable17280f20]](domain, eObject, eStructuralFeature);
}

/**
   * Returns an observable value for the given feature of the object.
   * @param realm the realm in which to observe.
   * @param domain the editing domain used for applying changes.
   * @param eObject the object to observe.
   * @param eStructuralFeature the feature of the object to observe.
   * @return an observable value for the given feature of the object.
   */
/**
   * Returns an observable list for the given multi-valued feature of the object.
   * @param realm the realm in which to observe.
   * @param domain the editing domain used for applying changes.
   * @param eObject the object to observe.
   * @param eStructuralFeature the feature of the object to observe.
   * @return an observable list for the given multi-valued feature of the object.
   */
public static [[#variable172811e0]]  [[#variable17281180]](Realm realm, EditingDomain domain, EObject eObject, EStructuralFeature eStructuralFeature) {
  return new [[#variable17280f20]](realm, domain, eObject, eStructuralFeature);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#172811e0]]
IObservableValue 
12[[#172811e0]]
IObservableList 
21[[#17281180]]
observeValue 
22[[#17281180]]
observeList 
31[[#17280f20]]
EditingDomainEObjectObservableValue 
32[[#17280f20]]
EditingDomainEObjectObservableList