Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [nebula-dev] Grid - OpenOffice Base key in style.

Hi,

Chris is right all this is supported by the new JFace-API. Tabing is supported with the new ColumnViewerEditor (TableViewerEditor/TreeViewerEditor). The snippets you are interested in are:
-http://wiki.eclipse.org/index.php/JFaceSnippets#Snippet036FocusBorderCellHighlighter
-http://wiki.eclipse.org/index.php/JFaceSnippets#Snippet035TableCursorCellHighlighter
-http://wiki.eclipse.org/index.php/JFaceSnippets#Snippet026TreeViewerTabEditing

Activation of cells on any keypress is also done with this API. Maybe we get a snippet but I think you could filter out the important informations from this recent newsgroup thread http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/msg24060.html.

And because this is all JFace all controls providing a Viewer ontop of it (like e.g. Nebula-Grid does) get these things for free :-). So you have the choice use TableViewer or GridViewer. There are also GridViewer-Snippets available in Technology-CVS!

Tom

Chris Gross schrieb:
Hi Ivan,

I've never used OO but I believe this is available with Grid today. Actually its likely available using Table as well. It was part of the awesome work that Tom Schindl did on the JFace viewer stuff. You should explore the JFace snippets:

http://wiki.eclipse.org/index.php/JFaceSnippets

Maybe Tom's listening and can chime in.

Regards,
-Chris

Ivan Ooi wrote:
Hi all,

Had anyone out there managed to make Grid control come close to OpenOffice Base key in style ?

Tab to move around column and up down cursor key are for row. Cell are always in editable mode instead of pressing enter to enable it or disable it.

Anyone ?

Thanks
------------------------------------------------------------------------

_______________________________________________
nebula-dev mailing list
nebula-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/nebula-dev
------------------------------------------------------------------------

_______________________________________________
nebula-dev mailing list
nebula-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/nebula-dev



Back to the top