Hi Tom CompositeTable of course has a notion of row. The difference is that the rows are adressed as composite aka controls-container. All operations compositeTable executes on rows are based on this 'paradigm' (focus-traversal, cell-layout, etc.). I am not 100% aware of the latest 3.3 jface implementation but I assume that the main problem when using items is that rows are reused in compositeTable (rows scrolled out are refreshed with different model-content. Furthermore compositeTable does not have the notion of labelProviders. A row is a container of controls, cells are controls. There's no (out-of-the-box) difference in displaying and editing data (and no label-provider in the strict sense). It's up to the cell-control to decide how to display cell values. Dave's concept is to let the user programmer implement a cell-editor & label-provider scheme if he needs it. Is this behavior compatible to the current jface implementation? I am still here to do some work on this great widget though my work-time is limited now ;-( Furthermore the final decisions are up to Dave...
Greetings André > Hi Peter, > > I have to admit that I never looked inside the Composite Table but I > sure it has a notion of rows why cann't this row class > not inherit from SWT-Item, like e.g. GridItem does, if this would be the > case to use subclass AbstractTableViewer directly and > ensure binary compatility for CompositeTable. I think you don't even > have to waste resource but create the Items on demand > when you want to communicate with any of JFace components internally > since 3.3 JFace has it's own abstraction level for rows > named ViewerRow. > > By the way in 3.3 we replaced the old LabelProvider interface and > replaced it with CellLabelProvider so if you are going > to port something over I'd make sure you don't miss this one. > > Tom > _______________________________________________ > nebula-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/nebula-dev > > > !DSPAM:4609944f70181385321241! -- André Dietisheim Stv-Bereichsleiter Products Puzzle ITC GmbH Eigerplatz 4 CH-3007 Bern Telefon +41 31 370 22 00 Mobile +41 76 423 03 02 Fax +41 31 370 22 01 Puzzle ist Mitglied der ODF Alliance: <http://www.puzzle.ch/odfalliance/> _______________________________________________ nebula-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/nebula-dev
