gwtproject.org Images not displaying

2015-08-07 Thread Stefan Falk
For some reason the images on this article [1] are not displayed but 
instead their relative location is written e.g. 
"![screenshot](../images/contact-list-view.png)". Any chance that somebody 
could fix this? Didn't check if other articles/pages are affected.

[1] http://www.gwtproject.org/articles/mvp-architecture.html

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Pressing the enter key in the SuggestBox popup fire onKeyUp event! How to disable this?

2015-08-07 Thread mohammed rizwan

>
> As @Stole mentioned, use isSuggestionListShowing() of the SuggestBox in 
> KeyDownHandler instead of KeyUpHandler and move your existing from KeyUp to 
> KeyDowm. Because onSelection will trigger before onKeyUp but after 
> onKeyDown 
>
mySuggestBoxObject.addKeyDownHandler(new KeyDownHandler() {
@Override
public void onKeyDown(KeyDownEvent event) {
int key = event.getNativeEvent().getKeyCode();
if (mySuggestBoxObject.isSuggestionListShowing() && key == 
KeyCodes.KEY_ENTER) {
event.getNativeEvent().preventDefault();
}
}
}); 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Editable CellTree withSuggestBox

2015-08-07 Thread Swapnil Gulhane
I am trying to write Celltree with below requirement.
1) Populate tree based user definded class/datastructure. 
2) User will able to edit leaf node. While editing he will get list of 
available values(SuggestBox). Leaf lavel is composite cell having images 
and InputTextCell.
3) User will click save button. It will create class object again created 
with updated data from tree. 

I am able to implement first 2 steps. but I am not able to get the updated 
data from tree. I created data provider structure similar to class. When I 
click save I get old values only.
Kindly suggest the changes which I need to do. Please find the aatched code.


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
package com.smg.gwt.selection.client;



/*
 * Copyright 2010 Google Inc.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
import com.google.gwt.cell.client.AbstractCell;
import com.google.gwt.cell.client.AbstractInputCell;
import com.google.gwt.cell.client.Cell;
import com.google.gwt.cell.client.CompositeCell;
import com.google.gwt.cell.client.EditTextCell;
import com.google.gwt.cell.client.FieldUpdater;
import com.google.gwt.cell.client.HasCell;
import com.google.gwt.cell.client.IconCellDecorator;
import com.google.gwt.cell.client.ImageCell;
import com.google.gwt.cell.client.TextButtonCell;
import com.google.gwt.cell.client.TextCell;
import com.google.gwt.cell.client.Cell.Context;
import com.google.gwt.cell.client.TextInputCell;
import com.google.gwt.cell.client.ValueUpdater;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.BrowserEvents;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.InputElement;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.dom.client.TableCellElement;
import com.google.gwt.dom.client.TableElement;
import com.google.gwt.dom.client.TableRowElement;
import com.google.gwt.resources.client.ClientBundle;
import com.google.gwt.resources.client.ImageResource;
import com.google.gwt.safecss.shared.SafeStyles;
import com.google.gwt.safehtml.client.SafeHtmlTemplates;
import com.google.gwt.safehtml.shared.SafeHtml;
import com.google.gwt.safehtml.shared.SafeHtmlBuilder;
import com.google.gwt.user.cellview.client.CellTree;
import com.google.gwt.user.cellview.client.HasKeyboardSelectionPolicy.KeyboardSelectionPolicy;
import com.google.gwt.user.cellview.client.TreeNode;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Event;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.AbstractImagePrototype;
import com.google.gwt.user.client.ui.MultiWordSuggestOracle;
import com.google.gwt.user.client.ui.RootLayoutPanel;
import com.google.gwt.user.client.ui.SuggestBox;
import com.google.gwt.user.client.ui.SuggestOracle;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.TreeItem;
import com.google.gwt.view.client.DefaultSelectionEventManager;
import com.google.gwt.view.client.ListDataProvider;
import com.google.gwt.view.client.ProvidesKey;
import com.google.gwt.view.client.SelectionModel;
import com.google.gwt.view.client.SingleSelectionModel;
import com.google.gwt.view.client.TreeViewModel;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.logging.Level;

import com.smg.gwt.selection.shared.GeoMCIBodyDetails;
import com.smg.gwt.selection.shared.GeometricItemDetails;
import com.smg.gwt.selection.shared.MCIBodyDetails;
import com.smg.gwt.selection.shared.NGDDetails;
import com.smg.gwt.selection.shared.NoteSurfDetails;

 
  /**
   * The model that defines the nodes in the tree.
   */
  public class NoteSurfTreeControl implements TreeViewModel {
/**
 * This selection model is shared across all leaf nodes. A selection model
 * can also be shared across all nodes in the tree, or each set of child
 * nodes can have its own instance. This gives you flexibility to determine
 * how nodes are selected.
 */
	  

Datagrid remove selection

2015-08-07 Thread Marlon Maxwel
I need a method to deselect all items of my grade.

I've tried using .clear () of SelectionModel and fails.

Someone help me?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Download link for GWT 2.8 SNAPSHOT SDK?

2015-08-07 Thread Thomas Broyer
Downloading 2 (or up to 5 JARs I suppose) is probably easier and faster than 
building it, but YMMV.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.