From b3f24dc2974bc4775c8e1672482604a19d845164 Mon Sep 17 00:00:00 2001 From: Yuriy Artamonov Date: Tue, 12 Mar 2013 13:01:02 +0000 Subject: [PATCH] GroupTable Component #PL-1903 --- build.gradle | 4 +- .../cuba/web/toolkit/ui/WidgetSet.gwt.xml | 2 +- .../cuba/web/toolkit/ui/client/Tools.java | 148 ++++++ .../web/toolkit/ui/client/sys/ToolsImpl.java | 174 +++++++ .../client/table/CubaGroupTableConnector.java | 42 ++ .../ui/client/table/CubaGroupTableWidget.java | 468 ++++++++++++++++++ .../web/gui/components/WebGroupTable.java | 76 ++- .../web/toolkit/data/GroupTableContainer.java | 11 +- .../cuba/web/toolkit/ui/CubaGroupTable.java | 324 +++++++++++- 9 files changed, 1192 insertions(+), 57 deletions(-) create mode 100644 modules/web-toolkit/src/com/haulmont/cuba/web/toolkit/ui/client/Tools.java create mode 100644 modules/web-toolkit/src/com/haulmont/cuba/web/toolkit/ui/client/sys/ToolsImpl.java create mode 100644 modules/web-toolkit/src/com/haulmont/cuba/web/toolkit/ui/client/table/CubaGroupTableConnector.java create mode 100644 modules/web-toolkit/src/com/haulmont/cuba/web/toolkit/ui/client/table/CubaGroupTableWidget.java diff --git a/build.gradle b/build.gradle index 15f7927947..da360f496e 100644 --- a/build.gradle +++ b/build.gradle @@ -62,7 +62,7 @@ def desktopModule = project(':cuba-desktop') def uiTestModule = project(':cuba-test-ui') def portalModule = project(':cuba-portal') -def vaadinVersion = '7.0.1.h.M1' +def vaadinVersion = '7.0.2.h.M1' def servletApi = [group: 'org.apache.tomcat', name: 'servlet-api', version: '6.0.20'] def groovyArtifact = [group: 'org.codehaus.groovy', name: 'groovy', version: '1.7.10'] @@ -349,7 +349,7 @@ configure(webToolkitModule) { dependencyModules = [webModule] widgetSetClass = 'com.haulmont.cuba.web.toolkit.ui.WidgetSet' //jvmArgs('-Xdebug', '-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000') - compilerArgs = ['-style' : 'PRETTY', '-logLevel' : 'INFO', '-localWorkers' : '2'] + compilerArgs = ['-style' : 'DETAILED', '-logLevel' : 'INFO', '-localWorkers' : '2', '-draftCompile' : 'true'] } task webArchive(dependsOn: buildWidgetSet, type: Zip) { diff --git a/modules/web-toolkit/src/com/haulmont/cuba/web/toolkit/ui/WidgetSet.gwt.xml b/modules/web-toolkit/src/com/haulmont/cuba/web/toolkit/ui/WidgetSet.gwt.xml index b6dbf54970..3f54e37d01 100644 --- a/modules/web-toolkit/src/com/haulmont/cuba/web/toolkit/ui/WidgetSet.gwt.xml +++ b/modules/web-toolkit/src/com/haulmont/cuba/web/toolkit/ui/WidgetSet.gwt.xml @@ -28,7 +28,7 @@ webkit based browsers including Google Chrome. --> - +