set icon in get info

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@71774 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2013-03-26 10:51:44 +00:00
parent 1efcd00cd8
commit d1c7b8d93e
1 changed files with 3 additions and 2 deletions

View File

@ -55,7 +55,8 @@ import com.google.gwt.user.client.ui.AbstractImagePrototype;
*/
public class AsyncTreePanel extends LayoutContainer {
// private TreeLoader<FileModel> loader;
private static final String TREE_MESSAGE_PANEL_ASYNC = "treeMessagePanelAsync";
// private TreeLoader<FileModel> loader;
private TreePanel<FileModel> treePanel;
private TreeStore<FileModel> store;
private ContextMenuTree contextMenuTree;
@ -128,7 +129,7 @@ public class AsyncTreePanel extends LayoutContainer {
treePanel.setDisplayProperty(ConstantsExplorer.NAME);
// statefull components need a defined id
treePanel.setId("treeMessagePanelAsync");
treePanel.setId(TREE_MESSAGE_PANEL_ASYNC);
// SET icons in tree panel
treePanel.setIconProvider(new ModelIconProvider<FileModel>() {