CloneSet230


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.970method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17145
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/Macros.java
27162
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/Macros.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
145
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/Macros.java

//{{{ message() method
/**
 * Utility method that can be used to display a message dialog in a macro.
 * @param comp The component to show the dialog on behalf of, this
 * will usually be a view instance
 * @param message The message
 * @since jEdit 2.7pre2
 */
public static void message(Component comp, String message) {
  GUIUtilities.hideSplashScreen();
  JOptionPane.showMessageDialog(comp, message, jEdit.getProperty("macro-message.title"), JOptionPane.INFORMATION_MESSAGE);
} //}}}


First
Previous
Clone Instance
2
Line Count
7
Source Line
162
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/Macros.java

//{{{ error() method
/**
 * Utility method that can be used to display an error dialog in a macro.
 * @param comp The component to show the dialog on behalf of, this
 * will usually be a view instance
 * @param message The message
 * @since jEdit 2.7pre2
 */
public static void error(Component comp, String message) {
  GUIUtilities.hideSplashScreen();
  JOptionPane.showMessageDialog(comp, message, jEdit.getProperty("macro-message.title"), JOptionPane.ERROR_MESSAGE);
} //}}}


Clone AbstractionParameter Count: 2Parameter Bindings

//{{{ error() method
/**
         * Utility method that can be used to display an error dialog in a macro.
         * @param comp The component to show the dialog on behalf of, this
         * will usually be a view instance
         * @param message The message
         * @since jEdit 2.7pre2
         */
//{{{ message() method
/**
         * Utility method that can be used to display a message dialog in a macro.
         * @param comp The component to show the dialog on behalf of, this
         * will usually be a view instance
         * @param message The message
         * @since jEdit 2.7pre2
         */
public static void [[#variableaead100]](Component comp, String message) {
  GUIUtilities.hideSplashScreen();
  JOptionPane.showMessageDialog(comp, message, jEdit.getProperty("macro-message.title"), JOptionPane. [[#variableaeacf60]]);
} //}}}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#aead100]]
message 
12[[#aead100]]
error 
21[[#aeacf60]]
INFORMATION_MESSAGE 
22[[#aeacf60]]
ERROR_MESSAGE