public void setOpposingType(DataStructureType type) {
if (sourceTarget == SourceTarget.Source) {
// The Update Source Table feature is available only if the target is flat.
// This excludes all other structure types than Text and DB (they can be
// either flat or hierarchical).
ThreeValuedBool updateSourceAvailable = (type == DataStructureType.Text) || (type == DataStructureType.Database) ?
ThreeValuedBool.MAYBE : ThreeValuedBool.FALSE;
pages.setUpdateSourceTableAvailable(updateSourceAvailable);
}
}