Minor update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-wizard-widget@101724 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
665ad06296
commit
1d67dcc04a
11
pom.xml
11
pom.xml
|
@ -47,6 +47,11 @@
|
||||||
|
|
||||||
<!-- Convenience property to set the GWT version -->
|
<!-- Convenience property to set the GWT version -->
|
||||||
<gwtVersion>2.5.1</gwtVersion>
|
<gwtVersion>2.5.1</gwtVersion>
|
||||||
|
<gwtLogVersion>3.2.1</gwtLogVersion>
|
||||||
|
<gxtVersion>3.0.1</gxtVersion>
|
||||||
|
<!-- <gwtVersion>2.6.1</gwtVersion>
|
||||||
|
<gwtLogVersion>3.3.2</gwtLogVersion>
|
||||||
|
<gxtVersion>3.1.1</gxtVersion> -->
|
||||||
|
|
||||||
<KEYS>${env.KEYS}</KEYS>
|
<KEYS>${env.KEYS}</KEYS>
|
||||||
|
|
||||||
|
@ -78,10 +83,12 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.google.gwt</groupId>
|
<groupId>com.google.gwt</groupId>
|
||||||
<artifactId>gwt-servlet</artifactId>
|
<artifactId>gwt-servlet</artifactId>
|
||||||
|
<version>${gwtVersion}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.google.gwt</groupId>
|
<groupId>com.google.gwt</groupId>
|
||||||
<artifactId>gwt-user</artifactId>
|
<artifactId>gwt-user</artifactId>
|
||||||
|
<version>${gwtVersion}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -101,7 +108,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.sencha.gxt</groupId>
|
<groupId>com.sencha.gxt</groupId>
|
||||||
<artifactId>gxt</artifactId>
|
<artifactId>gxt</artifactId>
|
||||||
<version>3.0.1</version>
|
<version>${gxtVersion}</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
@ -117,7 +124,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.allen-sauer.gwt.log</groupId>
|
<groupId>com.allen-sauer.gwt.log</groupId>
|
||||||
<artifactId>gwt-log</artifactId>
|
<artifactId>gwt-log</artifactId>
|
||||||
<version>3.2.1</version>
|
<version>${gwtLogVersion}</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@ import com.google.gwt.core.client.Callback;
|
||||||
import com.google.gwt.event.dom.client.KeyCodes;
|
import com.google.gwt.event.dom.client.KeyCodes;
|
||||||
import com.google.gwt.user.client.Command;
|
import com.google.gwt.user.client.Command;
|
||||||
import com.google.gwt.user.client.Element;
|
import com.google.gwt.user.client.Element;
|
||||||
|
|
||||||
import com.google.gwt.user.client.Event;
|
import com.google.gwt.user.client.Event;
|
||||||
import com.google.gwt.user.client.ui.Widget;
|
import com.google.gwt.user.client.ui.Widget;
|
||||||
import com.google.web.bindery.event.shared.EventBus;
|
import com.google.web.bindery.event.shared.EventBus;
|
||||||
|
@ -108,7 +109,7 @@ public class WizardWindow extends Window {
|
||||||
|
|
||||||
cardMoveToolBar = new ToolBar();
|
cardMoveToolBar = new ToolBar();
|
||||||
cardMoveToolBar.setSpacing(2);
|
cardMoveToolBar.setSpacing(2);
|
||||||
cardMoveToolBar.addStyleName(ThemeStyles.getStyle().borderTop());
|
cardMoveToolBar.addStyleName(ThemeStyles.get().style().borderTop());
|
||||||
|
|
||||||
backButton = new TextButton(BUTTONBACKLABEL);
|
backButton = new TextButton(BUTTONBACKLABEL);
|
||||||
backButton.setIcon(ResourceBundle.INSTANCE.wizardPrevious());
|
backButton.setIcon(ResourceBundle.INSTANCE.wizardPrevious());
|
||||||
|
@ -181,6 +182,8 @@ public class WizardWindow extends Window {
|
||||||
protected void onKeyPress(Event we) {
|
protected void onKeyPress(Event we) {
|
||||||
int keyCode = we.getKeyCode();
|
int keyCode = we.getKeyCode();
|
||||||
|
|
||||||
|
|
||||||
|
//Use Element: import com.google.gwt.dom.client.Element;
|
||||||
boolean t = getElement().isOrHasChild(
|
boolean t = getElement().isOrHasChild(
|
||||||
we.getEventTarget().<Element> cast());
|
we.getEventTarget().<Element> cast());
|
||||||
boolean key = true;
|
boolean key = true;
|
||||||
|
|
Loading…
Reference in New Issue