Replace server-side dnd validation with client-side validation: (#368)
* Replace server-side dnd validation with client-side validation: Client-side validation means: * Custom widgetset is used to introduce the client-side validation * Accept-calculation is performed on client-side * Drop-hints are calculated on client-side (show/hide) * Row count decoration is calculated on client-side (multi-selection) * Notification box is triggered from client-side Beside the migration from server-side validation to client-side validation there are few improvements: * Improvement1: If drag is aborted outside the components by releasing the mouse or the drag aborts by pressing the ESC key) -> drop area hints are removed * Improvement2: If multiple rows are selected in table, but drag is performed on a non-selected single element from table -> the single drag-element is not decorated with the row selection count * Improvement3: Upload View: Component 'Drop files to upload' only accepts files (and no drags from filter and software module component) Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com> * Improve code quality Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com> * Fix formatting of license headers Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com> * Fix scopes and modifiers Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com> * Externalize key-strings used for dnd-data transfer from server to client Minor issues: * improve naming schema of control variables (no more i-s) * add final modifier Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com> * Add license header Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com>
This commit is contained in:
committed by
Kai Zimmermann
parent
8e7943dc4f
commit
11fa4469dd
7
pom.xml
7
pom.xml
@@ -137,6 +137,7 @@
|
||||
<allure.version>1.4.22</allure.version>
|
||||
<eclipselink.version>2.6.4</eclipselink.version>
|
||||
<org.powermock.version>1.6.5</org.powermock.version>
|
||||
<gwtmockito.version>1.1.6</gwtmockito.version>
|
||||
<pl.pragmatists.version>1.0.2</pl.pragmatists.version>
|
||||
<guava.version>19.0</guava.version>
|
||||
<mariadb-java-client.version>1.5.3</mariadb-java-client.version>
|
||||
@@ -707,6 +708,12 @@
|
||||
<version>${org.powermock.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.gwt.gwtmockito</groupId>
|
||||
<artifactId>gwtmockito</artifactId>
|
||||
<version>${gwtmockito.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mariadb.jdbc</groupId>
|
||||
<artifactId>mariadb-java-client</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user