/** * Rebuild the tab. This usually means that some kind of configuration * data has changed (I.E. the output type has changed from text to table). */ public void rebuild() { super.rebuild(); _comp = null; }
/** * This tab has been selected. This will call <TT>refreshComponent()</TT> * only if it hasn't been called for the current MTT>IDatabaseObjectInfo</TT> object. * * @throws IllegalStateException * Thrown if a <TT>null</TT> <TT>ISession</TT> or * <TT>IDatabaseObjectInfo</TT> object is stored here. */ public synchronized void select() { if (!_hasBeenDisplayed) { s_log.debug("Refreshing " + getTitle() + " table tab."); try { clear(); refreshComponent(); } catch (Throwable th) { th.printStackTrace(); if (s_log.isDebugEnabled()) { s_log.debug("Unexpected exception: "+th.getMessage(), th); } getSession().showErrorMessage(th); } _hasBeenDisplayed = true; } }
/** * Returns the DialectType of the current session. * * @return DialectType of the current session. */ public DialectType getDialectType() { return DialectFactory.getDialectType(getSession().getMetaData()); }
/** * This tab has been selected. This will call <TT>refreshComponent()</TT> * only if it hasn't been called for the current MTT>IDatabaseObjectInfo</TT> object. * * @throws IllegalStateException * Thrown if a <TT>null</TT> <TT>ISession</TT> or * <TT>IDatabaseObjectInfo</TT> object is stored here. */ public synchronized void select() { if (!_hasBeenDisplayed) { s_log.debug("Refreshing " + getTitle() + " table tab."); try { clear(); refreshComponent(); } catch (Throwable th) { th.printStackTrace(); if (s_log.isDebugEnabled()) { s_log.debug("Unexpected exception: "+th.getMessage(), th); } getSession().showErrorMessage(th); } _hasBeenDisplayed = true; } }
/** * Returns the DialectType of the current session. * * @return DialectType of the current session. */ public DialectType getDialectType() { return DialectFactory.getDialectType(getSession().getMetaData()); }
/** * Rebuild the tab. This usually means that some kind of configuration * data has changed (I.E. the output type has changed from text to table). */ public void rebuild() { super.rebuild(); _comp = null; }