Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes



2 answers

Permanent link
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.

0 votes


Permanent link
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

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,952

Question asked: Feb 03 '11, 6:57 p.m.

Question was seen: 6,956 times

Last updated: Feb 03 '11, 6:57 p.m.

Confirmation Cancel Confirm