CloneSet236


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
36210.984class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13641
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/edit/ui/action/CreateChildAction.java
23440
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/edit/ui/action/CreateSiblingAction.java
Next
Last
Clone Instance
1
Line Count
36
Source Line
41
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/edit/ui/action/CreateChildAction.java

/**
 * This describes the child to be created.
 */
protected Object descriptor;

/**
 * This constructs an instance of an action that uses the workbench part's editing domain to create a child
 * specified by <code>descriptor</code> for the single object in the
 * <code>selection</code>.
 * @since 2.1.0
 */
public CreateChildAction(IWorkbenchPart workbenchPart, ISelection selection, Object descriptor) {
  super(workbenchPart);
  this.descriptor = descriptor;
  configureAction(selection);
}

/**
 * This constructor is simply retained for binary compatibility. It just
 * calls the {@link #CreateChildAction(IWorkbenchPart, ISelection, Object)
 * new form}.
 */
public CreateChildAction(IEditorPart editorPart, ISelection selection, Object descriptor) {
  this((IWorkbenchPart) editorPart, selection, descriptor);
}

/**
 * This constructs an instance of an action that uses the given editing domain to create a child
 * specified by <code>descriptor</code> for the single object in the
 * <code>selection</code>.
 * @since 2.4.0
 */
public CreateChildAction(EditingDomain editingDomain, ISelection selection, Object descriptor) {
  super(editingDomain);
  this.descriptor = descriptor;
  configureAction(selection);
}


First
Previous
Clone Instance
2
Line Count
34
Source Line
40
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/edit/ui/action/CreateSiblingAction.java

/**
 * This describes the sibling to be created.
 */
protected Object descriptor;

/**
 * This constructs an instance of an action that uses the workbench part's editing domain to create a sibling
 * specified by <code>descriptor</code>.
 * @since 2.1.0
 */
public CreateSiblingAction(IWorkbenchPart workbenchPart, ISelection selection, Object descriptor) {
  super(workbenchPart);
  this.descriptor = descriptor;
  configureAction(selection);
}

/**
 * This constructor is simply retained for binary compatibility. It just
 * calls the {@link #CreateSiblingAction(IWorkbenchPart, ISelection, Object)
 * new form}.
 */
public CreateSiblingAction(IEditorPart editorPart, ISelection selection, Object descriptor) {
  this((IWorkbenchPart) editorPart, selection, descriptor);
}

/**
 * This constructs an instance of an action that uses the given editing domain to create a sibling
 * specified by <code>descriptor</code>.
 * @since 2.4.0
 */
public CreateSiblingAction(EditingDomain editingDomain, ISelection selection, Object descriptor) {
  super(editingDomain);
  this.descriptor = descriptor;
  configureAction(selection);
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
   * This describes the child to be created.
   */
/**
   * This describes the sibling to be created.
   */
protected Object descriptor;

/**
   * This constructs an instance of an action that uses the workbench part's editing domain to create a child
   * specified by <code>descriptor</code> for the single object in the
   * <code>selection</code>.
   * @since 2.1.0
   */
/**
   * This constructs an instance of an action that uses the workbench part's editing domain to create a sibling
   * specified by <code>descriptor</code>.
   * @since 2.1.0
   */
public [[#variable1719c220]](IWorkbenchPart workbenchPart, ISelection selection, Object descriptor) {
  super(workbenchPart);
  this.descriptor = descriptor;
  configureAction(selection);
}

/**
   * This constructor is simply retained for binary compatibility. It just
   * calls the {@link #CreateChildAction(IWorkbenchPart, ISelection, Object)
   * new form}.
   */
/**
   * This constructor is simply retained for binary compatibility. It just
   * calls the {@link #CreateSiblingAction(IWorkbenchPart, ISelection, Object)
   * new form}.
   */
public [[#variable1719c220]](IEditorPart editorPart, ISelection selection, Object descriptor) {
  this((IWorkbenchPart) editorPart, selection, descriptor);
}

/**
   * This constructs an instance of an action that uses the given editing domain to create a child
   * specified by <code>descriptor</code> for the single object in the
   * <code>selection</code>.
   * @since 2.4.0
   */
/**
   * This constructs an instance of an action that uses the given editing domain to create a sibling
   * specified by <code>descriptor</code>.
   * @since 2.4.0
   */
public [[#variable1719c220]](EditingDomain editingDomain, ISelection selection, Object descriptor) {
  super(editingDomain);
  this.descriptor = descriptor;
  configureAction(selection);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1719c220]]
CreateChildAction 
12[[#1719c220]]
CreateSiblingAction