CloneSet217


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20230.985class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
120195
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/action/NameMatchMappingAction.java
220204
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/action/TypeMatchMappingAction.java
Next
Last
Clone Instance
1
Line Count
20
Source Line
195
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/action/NameMatchMappingAction.java

@Override protected ImageDescriptor objectToImageDescriptor(Object object) {
  ((Action) action).setHoverImageDescriptor(ExtendedImageRegistry.getInstance().getImageDescriptor(MappingPlugin.getPlugin().getImage("full/ctool16/MatchByName")));
  ((Action) action).setDisabledImageDescriptor(ExtendedImageRegistry.getInstance().getImageDescriptor(MappingPlugin.getPlugin().getImage("full/dtool16/MatchByName")));
  return ExtendedImageRegistry.getInstance().getImageDescriptor(MappingPlugin.getPlugin().getImage("full/etool16/MatchByName"));
}

/**
 * Match the command for this action
 */
@Override protected Command createActionCommand(EditingDomain editingDomain, final Collection<? > collection) {
  return editingDomain.createCommand(DelegateCommand.class , new CommandParameter(null, null, collection));
}


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

@Override protected ImageDescriptor objectToImageDescriptor(Object object) {
  ((Action) action).setHoverImageDescriptor(ExtendedImageRegistry.getInstance().getImageDescriptor(MappingPlugin.getPlugin().getImage("full/ctool16/MatchByType")));
  ((Action) action).setDisabledImageDescriptor(ExtendedImageRegistry.getInstance().getImageDescriptor(MappingPlugin.getPlugin().getImage("full/dtool16/MatchByType")));
  return ExtendedImageRegistry.getInstance().getImageDescriptor(MappingPlugin.getPlugin().getImage("full/etool16/MatchByType"));
}

/**
 * Match the command for this action
 */
@Override protected Command createActionCommand(EditingDomain editingDomain, final Collection<? > collection) {
  return editingDomain.createCommand(DelegateCommand.class , new CommandParameter(null, null, collection));
}


Clone AbstractionParameter Count: 3Parameter Bindings

@Override protected ImageDescriptor objectToImageDescriptor(Object object) {
  ((Action) action).setHoverImageDescriptor(ExtendedImageRegistry.getInstance().getImageDescriptor(MappingPlugin.getPlugin().getImage( [[#variable17185fc0]])));
  ((Action) action).setDisabledImageDescriptor(ExtendedImageRegistry.getInstance().getImageDescriptor(MappingPlugin.getPlugin().getImage( [[#variable17185f40]])));
  return ExtendedImageRegistry.getInstance().getImageDescriptor(MappingPlugin.getPlugin().getImage( [[#variable17185ca0]]));
}

/**
   * Match the command for this action
   */
@Override protected Command createActionCommand(EditingDomain editingDomain, final Collection<? > collection) {
  return editingDomain.createCommand(DelegateCommand.class , new CommandParameter(null, null, collection));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#17185fc0]]
"full/ctool16/MatchByName" 
12[[#17185fc0]]
"full/ctool16/MatchByType" 
21[[#17185f40]]
"full/dtool16/MatchByName" 
22[[#17185f40]]
"full/dtool16/MatchByType" 
31[[#17185ca0]]
"full/etool16/MatchByName" 
32[[#17185ca0]]
"full/etool16/MatchByType"