/**
* 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;
}
|