CloneSet268


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
31201.000nested_class_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13191
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/action/CreateMappingAction.java
23175
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/action/CreateOneSidedMappingAction.java
Next
Last
Clone Instance
1
Line Count
31
Source Line
91
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/action/CreateMappingAction.java

public static class DelegateCommand extends CommandWrapper implements CommandActionDelegate {
  protected MappingDomain mappingDomain;

  protected Collection<? > collection;

  public DelegateCommand(EditingDomain editingDomain, CommandParameter commandParameter) {
    super(CreateMappingCommand.create((MappingDomain) editingDomain, commandParameter.getCollection()));
    mappingDomain = (MappingDomain) editingDomain;
    collection = commandParameter.getCollection();
  }

  /**
   * This returns the icon, if any, of the action.
   */
  public Object getImage() {
    return "Placeholder";
  }

  public String getText() {
    return getLabel();
  }

  /**
   * This returns the tool tip text, if any, of the action.
   */
  public String getToolTipText() {
    return getDescription();
  }
}


First
Previous
Clone Instance
2
Line Count
31
Source Line
75
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/action/CreateOneSidedMappingAction.java

public static class DelegateCommand extends CommandWrapper implements CommandActionDelegate {
  protected MappingDomain mappingDomain;

  protected Collection<? > collection;

  public DelegateCommand(EditingDomain editingDomain, CommandParameter commandParameter) {
    super(CreateMappingCommand.create((MappingDomain) editingDomain, commandParameter.getCollection()));
    mappingDomain = (MappingDomain) editingDomain;
    collection = commandParameter.getCollection();
  }

  /**
   * This returns the icon, if any, of the action.
   */
  public Object getImage() {
    return "Placeholder";
  }

  public String getText() {
    return getLabel();
  }

  /**
   * This returns the tool tip text, if any, of the action.
   */
  public String getToolTipText() {
    return getDescription();
  }
}


Clone AbstractionParameter Count: 0Parameter Bindings

public static class DelegateCommand extends CommandWrapper implements CommandActionDelegate {
  protected MappingDomain mappingDomain;

  protected Collection<? > collection;

  public DelegateCommand(EditingDomain editingDomain, CommandParameter commandParameter) {
    super(CreateMappingCommand.create((MappingDomain) editingDomain, commandParameter.getCollection()));
    mappingDomain = (MappingDomain) editingDomain;
    collection = commandParameter.getCollection();
  }

  /**
       * This returns the icon, if any, of the action.
       */
  public Object getImage() {
    return "Placeholder";
  }

  public String getText() {
    return getLabel();
  }

  /**
       * This returns the tool tip text, if any, of the action.
       */
  public String getToolTipText() {
    return getDescription();
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None