Using timesheet as table?
Hello,
is there any possibility of reusing the table contained in the timesheet table? I would like to use it as a kind of regular matrix. Thanks in advance for your help. Regards, Jorge. |
2 answers
Hi,
instead of just trying to use directly the timesheet table, I'm trying the approach of contributing an attribute presenation which will implement a table. https://jazz.net/wiki/bin/view/Main/ContributingAttributePresentations#Contributing_to_the_Work_Item_Ed The Time Tracking Table feature seems to use the class TimeSheetTableHelper which uses the org.eclipse.swt.widgets.Table class. However, in trying to follow a similar approach I can't use this helper class and also, in looking for a way to just provision the presentation with a custom table (like in the wiki article with a Button), I haven't seen a method in WorkItemEditorToolkit class to do it. Is this customization something I can do? Or is it not customizable via API? Thanks in advance for your help. Regards, Jorge. |
Jorge,
The WorkItemEditorToolkit is just a factory that creates often used widgets and applies some standard styles. Yes, there is no method for creating a Table but this does not prevent you from creating an SWT Table yourself and initializing it in a similar way as the factory does. Cheers, --andre Andre Weinand Work Item Team |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.