| extension point for custom columns [message #1004015] |
Tue, 22 January 2013 07:34  |
Thomas Mangold Messages: 2 Registered: January 2013 Location: Basel |
Junior Member |
|
|
Deriving a custom FormField is well documented. It's found via the plugin configuration as described in the tutorial:
<formField
scope="global"
active="true"
modelClass="org.eclipse.scout.rt.client.ui.form.fields.decimalfield.IDecimalField"
name="decimalfield">
<uiClass
class="ch.sbb.cis.scout.rt.ui.swt.form.fields.decimalfield.CisSwtDecimalField">
</uiClass>
</formField>
But for a custom table or column this configuration via the Interface does not work
<formField
scope="global"
active="true"
modelClass="org.eclipse.scout.rt.ui.basic.table.ICisTable"
name="table">
<uiClass
class="ch.sbb.cis.scout.rt.ui.swt.basic.table.ICisSwtScoutTable">
</uiClass>
</formField>
Which tag (if possible) is necessary in the plugin configuration?
In my opinion, is there a missing extension point for org.eclipse.scout.rt.ui.basic or org.eclipse.scout.rt.ui.basic.table
_\|/_ Thomas _\|/_
/|\ Mangold /|\
[Updated on: Tue, 22 January 2013 07:34] Report message to a moderator
|
|
|
|
| Re: extension point for custom columns [message #1005231 is a reply to message #1004218] |
Thu, 24 January 2013 12:23  |
Jeremie Bresson Messages: 265 Registered: October 2011 |
Senior Member |
|
|
Just for my curiosity, can you provide some inputs on why you need a specific column?
I never had a such use case...
If your use case is "add a MyBean Column" (where MyBean is every Object):
If I remember it correctly, you can add a AbstractColumn<MyBean> in your table.
You probably need to override some of the Operation functions. At least execDecorateCell(..)
If you want to reuse the column you can create an abstract class for it (AbstractMyBeanColumn).
Let me know if you want to know more about this approach.
.
|
|
|
Powered by
FUDForum. Page generated in 0.01572 seconds