CloneSet378


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.982method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1881
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/action/PrintAction.java
21062
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/table/action/SaveMessageBodyAsAction.java
Next
Last
Clone Instance
1
Line Count
8
Source Line
81
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/action/PrintAction.java

/*
 * (non-Javadoc)
 * 
 * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
 */
public void actionPerformed(ActionEvent evt) {
  IMailFolderCommandReference r = ((MailFrameMediator) getFrameMediator()).getTableSelection();
  Charset charset = ((CharsetOwnerInterface) getFrameMediator()).getCharset();
  PrintMessageCommand c = new PrintMessageCommand(r, charset);
  CommandProcessor.getInstance().addOp(c);
}


First
Previous
Clone Instance
2
Line Count
10
Source Line
62
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/table/action/SaveMessageBodyAsAction.java

/**
 * Called for activation of the SaveMessageBodyAsAction
 * 
 * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
 */
public void actionPerformed(ActionEvent evt) {
  // get selected stuff
  IMailFolderCommandReference r = ((MailFrameMediator) getFrameMediator()).getTableSelection();
  // get active charset - necessary to decode msg for saving
  Charset charset = ((CharsetOwnerInterface) getFrameMediator()).getCharset();
  SaveMessageBodyAsCommand c = new SaveMessageBodyAsCommand(r, charset);
  CommandProcessor.getInstance().addOp(c);
}


Clone AbstractionParameter Count: 1Parameter Bindings

/*
         * (non-Javadoc)
         * 
         * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
         */
/**
         * Called for activation of the SaveMessageBodyAsAction
         * 
         * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
         */
public void actionPerformed(ActionEvent evt) {
  // get selected stuff
  IMailFolderCommandReference r = ((MailFrameMediator) getFrameMediator()).getTableSelection();
  // get active charset - necessary to decode msg for saving
  Charset charset = ((CharsetOwnerInterface) getFrameMediator()).getCharset();
   [[#variable1328f9e0]] c = new [[#variable1328f9e0]](r, charset);
  CommandProcessor.getInstance().addOp(c);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1328f9e0]]
PrintMessageCommand 
12[[#1328f9e0]]
SaveMessageBodyAsCommand