com.google.gwt.user.cellview.client.Column.getDataStoreName()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(7.6k)|赞(0)|评价(0)|浏览(120)

本文整理了Java中com.google.gwt.user.cellview.client.Column.getDataStoreName()方法的一些代码示例,展示了Column.getDataStoreName()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Column.getDataStoreName()方法的具体详情如下:
包路径:com.google.gwt.user.cellview.client.Column
类名称:Column
方法名:getDataStoreName

Column.getDataStoreName介绍

暂无

代码示例

代码示例来源:origin: org.jbpm/jbpm-console-ng-process-runtime-client

private boolean isColumnAdded( List<ColumnMeta<ProcessInstanceSummary>> columnMetas,
                String caption ) {
  if ( caption != null ) {
    for ( ColumnMeta<ProcessInstanceSummary> colMet : columnMetas ) {
      if ( caption.equals( colMet.getColumn().getDataStoreName() ) ) {
        return true;
      }
    }
  }
  return false;
}

代码示例来源:origin: kiegroup/jbpm-wb

protected boolean isColumnAdded(List<ColumnMeta<T>> columnMetas,
                String caption) {
  if (caption != null) {
    for (ColumnMeta<T> colMet : columnMetas) {
      if (caption.equals(colMet.getColumn().getDataStoreName())) {
        return true;
      }
    }
  }
  return false;
}

代码示例来源:origin: org.jbpm/jbpm-wb-human-tasks-client

@Override
public void initColumns(ListTable<TaskSummary> extendedPagedTable) {
  super.initColumns(extendedPagedTable);
  Optional<ColumnMeta<TaskSummary>> errorCountColumn = extendedPagedTable.getColumnMetaList().stream().filter(c -> COLUMN_ERROR_COUNT.equals(c.getColumn().getDataStoreName())).findFirst();
  if (errorCountColumn.isPresent()) {
    extendedPagedTable.setColumnWidth(errorCountColumn.get().getColumn(),
                     ERROR_COLUMN_WIDTH,
                     Style.Unit.PX);
  }
}

代码示例来源:origin: org.uberfire/uberfire-widgets-table

protected String getColumnStoreName(ColumnMeta columnMeta) {
  if (columnMeta != null) {
    if (columnMeta.getColumn() != null) {
      String colStoreName = columnMeta.getColumn().getDataStoreName();
      if (colStoreName != null && !colStoreName.isEmpty()) {
        return colStoreName;
      }
    }
    return columnMeta.getCaption();
  }
  return "";
}

代码示例来源:origin: kiegroup/appformer

protected String getColumnStoreName(ColumnMeta columnMeta) {
  if (columnMeta != null) {
    if (columnMeta.getColumn() != null) {
      String colStoreName = columnMeta.getColumn().getDataStoreName();
      if (colStoreName != null && !colStoreName.isEmpty()) {
        return colStoreName;
      }
    }
    return columnMeta.getCaption();
  }
  return "";
}

代码示例来源:origin: kiegroup/jbpm-wb

@Override
  public Void answer(InvocationOnMock invocationOnMock) throws Throwable {
    final Column column = (Column) invocationOnMock.getArguments()[0];
    assertNotNull(column.getDataStoreName());
    return null;
  }
}).when(pagedTableMock).addColumn(any(Column.class),

代码示例来源:origin: org.jbpm/jbpm-wb-process-runtime-client

@Override
  public Void answer(InvocationOnMock invocationOnMock) throws Throwable {
    final List<ColumnMeta> columns = (List<ColumnMeta>) invocationOnMock.getArguments()[0];
    for (ColumnMeta columnMeta : columns) {
      assertNotNull(columnMeta.getColumn().getDataStoreName());
    }
    return null;
  }
}).when(currentListGrid).addColumns(anyList());

代码示例来源:origin: org.jbpm/jbpm-console-ng-executor-service-client

@Override
  public Void answer( InvocationOnMock invocationOnMock ) throws Throwable {
    final List<ColumnMeta> columns = (List<ColumnMeta>) invocationOnMock.getArguments()[ 0 ];
    for ( ColumnMeta columnMeta : columns ) {
      assertNotNull( columnMeta.getColumn().getDataStoreName() );
    }
    return null;
  }
} ).when( currentListGrid ).addColumns( anyList() );

代码示例来源:origin: org.jbpm/jbpm-console-ng-documents-client

@Override
  public Void answer( InvocationOnMock invocationOnMock ) throws Throwable {
    final List<ColumnMeta> columns = (List<ColumnMeta>) invocationOnMock.getArguments()[ 0 ];
    for ( ColumnMeta columnMeta : columns ) {
      assertNotNull( columnMeta.getColumn().getDataStoreName() );
    }
    return null;
  }
} ).when( currentListGrid ).addColumns(anyList());

代码示例来源:origin: org.jbpm/jbpm-wb-process-runtime-client

@Override
  public Void answer(InvocationOnMock invocationOnMock) throws Throwable {
    final List<ColumnMeta> columns = (List<ColumnMeta>) invocationOnMock.getArguments()[0];
    for (ColumnMeta columnMeta : columns) {
      assertNotNull(columnMeta.getColumn().getDataStoreName());
    }
    return null;
  }
}).when(currentListGrid).addColumns(anyList());

代码示例来源:origin: org.jbpm/jbpm-console-ng-process-runtime-client

@Override
  public Void answer( InvocationOnMock invocationOnMock ) throws Throwable {
    final List<ColumnMeta> columns = (List<ColumnMeta>) invocationOnMock.getArguments()[ 0 ];
    for ( ColumnMeta columnMeta : columns ) {
      assertNotNull( columnMeta.getColumn().getDataStoreName() );
    }
    return null;
  }
} ).when( currentListGrid ).addColumns( anyList() );

代码示例来源:origin: org.jbpm/jbpm-console-ng-process-runtime-client

@Override
  public Void answer( InvocationOnMock invocationOnMock ) throws Throwable {
    final List<ColumnMeta> columns = (List<ColumnMeta>) invocationOnMock.getArguments()[ 0 ];
    for ( ColumnMeta columnMeta : columns ) {
      assertNotNull( columnMeta.getColumn().getDataStoreName() );
    }
    return null;
  }
} ).when( currentListGrid ).addColumns( anyList() );

代码示例来源:origin: org.jbpm/jbpm-wb-common-client

@Override
  public Void answer(InvocationOnMock invocationOnMock) throws Throwable {
    final List<ColumnMeta> columns = (List<ColumnMeta>) invocationOnMock.getArguments()[0];
    for (ColumnMeta columnMeta : columns) {
      assertNotNull(columnMeta.getColumn().getDataStoreName());
    }
    return null;
  }
}).when(currentListGrid).addColumns(anyList());

代码示例来源:origin: org.jbpm/jbpm-console-ng-process-runtime-client

@Override
  public Void answer( InvocationOnMock invocationOnMock ) throws Throwable {
    final List<ColumnMeta> columns = (List<ColumnMeta>) invocationOnMock.getArguments()[ 0 ];
    for ( ColumnMeta columnMeta : columns ) {
      assertNotNull( columnMeta.getColumn().getDataStoreName() );
    }
    return null;
  }
} ).when( currentListGrid ).addColumns( anyList() );

代码示例来源:origin: org.jbpm/jbpm-console-ng-process-runtime-client

@Override
  public Void answer(InvocationOnMock invocationOnMock) throws Throwable {
    final List<ColumnMeta> columns = (List<ColumnMeta>) invocationOnMock.getArguments()[0];
    for (ColumnMeta columnMeta : columns) {
      assertNotNull(columnMeta.getColumn().getDataStoreName());
    }
    return null;
  }
}).when(currentListGrid).addColumns(anyList());

代码示例来源:origin: org.jbpm/jbpm-wb-process-runtime-client

@Override
  public Void answer(InvocationOnMock invocationOnMock) throws Throwable {
    final List<ColumnMeta> columns = (List<ColumnMeta>) invocationOnMock.getArguments()[0];
    for (ColumnMeta columnMeta : columns) {
      assertNotNull(columnMeta.getColumn().getDataStoreName());
    }
    return null;
  }
}).when(currentListGrid).addColumns(anyList());

代码示例来源:origin: org.jbpm/jbpm-console-ng-process-runtime-client

@Override
  public Void answer( InvocationOnMock invocationOnMock ) throws Throwable {
    final List<ColumnMeta> columns = (List<ColumnMeta>) invocationOnMock.getArguments()[ 0 ];
    for ( ColumnMeta columnMeta : columns ) {
      assertNotNull( columnMeta.getColumn().getDataStoreName() );
    }
    return null;
  }
} ).when( currentListGrid ).addColumns( anyList() );

代码示例来源:origin: org.jbpm/jbpm-console-ng-process-runtime-client

@Override
  public Void answer( InvocationOnMock invocationOnMock ) throws Throwable {
    final List<ColumnMeta> columns = (List<ColumnMeta>) invocationOnMock.getArguments()[ 0 ];
    for ( ColumnMeta columnMeta : columns ) {
      assertNotNull( columnMeta.getColumn().getDataStoreName() );
    }
    return null;
  }
} ).when( currentListGrid ).addColumns( anyList() );

代码示例来源:origin: org.jbpm/jbpm-console-ng-process-runtime-client

@Override
  public Void answer( InvocationOnMock invocationOnMock ) throws Throwable {
    final List<ColumnMeta> columns = (List<ColumnMeta>) invocationOnMock.getArguments()[ 0 ];
    for ( ColumnMeta columnMeta : columns ) {
      assertNotNull( columnMeta.getColumn().getDataStoreName() );
    }
    return null;
  }
} ).when( currentListGrid ).addColumns( anyList() );

代码示例来源:origin: kiegroup/jbpm-wb

@Override
  public Void answer(InvocationOnMock invocationOnMock) throws Throwable {
    final List<ColumnMeta> columns = (List<ColumnMeta>) invocationOnMock.getArguments()[0];
    for (ColumnMeta columnMeta : columns) {
      assertNotNull(columnMeta.getColumn().getDataStoreName());
    }
    return null;
  }
}).when(currentListGrid).addColumns(anyList());

相关文章