Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321837

Summary: Export Grid Data
Product: z_Archived Reporter: Wim Jongman <wim.jongman>
Component: NebulaAssignee: Mirko Paturzo <caosmpz>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: caosmpz, sharonbsnyder, tom.schindl, wim.jongman
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Wim Jongman CLA 2010-08-05 05:48:43 EDT
It would be nice if we could export the grid data to a spreadsheet format.
Comment 1 Thomas Schindl CLA 2010-09-18 16:41:30 EDT
You mean something like ODF, OOXML?
Comment 2 Sharon Snyder CLA 2011-12-19 09:59:25 EST
Or CSV even.
Comment 3 Wim Jongman CLA 2011-12-19 12:13:44 EST
(In reply to comment #2)
> Or CSV even.

Yes
Comment 4 Mirko Paturzo CLA 2014-02-11 15:50:56 EST
There are some other specifics for this issue? I would write it as a simple method utils that takes in input a stream and others parameters and loads the entire grid into the stream.. But.. How should it works with the tree?
Comment 5 Wim Jongman CLA 2014-02-12 05:02:23 EST
(In reply to Mirko Paturzo from comment #4)
> There are some other specifics for this issue? I would write it as a simple
> method utils that takes in input a stream and others parameters and loads
> the entire grid into the stream.. But.. How should it works with the tree?

I guess with CVS it is not possible. With XML or JSon you could make structures.
Comment 6 Mirko Paturzo CLA 2014-03-10 08:59:32 EDT
Hi all,
Unfortunately, I can export Grid trees. I do not understand how they actually work the cellviewers.
Exports to GridTableViewer is being tested, but i think isn't enough
Comment 7 Wim Jongman CLA 2014-03-10 09:46:06 EDT
(In reply to Mirko Paturzo from comment #6)
> Hi all,
> Unfortunately, I can export Grid trees. I do not understand how they
> actually work the cellviewers.
> Exports to GridTableViewer is being tested, but i think isn't enough

You mean "can not export the Grid Trees", right?
Comment 8 Mirko Paturzo CLA 2014-03-11 05:47:07 EDT
yes, :( sorry
Comment 9 Mirko Paturzo CLA 2014-03-18 07:14:46 EDT
Hi all,
I have implemented a utils class called GridUtis. 
In this class there is a method called gridToXml.
I have added some functions to already realized Grid snippets.
For Grid Table there is a full support for export, all the items are exported.
For Grid Tree, unfortunately only its visible items are exported.
I hope goes well. Put on gerrit and wait Wim review :)
Mirko
Comment 10 Mirko Paturzo CLA 2014-03-19 03:12:25 EDT
Gerrit review accepted by Wim Jongman and merged in repository.

https://git.eclipse.org/r/#/c/23526/
Comment 11 Wim Jongman CLA 2014-03-19 09:56:57 EDT
(In reply to Mirko Paturzo from comment #10)

We use RESOLVED after the item was fixed.
We use CLOSED for INVALID and WONTFIX and stuff like that.
Comment 12 Mirko Paturzo CLA 2014-03-19 10:02:04 EDT
Ops.. Sorry..
Comment 13 Wim Jongman CLA 2014-03-19 10:28:13 EDT
(In reply to Mirko Paturzo from comment #12)
> Ops.. Sorry..

No problem, you could not know that. It is internal procedure.