_sqlFetchSizeChk.setSelected(props.getSQLUseFetchSize());
_sqlFetchSizeField.setInt(props.getSQLFetchSize());
if(null != _session)
{
IQueryTokenizer queryTokenizer = _session.getQueryTokenizer();
TokenizerSessPropsInteractions qtp = queryTokenizer.getTokenizerSessPropsInteractions();
if(qtp.isTokenizerDefinesStatementSeparator())
{
_stmtSepField.setText(queryTokenizer.getSQLStatementSeparator());
_stmtSepField.setEditable(false);
}
else
{
_stmtSepField.setText(props.getSQLStatementSeparator());
_stmtSepField.setEditable(true);
}
if (qtp.isTokenizerDefinesStartOfLineComment())
{
_solCommentField.setText(queryTokenizer.getLineCommentBegin());
_solCommentField.setEditable(false);
}
else
{
_solCommentField.setText(props.getStartOfLineComment());
_solCommentField.setEditable(true);
}
if (qtp.isTokenizerDefinesStatementSeparator())
{
_removeMultiLineComment.setSelected(queryTokenizer.isRemoveMultiLineComment());
_removeMultiLineComment.setEnabled(false);
}
else
{
_removeMultiLineComment.setSelected(props.getRemoveMultiLineComment());