Package org.eobjects.metamodel.data

Examples of org.eobjects.metamodel.data.DataSet.toTableModel()


    _title = "DataSet: " + _query.toSql();
    _tableModelCallable = new Callable<TableModel>() {
      @Override
      public TableModel call() throws Exception {
        DataSet dataSet = dataContext.executeQuery(_query);
        return dataSet.toTableModel();
      }
    };
    _previousPageButton = WidgetFactory.createButton("Previous page", "images/actions/back.png");
    _previousPageButton.setEnabled(false);
    _nextPageButton = WidgetFactory.createButton("Next page", "images/actions/forward.png");
View Full Code Here


      @Override
      protected void done() {
        try {
          DataSet dataSet = get();
          if (dataSet != null) {
            _previewTable.setModel(dataSet.toTableModel());
          }
        } catch (Throwable e) {
          if (e instanceof ExecutionException) {
            // get the cause of the execution exception (it's a
            // wrapper around the throwable)
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.