CloneSet355


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
49201.000class_body_declarations[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
149240
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/netbeans/NetbeansSQLEntryPanel.java
249207
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/oster/OsterSQLEntryPanel.java
Next
Last
Clone Instance
1
Line Count
49
Source Line
240
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/netbeans/NetbeansSQLEntryPanel.java

/**
 * @see ISQLEntryPanel#getCaretPosition()
 */
public int getCaretPosition() {
  return _textArea.getCaretPosition();
}

public void setCaretPosition(int value) {
  _textArea.setCaretPosition(value);
}

/**
 * @see ISQLEntryPanel#setTabSize(int)
 */
public void setTabSize(int tabSize) {
  _textArea.getDocument().putProperty(PlainDocument.tabSizeAttribute, Integer.valueOf(tabSize));
}

/**
 * @see ISQLEntryPanel#getSelectionStart()
 */
public int getSelectionStart() {
  return _textArea.getSelectionStart();
}

/**
 * @see ISQLEntryPanel#setSelectionStart(int)
 */
public void setSelectionStart(int pos) {
  _textArea.setSelectionStart(pos);
}

/**
 * @see ISQLEntryPanel#getSelectionEnd()
 */
public int getSelectionEnd() {
  return _textArea.getSelectionEnd();
}

/**
 * @see ISQLEntryPanel#setSelectionEnd(int)
 */
public void setSelectionEnd(int pos) {
  _textArea.setSelectionEnd(pos);
}


First
Previous
Clone Instance
2
Line Count
49
Source Line
207
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/oster/OsterSQLEntryPanel.java

/**
 * @see ISQLEntryPanel#getCaretPosition()
 */
public int getCaretPosition() {
  return _textArea.getCaretPosition();
}

public void setCaretPosition(int value) {
  _textArea.setCaretPosition(value);
}

/**
 * @see ISQLEntryPanel#setTabSize(int)
 */
public void setTabSize(int tabSize) {
  _textArea.getDocument().putProperty(PlainDocument.tabSizeAttribute, Integer.valueOf(tabSize));
}

/**
 * @see ISQLEntryPanel#getSelectionStart()
 */
public int getSelectionStart() {
  return _textArea.getSelectionStart();
}

/**
 * @see ISQLEntryPanel#setSelectionStart(int)
 */
public void setSelectionStart(int pos) {
  _textArea.setSelectionStart(pos);
}

/**
 * @see ISQLEntryPanel#getSelectionEnd()
 */
public int getSelectionEnd() {
  return _textArea.getSelectionEnd();
}

/**
 * @see ISQLEntryPanel#setSelectionEnd(int)
 */
public void setSelectionEnd(int pos) {
  _textArea.setSelectionEnd(pos);
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * @see ISQLEntryPanel#getCaretPosition()
         */
public int getCaretPosition() {
  return _textArea.getCaretPosition();
}

public void setCaretPosition(int value) {
  _textArea.setCaretPosition(value);
}

/**
         * @see ISQLEntryPanel#setTabSize(int)
         */
public void setTabSize(int tabSize) {
  _textArea.getDocument().putProperty(PlainDocument.tabSizeAttribute, Integer.valueOf(tabSize));
}

/**
         * @see ISQLEntryPanel#getSelectionStart()
         */
public int getSelectionStart() {
  return _textArea.getSelectionStart();
}

/**
         * @see ISQLEntryPanel#setSelectionStart(int)
         */
public void setSelectionStart(int pos) {
  _textArea.setSelectionStart(pos);
}

/**
         * @see ISQLEntryPanel#getSelectionEnd()
         */
public int getSelectionEnd() {
  return _textArea.getSelectionEnd();
}

/**
         * @see ISQLEntryPanel#setSelectionEnd(int)
         */
public void setSelectionEnd(int pos) {
  _textArea.setSelectionEnd(pos);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None