CloneSet791


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
24201.000class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119116
E:/TSE/Projects-CloneDR/sql12/plugins/db2/src/net/sourceforge/squirrel_sql/plugins/db2/types/DB2XmlTypeDataTypeComponent.java
224122
E:/TSE/Projects-CloneDR/sql12/plugins/postgres/src/net/sourceforge/squirrel_sql/plugins/postgres/types/PostgreSqlOtherTypeDataTypeComponent.java
Next
Last
Clone Instance
1
Line Count
19
Source Line
116
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/db2/src/net/sourceforge/squirrel_sql/plugins/db2/types/DB2XmlTypeDataTypeComponent.java

/**
 * This Data Type can be edited in a table cell as long as there are no
 * issues displaying the data.
 * 
 * @see net.sourceforge.squirrel_sql.fw.datasetviewer.cellcomponent.IDataTypeComponent#isEditableInCell(java.lang.Object)
 */
public boolean isEditableInCell(Object originalValue) {
  return !i18n.CELL_ERROR_MSG.equals(originalValue);
}

/**
 * This Data Type can be edited in a popup as long as there are no issues
 * using displaying the data.
 * 
 * @see net.sourceforge.squirrel_sql.fw.datasetviewer.cellcomponent.IDataTypeComponent#isEditableInPopup(java.lang.Object)
 */
public boolean isEditableInPopup(Object originalValue) {
  return !i18n.CELL_ERROR_MSG.equals(originalValue);
}

/**
 * @see net.sourceforge.squirrel_sql.fw.datasetviewer.cellcomponent.IDataTypeComponent#needToReRead(java.lang.Object)
 */
public boolean needToReRead(Object originalValue) {
  return false;
}


First
Previous
Clone Instance
2
Line Count
24
Source Line
122
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/postgres/src/net/sourceforge/squirrel_sql/plugins/postgres/types/PostgreSqlOtherTypeDataTypeComponent.java

/**
 * This Data Type can be edited in a table cell as long as there are no issues displaying the data. If we
 * detect our error message in the cell, then we should prevent the user from editing the cell (our error
 * message is not meant to be valid XML data; further, we don't want to let the user whack their data with
 * our tool accidentally)
 * 
 * @see net.sourceforge.squirrel_sql.fw.datasetviewer.cellcomponent.IDataTypeComponent#isEditableInCell(java.lang.Object)
 */
public boolean isEditableInCell(Object originalValue) {
  return !i18n.CELL_ERROR_MSG.equals(originalValue);
}

/**
 * This Data Type can be edited in a popup as long as there are no issues displaying the data. If we
 * detect our error message in the cell, then we should prevent the user from editing the cell (our error
 * message is not meant to be valid XML data; further, we don't want to let the user whack their data with
 * our tool accidentally)
 * 
 * @see net.sourceforge.squirrel_sql.fw.datasetviewer.cellcomponent.IDataTypeComponent#isEditableInPopup(java.lang.Object)
 */
public boolean isEditableInPopup(Object originalValue) {
  return !i18n.CELL_ERROR_MSG.equals(originalValue);
}

/**
 * @see net.sourceforge.squirrel_sql.fw.datasetviewer.cellcomponent.IDataTypeComponent#needToReRead(java.lang.Object)
 */
public boolean needToReRead(Object originalValue) {
  return false;
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * This Data Type can be edited in a table cell as long as there are no issues displaying the data. If we
         * detect our error message in the cell, then we should prevent the user from editing the cell (our error
         * message is not meant to be valid XML data; further, we don't want to let the user whack their data with
         * our tool accidentally)
         * 
         * @see net.sourceforge.squirrel_sql.fw.datasetviewer.cellcomponent.IDataTypeComponent#isEditableInCell(java.lang.Object)
         */
/**
         * This Data Type can be edited in a table cell as long as there are no
         * issues displaying the data.
         * 
         * @see net.sourceforge.squirrel_sql.fw.datasetviewer.cellcomponent.IDataTypeComponent#isEditableInCell(java.lang.Object)
         */
public boolean isEditableInCell(Object originalValue) {
  return !i18n.CELL_ERROR_MSG.equals(originalValue);
}

/**
         * This Data Type can be edited in a popup as long as there are no issues displaying the data. If we
         * detect our error message in the cell, then we should prevent the user from editing the cell (our error
         * message is not meant to be valid XML data; further, we don't want to let the user whack their data with
         * our tool accidentally)
         * 
         * @see net.sourceforge.squirrel_sql.fw.datasetviewer.cellcomponent.IDataTypeComponent#isEditableInPopup(java.lang.Object)
         */
/**
         * This Data Type can be edited in a popup as long as there are no issues
         * using displaying the data.
         * 
         * @see net.sourceforge.squirrel_sql.fw.datasetviewer.cellcomponent.IDataTypeComponent#isEditableInPopup(java.lang.Object)
         */
public boolean isEditableInPopup(Object originalValue) {
  return !i18n.CELL_ERROR_MSG.equals(originalValue);
}

/**
         * @see net.sourceforge.squirrel_sql.fw.datasetviewer.cellcomponent.IDataTypeComponent#needToReRead(java.lang.Object)
         */
public boolean needToReRead(Object originalValue) {
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None