git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/widgets/pickitem-widget@128440 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ccb4be67aa
commit
c7c24ed7ab
|
@ -13,7 +13,11 @@
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry including="**/*.java" kind="src" output="target/test-classes" path="src/test/resources"/>
|
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
<classpathentry kind="con" path="com.google.gwt.eclipse.core.GWT_CONTAINER"/>
|
<classpathentry kind="con" path="com.google.gwt.eclipse.core.GWT_CONTAINER"/>
|
||||||
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER">
|
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER">
|
||||||
<attributes>
|
<attributes>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
|
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
|
||||||
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
||||||
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/test/resources"/>
|
||||||
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
|
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
|
||||||
<property name="context-root" value="pickitem-widget"/>
|
<property name="context-root" value="pickitem-widget"/>
|
||||||
</wb-module>
|
</wb-module>
|
||||||
|
|
|
@ -156,6 +156,7 @@ public class PickItemsDialog extends PopupPanel {
|
||||||
*/
|
*/
|
||||||
public void onKeyPress(int cursorPos, int keyCode, int x, int y, String currText) {
|
public void onKeyPress(int cursorPos, int keyCode, int x, int y, String currText) {
|
||||||
char ch = (char) keyCode;
|
char ch = (char) keyCode;
|
||||||
|
GWT.log("char = " +ch);
|
||||||
if (ch == triggerChar) {
|
if (ch == triggerChar) {
|
||||||
setPopupPosition(x, y);
|
setPopupPosition(x, y);
|
||||||
hide();
|
hide();
|
||||||
|
|
Loading…
Reference in New Issue