Thanks for your response.Sorry I was not clear as this was my initial post.

*Requirement:*

There will be list of Server which will form the root nodes of the CellTree.

Its child node will be list of Processes that is running on the Server.

Eg Tree:

Server1 

  ----Process1

   ---Process2

When we move the Mouse over the Server node then we should display a toggle 
button (Start All/ Stop All) according to the status of child processes. 

 

When we move the Mouse over the Process node then we should display a 
toggle button (Start/Stop) according to the status of the Process.

So is this achievable with CellTree if so can you give me some examples?

Or should I be using Tree Class where the TreeItem object directly supports 
the MouseOverEvent and MouseOutEvent instead of CellTree class?

Thanks in advance for your response.

On Thursday, 20 February 2014 06:02:55 UTC-5, Thomas Broyer wrote:
>
> If by "button" you mean the open/close image, then you should be able to 
> do it by just tweaking the CSS:
>
> interface MyCellTreeResources extends CellTree.Resources {
>   @Source({ CellTree.Style.DEFAULT_CSS, "mytweaks.css" })
>   MyCellTreeStyle cellTreeStyle();
> }
>
> interface MyCellTreeStyle extends CellTree.Style {
> }
>
> // mytweaks.css
> .cellTreeItem .cellTreeImage { visibiility: hidden; }
> .cellTreeItem:hover .cellTreeImage { visibility: visible; }
>
> new CellTree(viewModel, rootValue, GWT.create(MyCellTreeResources.class));
>
> On Thursday, February 20, 2014 4:09:05 AM UTC+1, Smiley wrote:
>>
>> Hi,
>>
>>
>> I want to show the button on the MouseOverEvent of a node or cell in 
>> CellTree.
>> Can someone give my some examples on how this can be achieved?
>>
>> Should i change my implementation from CellTree to Tree to achieve the 
>> same?
>>
>> Do let me know your inputs on this.
>>
>> Thanks
>>
>

-- 
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/groups/opt_out.

Reply via email to