public interface IWidget { void dispose(); void setTitle(String title); void updateUI(); void setVisible(boolean b); public void addNotify(); /** * * @return Will return null if tabbed mode is used. */ JInternalFrame getInternalFrame(); String getTitle(); void moveToFront(); void addWidgetListener(WidgetListener widgetListener); void removeWidgetListener(WidgetListener widgetListener); void putClientProperty(Object key, Object prop); Object getClientProperty(Object key); boolean isToolWindow(); boolean isClosed(); boolean isIcon()
public interface IQueryTokenizerPreferenceBean { /** * @param statementSeparator the statementSeparator to set */ void setStatementSeparator(String statementSeparator); /** * @return the statementSeparator */ String getStatementSeparator(); /** * @param procedureSeparator the procedureSeparator to set */ void setProcedureSeparator(String procedureSeparator); /** * @return the procedureSeparator */ String getProcedureSeparator(); /** * @param lineComment the lineComment to set */ void setLineComment(String lineComment); /** * @return the lineComment */ String getLineComment(); /** * @param removeMultiLineComments the removeMultiLineComments to set */ void setRemoveMultiLineComments(boolean removeMultiLineComments); /** * @return the removeMultiLineComments */ boolean isRemoveMultiLineComments(); /** * @param installCustomQueryTokenizer the installCustomQueryTokenizer to set */ void setInstallCustomQueryTokenizer(boolean installCustomQueryTokenizer); /** * @return the installCustomQueryTokenizer */ boolean isInstallCustomQueryTokenizer(); /** * Retrieve the client to use. This is only used if <TT>useAnonymousClient</TT> * is false. * * @return Client name. */ String getClientName(); /** * Set the client name. * * @param value * Client name */ void setClientName(String value); /** * Retrieve the client version to use. This is only used if <TT>useAnonymousLogon</TT> * is false. * * @return Client version. */ String getClientVersion(); /** * Set the client version. * * @param value * Client version */ void setClientVersion(String value)
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/gui/desktopcontainer/IWidget.java File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/preferences/IQueryTokenizerPreferenceBean.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public interface IWidget
1
public interface I
2
{
3
   void dispose();
4
   void setTitle(String title);
5
   void updateUI();
6
   void setVisible(boolean b);
7
   public void addNotify(
2
QueryTokenizerPreferenceBean {
3
    /**
4
     * @param statementSeparator the statementSeparator to set
5
     */
6
    void setStatementSeparator(String statementSeparator);
7
    /**
8
     * @return the statementSeparator
9
     */
10
    String getStatementSeparator();
11
    /**
12
     * @param procedureSeparator the procedureSeparator to set
13
     */
8
);
14
    void setProcedureSeparator(String procedureSeparator);
9
   /**
15
    /**
10
    *
16
 
11
    * @return Will return null if tabbed mode is used.
17
    * @return 
12
    */
13
   JInternalFrame getInternalFrame();
14
   String getTitle();
15
   void moveToFront();
16
   void addWidgetListener(WidgetListener widgetListener);
17
   void removeWidgetListener(WidgetListener widgetListen
18
the procedureSeparator
19
     */
20
    String getProcedureSeparator();
21
    /**
22
     * @param lineComment the lineComment to set
23
     */
24
    void setLineComment(String lineComment);
25
    /**
26
     * @return the lineComment
27
     */
28
    String getLineComment();
29
    /**
30
     * @param removeMultiLineComments the removeMultiLineComments to set
31
     */
32
    void setRemoveMultiLineComments(boolean removeMultiLineComments);
33
    /**
34
     * @return the removeMultiLineComments
35
     */
36
    boolean isRemoveMultiLineComments();
37
    /**
38
     * @param installCustomQueryTokenizer the installCustomQueryTokenizer to set
39
     */
40
    void setInstallCustomQueryTokenizer(boolean installCustomQueryTokenizer);
41
    /**
42
     * @return the installCustomQueryTokenizer
43
     */
18
er);
44
    boolean isInstallCustomQueryTokenizer();
19
   void putClientProperty(Object key, Object prop);
45
   
20
   Object getClientProperty(Object key);
21
   boolean isToolWindow();
22
   boolean isClosed();
23
   boolean isIcon(
46
 /**
47
     * Retrieve the client to use. This is only used if <TT>useAnonymousClient</TT>
48
     * is false.
49
     * 
50
     * @return Client name.
51
     */
52
    String getClientName();
53
    
54
    /**
55
     * Set the client name.
56
     * 
57
     * @param value
58
     *            Client name
59
     */
60
    void setClientName(String value);
61
    /**
62
     * Retrieve the client version to use. This is only used if <TT>useAnonymousLogon</TT>
63
     * is false.
64
     * 
65
     * @return Client version.
66
     */
67
    String getClientVersion();
68
    
69
    /**
70
     * Set the client version.
71
     * 
72
     * @param value
73
     *            Client version
74
     */
24
)
75
    void setClientVersion(String value)
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0