Bug 430106 - Data held by GridItem are incoherent

I fixed the bug and I made some tests using snippets. 
I have increased the performance of the Grid, further reducing the size
of the memory and I have extended the concept of virtual data visualizer
also to the trees. 
I ran all the snippets and they worked. 

But there is a problem: i had to change the interface DataVisualizer. Is
a major change, i had to replace the row index parameter with the
reference to GridItem.


Change-Id: I71093eec1d816364f82535fbb78db790fc2f2f1a
Signed-off-by: mpaturzo <caosmpz@yahoo.it>
XViewer: Add support for Long column types
Bug 321837 - Export Grid Data

I have implemented a utils class called GridUtils. 
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.

Change-Id: I6328f827bcc7188cadf697665c077ffb3cce2150
Signed-off-by: mpaturzo <caosmpz@yahoo.it>
Bug 249568 - NullPointerException is occurred when press arrow_left key
on grid.

Simple fix, if column is null, take last focused column first at all.
Added simple hide first column in GridViewerSnippetDisposePerformance,
add my name in copyright on GridViewerSnippetWithGridItemDataVisualizer.

Change-Id: If1269682c14b0087cfb143f3383269f11babcf14
Signed-off-by: mpaturzo <caosmpz@yahoo.it>
Bug 430879 - ArrayIndexOutOfBoundsException in GridItemDataVisualizer

add guard for column < 0 in GridItemDataVisualizer.getValueOrDefault

Change-Id: I12d8912257f2faf1f8ce2a29a949a78ffef51069
Signed-off-by: mpaturzo <caosmpz@yahoo.it>
Bug 421248 - Grid throws "Widget Disposed" when key-navigating after
removing an item

while I was testing, I found other problems as nullpointer,
indexoutofbound, illegal arguments and others. I've updated a snippet
(GridViewerSnippetDisposePerformance) to perform some tests.

Change-Id: I837ba25170e571c1bd209520863c36dda97ce505
Signed-off-by: mpaturzo <caosmpz@yahoo.it>
Bug 387366 - "Widget is disposed" Exception with EditingSupport

GridViewerRow.getRowBelow()
i have added !tmp.isDisposed() && tmp.isVisible() && tmp.getData() !=
null in if clause.
I had to change the visibility of gridItem.isVisible method.

Change-Id: Icce8d1c91031fc5d689ec0c7a1e1bb4807e51011
Signed-off-by: mpaturzo <caosmpz@yahoo.it>
Bug 328058 - Add support for disabling keyboard navigation.

I keep the listener, so it can be removed. 
added a boolean to manage the state (enable/disable) 
Patch suggested by the user was not considered

Change-Id: I56bd1ae3664f7e84c41787c2d5c1c61d51f580cd
Signed-off-by: mpaturzo <caosmpz@yahoo.it>
Bug 328563 - Grid consumes all "arrow" keys

Change Grid.onKeyDown method visibility.
Add example in GridViewerSnippetDisposePerformance

Change-Id: I1baae0ae3bed111f2e327cf01883324f9c8b2c4e
Signed-off-by: mpaturzo <caosmpz@yahoo.it>
Bug 330661 - Add support for VIRTUAL mode

Implementation of virtual mode with ILazyContentProvider

1) Implementation of GridTableViewer methods (the methods were already
marked with a comment) 
2) Construction of a snippet with ILazyContentProvider. 
3) Added method clearall in datavisualizer. 
4) Weight reduction GridItem object.


Change-Id: I71068c7601b19d147d23d4ea98da28494814816c
Signed-off-by: mpaturzo <caosmpz@yahoo.it>
xxx

Change-Id: I19ccfbefb0625ba787c52102e688ec098a55b1ab
Signed-off-by: Wim Jongman <wim.jongman@remainsoftware.com>
Revert "xxx"

This reverts commit 775c6ab4e255e765ccdd63aedb1f97aafe9cc063.
Bug 432085 - [FormattedText] Missing formatter for Short, BigInteger and BigDecimal

Added new classes to allow formatting of number types Short, BigInteger
and BigDecimal. The latter one may be required for database related
applications.

Change-Id: I737e497af067c2538534c97077e6650a548cb85b
Signed-off-by: Mario Hofmann <eclipse@hofmann-coswig.de>
Bug 385300 - to many getItems calls bring performance issues

By avoiding methods getItems and grid.items.indexOf I could achieve a
great performance improvement.

Example GridVirtualTableViewer is modified and draws a grid with a
million rows and thousand columns.

Change-Id: I4f490b83dc7941c58bf49566b861da5fe316b680
Signed-off-by: mpaturzo <caosmpz@yahoo.it>
bug 433331: Add Eclipse-SourceReferences header to bundle manifests 

https://bugs.eclipse.org/bugs/show_bug.cgi?id=433331
bug 433331: Add Eclipse-SourceReferences header to bundle manifests 

Try 2, wrong header.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=433331
bug 433331: Add Eclipse-SourceReferences header to bundle manifests 

Try 3. Format problem.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=433331
bug 433331: Add Eclipse-SourceReferences header to bundle manifests 

Test

https://bugs.eclipse.org/bugs/show_bug.cgi?id=433331

Change-Id: I7b1c9f85870207b271e91ee222a14b8ff736d788
Signed-off-by: Wim Jongman <wim.jongman@remainsoftware.com>
bug 433331: Add Eclipse-SourceReferences header to bundle manifests 

Test

https://bugs.eclipse.org/bugs/show_bug.cgi?id=433331

Change-Id: I7b1c9f85870207b271e91ee222a14b8ff736d788
Signed-off-by: Wim Jongman <wim.jongman@remainsoftware.com>
Bug 428167 - Corrected zoom level width and start calculations

Change-Id: I8ce3d6902df4dde8f77da85dce79741977f351f9
Signed-off-by: Dirk Fauth <dirk.fauth@googlemail.com>