if (show)
{
if (!isVisible())
{
ContentsTab tab =
(ContentsTab)_objectTree.getTabbedPaneIfSelected(
_objectInfo.getDatabaseObjectType(),
ContentsTab.getContentsTabTitle());
if (tab == null)
{
reallyShow = false;
// i18n[SQLFilterSheet.contentsMsg=You must have the Contents Tab selected to activate the SQL Filter]
String msg =
s_stringMgr.getString("SQLFilterSheet.contentsMsg");
_objectTree.getSession().showMessage(msg);
}
else
{
final boolean isDebug = s_log.isDebugEnabled();
long start = 0;
for (Iterator<ISQLFilterPanel> it = _panels.iterator(); it.hasNext();)
{
ISQLFilterPanel pnl = it.next();
if (isDebug)
{
start = System.currentTimeMillis();
}
pnl.initialize(tab.getSQLFilterClauses());
if (isDebug)
{
s_log.debug("Panel " + pnl.getTitle()
+ " initialized in "
+ (System.currentTimeMillis() - start) + "ms");