Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Developing a Report Item similar to that of Table.
Developing a Report Item similar to that of Table. [message #368229] Wed, 13 May 2009 10:36 Go to next message
Sushant Dusad is currently offline Sushant DusadFriend
Messages: 25
Registered: July 2009
Junior Member
This is a multi-part message in MIME format.

------=_NextPart_000_0036_01C9D3E4.D2AEB900
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi All,
I am trying to create an extended Report Item which would be similar =
to that of a Table having the following constriants.
a) It will have only 2 columns and user may not be able to add =
columns to it. The number of rows may vary according to the user Input.
b) The first column will contain the Header Informantion of the =
Dataset Item nad the Second column will contain the Detail part.

Any pointers regarding this would be helpful.

Thanks and Regards,
Sushant Dusad
------=_NextPart_000_0036_01C9D3E4.D2AEB900
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16809" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi All,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; I am trying to create an =
extended=20
Report Item which would be similar to that of a Table having the =
following=20
constriants.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; a) It will have only 2 =
columns and=20
user may not be able to add columns to it. The number of rows may vary =
according=20
to the user Input.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; b) The first column will =
contain the=20
Header Informantion of the Dataset Item nad the Second column will =
contain the=20
Detail part.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any pointers regarding this would be=20
helpful.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks and Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Sushant =
Dusad</FONT></DIV></BODY></HTML>

------=_NextPart_000_0036_01C9D3E4.D2AEB900--
Re: Developing a Report Item similar to that of Table. [message #368239 is a reply to message #368229] Wed, 13 May 2009 15:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Sushant,

Take a look at this tutorial.

http://www.eclipse.org/articles/article.php?file=Article-BIR T-ExtensionTutorial1/index.html

Jason

Sushant Dusad wrote:
> Hi All,
> I am trying to create an extended Report Item which would be similar
> to that of a Table having the following constriants.
> a) It will have only 2 columns and user may not be able to add
> columns to it. The number of rows may vary according to the user Input.
> b) The first column will contain the Header Informantion of the
> Dataset Item nad the Second column will contain the Detail part.
>
> Any pointers regarding this would be helpful.
>
> Thanks and Regards,
> Sushant Dusad
Re: Developing a Report Item similar to that of Table. [message #368278 is a reply to message #368239] Mon, 18 May 2009 09:48 Go to previous messageGo to next message
Sushant Dusad is currently offline Sushant DusadFriend
Messages: 25
Registered: July 2009
Junior Member
Jason,
Thaks for the link. I have already gone through it.
I want to know can i Extend the existing Table report Item to create a
new Report Item.
How can it be done?

Thanks and Regards
Sushant Dusad

"Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
news:gueplv$kb1$1@build.eclipse.org...
> Sushant,
>
> Take a look at this tutorial.
>
> http://www.eclipse.org/articles/article.php?file=Article-BIR T-ExtensionTutorial1/index.html
>
> Jason
>
> Sushant Dusad wrote:
>> Hi All,
>> I am trying to create an extended Report Item which would be similar
>> to that of a Table having the following constriants.
>> a) It will have only 2 columns and user may not be able to add columns
>> to it. The number of rows may vary according to the user Input.
>> b) The first column will contain the Header Informantion of the
>> Dataset Item nad the Second column will contain the Detail part.
>> Any pointers regarding this would be helpful.
>> Thanks and Regards,
>> Sushant Dusad
Re: Developing a Report Item similar to that of Table. [message #368281 is a reply to message #368278] Mon, 18 May 2009 15:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Sushant,

Unfortunately the existing table item was not done with the extension
point. So you would have to check out the code and modify base to alter
or create a new table item.

Jason

Sushant Dusad wrote:
> Jason,
> Thaks for the link. I have already gone through it.
> I want to know can i Extend the existing Table report Item to create a
> new Report Item.
> How can it be done?
>
> Thanks and Regards
> Sushant Dusad
>
> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
> news:gueplv$kb1$1@build.eclipse.org...
>> Sushant,
>>
>> Take a look at this tutorial.
>>
>> http://www.eclipse.org/articles/article.php?file=Article-BIR T-ExtensionTutorial1/index.html
>>
>> Jason
>>
>> Sushant Dusad wrote:
>>> Hi All,
>>> I am trying to create an extended Report Item which would be similar
>>> to that of a Table having the following constriants.
>>> a) It will have only 2 columns and user may not be able to add columns
>>> to it. The number of rows may vary according to the user Input.
>>> b) The first column will contain the Header Informantion of the
>>> Dataset Item nad the Second column will contain the Detail part.
>>> Any pointers regarding this would be helpful.
>>> Thanks and Regards,
>>> Sushant Dusad
>
>
Re: Developing a Report Item similar to that of Table. [message #368300 is a reply to message #368281] Tue, 19 May 2009 10:32 Go to previous messageGo to next message
Sushant Dusad is currently offline Sushant DusadFriend
Messages: 25
Registered: July 2009
Junior Member
Jason,
Thanks for the info.
But i dont want to change the BIRT source code for that.
One nore question is that how can i create a UI for an Extended Report
Item same as that of table or any other like Grid/List.
Do i need to use the FigureProvider for showing up a table item on the
layout.
Thanks and Regards
Sushant Dusad

"Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
news:gurtoe$eas$3@build.eclipse.org...
> Sushant,
>
> Unfortunately the existing table item was not done with the extension
> point. So you would have to check out the code and modify base to alter
> or create a new table item.
>
> Jason
>
> Sushant Dusad wrote:
>> Jason,
>> Thaks for the link. I have already gone through it.
>> I want to know can i Extend the existing Table report Item to create
>> a new Report Item.
>> How can it be done?
>>
>> Thanks and Regards
>> Sushant Dusad
>>
>> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
>> news:gueplv$kb1$1@build.eclipse.org...
>>> Sushant,
>>>
>>> Take a look at this tutorial.
>>>
>>> http://www.eclipse.org/articles/article.php?file=Article-BIR T-ExtensionTutorial1/index.html
>>>
>>> Jason
>>>
>>> Sushant Dusad wrote:
>>>> Hi All,
>>>> I am trying to create an extended Report Item which would be similar
>>>> to that of a Table having the following constriants.
>>>> a) It will have only 2 columns and user may not be able to add
>>>> columns to it. The number of rows may vary according to the user Input.
>>>> b) The first column will contain the Header Informantion of the
>>>> Dataset Item nad the Second column will contain the Detail part.
>>>> Any pointers regarding this would be helpful.
>>>> Thanks and Regards,
>>>> Sushant Dusad
>>
Re: Developing a Report Item similar to that of Table. [message #368314 is a reply to message #368300] Wed, 20 May 2009 17:25 Go to previous message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Sushant,

As part of the extension point
org.eclipse.birt.report.designer.ui.reportitemUI
There is an attribute
reportItemFigureUI

<!ELEMENT reportItemFigureUI EMPTY>

<!ATTLIST reportItemFigureUI

class CDATA #REQUIRED>
class - a fully qualified name of the Java class implementing
org.eclipse.birt.report.designer.ui.extensions.IReportItemFi gureUI

This can be used to draw the design time figure.

If you check out the source there is a project for the tutorial and it
is implemented in extension-tutorial-2. You can also look at the
crosstab and chart elements as both are extended items. The crosstab
does not use the above extension point but the chart does. I believe
the crosstab uses the
org.eclipse.birt.report.designer.ui.reportItemEditpart extension point
and is implemented in
CrosstabTableEditPart
It appears it makes use of the existing table figures so you may want to
look at it. I have not used this extension but it may be helpfull.

Jason


Sushant Dusad wrote:
> Jason,
> Thanks for the info.
> But i dont want to change the BIRT source code for that.
> One nore question is that how can i create a UI for an Extended Report
> Item same as that of table or any other like Grid/List.
> Do i need to use the FigureProvider for showing up a table item on the
> layout.
> Thanks and Regards
> Sushant Dusad
>
> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
> news:gurtoe$eas$3@build.eclipse.org...
>> Sushant,
>>
>> Unfortunately the existing table item was not done with the extension
>> point. So you would have to check out the code and modify base to alter
>> or create a new table item.
>>
>> Jason
>>
>> Sushant Dusad wrote:
>>> Jason,
>>> Thaks for the link. I have already gone through it.
>>> I want to know can i Extend the existing Table report Item to create
>>> a new Report Item.
>>> How can it be done?
>>>
>>> Thanks and Regards
>>> Sushant Dusad
>>>
>>> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
>>> news:gueplv$kb1$1@build.eclipse.org...
>>>> Sushant,
>>>>
>>>> Take a look at this tutorial.
>>>>
>>>> http://www.eclipse.org/articles/article.php?file=Article-BIR T-ExtensionTutorial1/index.html
>>>>
>>>> Jason
>>>>
>>>> Sushant Dusad wrote:
>>>>> Hi All,
>>>>> I am trying to create an extended Report Item which would be similar
>>>>> to that of a Table having the following constriants.
>>>>> a) It will have only 2 columns and user may not be able to add
>>>>> columns to it. The number of rows may vary according to the user Input.
>>>>> b) The first column will contain the Header Informantion of the
>>>>> Dataset Item nad the Second column will contain the Detail part.
>>>>> Any pointers regarding this would be helpful.
>>>>> Thanks and Regards,
>>>>> Sushant Dusad
>
Previous Topic:Join data sets performance issue
Next Topic:UILocale in chart examples
Goto Forum:
  


Current Time: Thu Apr 25 18:02:07 GMT 2024

Powered by FUDForum. Page generated in 5.03937 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top