CloneSet229


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17210.963method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11778
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/composer/html/action/ParagraphMenu.java
217382
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/composer/html/HtmlToolbar.java
Next
Last
Clone Instance
1
Line Count
17
Source Line
78
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/composer/html/action/ParagraphMenu.java

public void formatChanged(FormatChangedEvent event) {
  // select the menu item corresponding to present format
  FormatInfo info = event.getInfo();
  if (info.isHeading1()) {
    selectMenuItem(HTML.Tag.H1);
  }
  else
    if (info.isHeading2()) {
      selectMenuItem(HTML.Tag.H2);
    }
    else
      if (info.isHeading3()) {
        selectMenuItem(HTML.Tag.H3);
      }
      else
        if (info.isPreformattet()) {
          selectMenuItem(HTML.Tag.PRE);
        }
        else
          if (info.isAddress()) {
            selectMenuItem(HTML.Tag.ADDRESS);
          }
          else {
            // select the "Normal" entry as default
            selectMenuItem(HTML.Tag.P);
          }
}


First
Previous
Clone Instance
2
Line Count
17
Source Line
382
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/composer/html/HtmlToolbar.java

// Handling of paragraph combo box
// select the item in the combo box corresponding to present format
public void formatChanged(FormatChangedEvent event) {
  FormatInfo info = event.getInfo();
  if (info.isHeading1()) {
    selectInParagraphComboBox(HTML.Tag.H1);
  }
  else
    if (info.isHeading2()) {
      selectInParagraphComboBox(HTML.Tag.H2);
    }
    else
      if (info.isHeading3()) {
        selectInParagraphComboBox(HTML.Tag.H3);
      }
      else
        if (info.isPreformattet()) {
          selectInParagraphComboBox(HTML.Tag.PRE);
        }
        else
          if (info.isAddress()) {
            selectInParagraphComboBox(HTML.Tag.ADDRESS);
          }
          else {
            // select the "Normal" entry as default
            selectInParagraphComboBox(HTML.Tag.P);
          }
}


Clone AbstractionParameter Count: 1Parameter Bindings

// Handling of paragraph combo box
// select the item in the combo box corresponding to present format
public void formatChanged(FormatChangedEvent event) {
  // select the menu item corresponding to present format
  FormatInfo info = event.getInfo();
  if (info.isHeading1()) {
     [[#variable113ee220]](HTML.Tag.H1);
  }
  else
    if (info.isHeading2()) {
       [[#variable113ee220]](HTML.Tag.H2);
    }
    else
      if (info.isHeading3()) {
         [[#variable113ee220]](HTML.Tag.H3);
      }
      else
        if (info.isPreformattet()) {
           [[#variable113ee220]](HTML.Tag.PRE);
        }
        else
          if (info.isAddress()) {
             [[#variable113ee220]](HTML.Tag.ADDRESS);
          }
          else {
             [[#variable113ee220]](HTML.Tag.P);
          }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#113ee220]]
selectMenuItem 
12[[#113ee220]]
selectInParagraphComboBox