CloneSet191


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
29201.000class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12973
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/globalactions/CutAction.java
23072
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/globalactions/PasteAction.java
Next
Last
Clone Instance
1
Line Count
29
Source Line
73
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/globalactions/CutAction.java

public void propertyChange(PropertyChangeEvent e) {
  Object o = e.getNewValue();
  if (o instanceof JComponent)
    focusOwner = (JComponent) o;
  else
    focusOwner = null;
}

/**
 * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
 */
public void actionPerformed(ActionEvent e) {
  if (focusOwner == null)
    return;
  String action = (String) e.getActionCommand();
  Action a = focusOwner.getActionMap().get(action);
  if (a != null)
    a.actionPerformed(new ActionEvent(focusOwner, ActionEvent.ACTION_PERFORMED, null));
}

/**
 * @see org.columba.core.gui.action.AbstractColumbaAction#isSingleton()
 */
public boolean isSingleton() {
  return true;
}


First
Previous
Clone Instance
2
Line Count
30
Source Line
72
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/globalactions/PasteAction.java

public void propertyChange(PropertyChangeEvent e) {
  Object o = e.getNewValue();
  if (o instanceof JComponent)
    focusOwner = (JComponent) o;
  else
    focusOwner = null;
}

/**
 * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
 */
public void actionPerformed(ActionEvent e) {
  if (focusOwner == null)
    return;
  String action = (String) e.getActionCommand();
  Action a = focusOwner.getActionMap().get(action);
  if (a != null)
    a.actionPerformed(new ActionEvent(focusOwner, ActionEvent.ACTION_PERFORMED, null));
}

/**
 * @see org.columba.core.gui.action.AbstractColumbaAction#isSingleton()
 */
public boolean isSingleton() {
  return true;
}


Clone AbstractionParameter Count: 0Parameter Bindings

public void propertyChange(PropertyChangeEvent e) {
  Object o = e.getNewValue();
  if (o instanceof JComponent)
    focusOwner = (JComponent) o;
  else
    focusOwner = null;
}

/**
         * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
         */
public void actionPerformed(ActionEvent e) {
  if (focusOwner == null)
    return;
  String action = (String) e.getActionCommand();
  Action a = focusOwner.getActionMap().get(action);
  if (a != null)
    a.actionPerformed(new ActionEvent(focusOwner, ActionEvent.ACTION_PERFORMED, null));
}

/**
         * @see org.columba.core.gui.action.AbstractColumbaAction#isSingleton()
         */
public boolean isSingleton() {
  return true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None