|
|
|
Re: Developing a Report Item similar to that of Table. [message #368281 is a reply to message #368278] |
Mon, 18 May 2009 15:11 |
Eclipse User |
|
|
|
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 #368314 is a reply to message #368300] |
Wed, 20 May 2009 17:25 |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 5.03937 seconds