/** * @see BaseObjectPanelTab#clear() */ public void clear() { ((DataSetScrollingPanel)getComponent()).clear(); }
public void run() { try { ((DataSetScrollingPanel) getComponent()).load(createDataSet(), new DefaultDataModelImplementationDetails(session)); } catch (DataSetException e) { s_log.error("", e); } } });
public Component getComponent() { if (_comp == null) { ISession session = getSession(); SessionProperties props = session.getProperties(); String destClassName = props.getMetaDataOutputClassName(); try { _comp = new DataSetScrollingPanel(destClassName, null); } catch (Exception e) { s_log.error("Unexpected exception from call to getComponent: "+ e.getMessage(), e); } } return _comp; }
public void run() { try { ((DataSetScrollingPanel) getComponent()).load(createDataSet(), new DefaultDataModelImplementationDetails(session)); } catch (DataSetException e) { s_log.error("", e); } } });
_comp = new DataSetScrollingPanel(getDestinationClassName(), modelReference, new DefaultDataModelImplementationDetails(getSession()));
try _comp.load(createDataSetFromResultSet(rs));
public Component getComponent() { if (_comp == null) { ISession session = getSession(); SessionProperties props = session.getProperties(); String destClassName = props.getMetaDataOutputClassName(); try { _comp = new DataSetScrollingPanel(destClassName, null, new DefaultDataModelImplementationDetails(session)); } catch (Exception e) { s_log.error("Unexpected exception from call to getComponent: " + e.getMessage(), e); } } return _comp; }
/** * @see BaseObjectPanelTab#clear() */ public void clear() { ((DataSetScrollingPanel)getComponent()).clear(); }
protected void refreshComponent() throws DataSetException { ISession session = getSession(); if (session == null) { throw new IllegalStateException("Null ISession"); } PreparedStatement pstmt = null; ResultSet rs = null; try { pstmt = createStatement(); rs = pstmt.executeQuery(); final IDataSet ds = createDataSetFromResultSet(rs); _comp.load(ds, new DefaultDataModelImplementationDetails(session)); } catch (SQLException ex) { throw new DataSetException(ex); } finally { SQLUtilities.closeResultSet(rs, true); } }
_comp = new DataSetScrollingPanel(getDestinationClassName(), modelReference, new DefaultDataModelImplementationDetails(getSession()));
protected void refreshComponent() throws DataSetException { ISession session = getSession(); if (session == null) { throw new IllegalStateException("Null ISession"); } PreparedStatement pstmt = null; ResultSet rs = null; try { pstmt = createStatement(); rs = pstmt.executeQuery(); final IDataSet ds = createDataSetFromResultSet(rs); _comp.load(ds, new DefaultDataModelImplementationDetails(session)); } catch (SQLException ex) { throw new DataSetException(ex); } finally { SQLUtilities.closeResultSet(rs, true); } }
public Component getComponent() { if (_comp == null) { ISession session = getSession(); SessionProperties props = session.getProperties(); String destClassName = props.getMetaDataOutputClassName(); try { _comp = new DataSetScrollingPanel(destClassName, null, new DefaultDataModelImplementationDetails(session)); } catch (Exception e) { s_log.error("Unexpected exception from call to getComponent: " + e.getMessage(), e); } } return _comp; }