Community
Participate
Working Groups
Typically in a Swing Scout application instantiation of SwingScout* classes is done through the application specific AbstractSwingEnvironment factory methods. This is not the case for SwingScoutTable. The instantiation of this class is hard-wired in SwingScoutTableField, SwingScoutListBox and SwingScoutPlannerField. Today one must copy & paste the source-code of these three classes in order to replace SwingScoutTable with another implementation. With this enhancement table instantiation is delegated to the Swing environment. A new method 'ISwingScoutTable createTable(ITable table)' will be added to the ISwingEnvironment. SwingScoutTableField, SwingScoutListBox and SwingScoutPlannerField will use this new method instead of the old call to 'new SwingScoutTable()'.
Created attachment 229559 [details] Adds createTable(ITable) method to ISwingEnvironment
Patch pushed as Gerrit change: https://git.eclipse.org/r/12095 This is a patch for L-Release (API Change).
Currently on hold until we create a new branch.
Pushed to master with commit http://git.eclipse.org/c/scout/org.eclipse.scout.rt.git/commit/?id=1d0407af1cba6865aa02557f8883018b61353d93.
Bug closed, shipped with 3.9.0 (Kepler)
Gerrit change https://git.eclipse.org/r/12095 was merged to [master]. Commit: http://git.eclipse.org/c/scout/org.eclipse.scout.rt.git/commit/?id=1d0407af1cba6865aa02557f8883018b61353d93
Gerrit change https://git.eclipse.org/r/c/scout/org.eclipse.scout.rt/+/12095 was merged to [master]. Commit: http://git.eclipse.org/c/scout/org.eclipse.scout.rt.git/commit/?id=1d0407af1cba6865aa02557f8883018b61353d93