}
}
}
if (evt.getSource() instanceof GfrMimTrsAlrExpObj)
{
GfrMimTrsAlrExpObj mim = (GfrMimTrsAlrExpObj) evt.getSource();
JFrame frmOwner = GfrFrmAbs.s_getFrameOwner(mim);
String strValueKindObject = mim.getPropertyImmutable(
GfrEnuApplicationPropertiesImmutableKeys.KEY_KIND_OBJECT.name());
String strValueKindFileFormat = mim.getPropertyImmutable(
GfrEnuApplicationPropertiesImmutableKeys.KEY_KIND_FILE_FORMAT.name());
//--
if (strValueKindObject == null || strValueKindObject.length() < 1)
return false;
if (strValueKindFileFormat == null || strValueKindFileFormat.length() < 1)
return false;
if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PLC.name()) == 0)
{
if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_CSV.name()) == 0)
{
String strIdSource = mim.getIdSource();
_exportToCsvPlc_(frmOwner, strIdSource);
return true;
}
if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_EXCEL.name()) == 0)
{
String strIdSource = mim.getIdSource();
_exportToExcPlc_(frmOwner, strIdSource);
return true;
}
}
if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PNT.name()) == 0)
{
if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_CSV.name()) == 0)
{
String strIdSource = mim.getIdSource();
_exportToCsvPnt_(frmOwner, strIdSource);
return true;
}
if (strValueKindFileFormat.compareTo(GfrEnuValuesKindFileFormat.VALUE_EXCEL.name()) == 0)
{
String strIdSource = mim.getIdSource();
_exportToExcPnt_(frmOwner, strIdSource);
return true;
}
}
if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SCT.name()) == 0)