Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » ChartWizardLauncher Example - DND Function(How can I access Category/Value Field in ChartWizard?)
ChartWizardLauncher Example - DND Function [message #786308] Mon, 30 January 2012 08:49 Go to next message
Frog Manhome is currently offline Frog ManhomeFriend
Messages: 5
Registered: January 2012
Junior Member
Good Morning,

I try to integrate the BIRT ChartWizard in a standalone Java Application. I used for base the ChartWizardLauncher Example. But in the Example is no Integration of the Drag & Drop Function in the Select Data flag. And if I'm writing manual stuff in the Field they will not write in DataDefinition Knot of the .chart File.

My Question is: How can I access to the Fields to manipulate the properties (to write an own function to write the value back) or how can I include the DND Function or a similar function that work so that the user can chose the Category/Value series from the dataPreviewTable below?

Please forgive me my weak English as it is not my native language.

Edit: I'm using BIRT 3.7

[Updated on: Mon, 30 January 2012 09:00]

Report message to a moderator

Re: ChartWizardLauncher Example - DND Function [message #786648 is a reply to message #786308] Mon, 30 January 2012 17:11 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Have you seen these threads:

http://www.eclipse.org/forums/index.php/mv/msg/166072/526733/#msg_526733
and
http://www.eclipse.org/forums/index.php/m/523423/#msg_523423

I have an RCP app that allows drag and drop on the data tab, but I am
not saving the data to the model yet. Still a work in progress.

Jason

On 1/30/2012 3:49 AM, Frog Manhome wrote:
> Good Morning,
>
> I try to integrate the BIRT ChartWizard in a standalone Java
> Application. I used for base the ChartWizardLauncher Example. But in the
> Example is no Integration of the Drag & Drop Function in the Select Data
> flag. And if I'm writing manual stuff in the Field they will not write
> in DataDefinition Knot of the .chart File.
>
> My Question is: How can I access to the Fields to manipulate the
> properties (to write an own function to write the value back) or how can
> I include the DND Function or a similar function that work so that the
> user can chose the Category/Value series from the dataPreviewTable below?
>
> Please forgive me my weak English as it is not my native language.
Re: ChartWizardLauncher Example - DND Function [message #787197 is a reply to message #786648] Tue, 31 January 2012 09:05 Go to previous messageGo to next message
Frog Manhome is currently offline Frog ManhomeFriend
Messages: 5
Registered: January 2012
Junior Member
Hello Jason,

Thanks for your response.
Unfortunately the referent project links in the posted threads are dead.
May be you have an idea in which class I can find the needed information?
In simple words I only need the 'Textfield' in the Data Select View of a ChartWizard and write a String in the .chart XML.
I will not believe that this is so difficult, but I don't find a way to get these 'Textfields'. Which class provides me an access?

PS: Can I see this RCP App? Maybe it will help?
Re: ChartWizardLauncher Example - DND Function [message #787492 is a reply to message #787197] Tue, 31 January 2012 16:38 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I have attached the rcp app example.

Jason

On 1/31/2012 4:06 AM, Frog Manhome wrote:
> Hello Jason,
>
> Thanks for your response.
> Unfortunately the referent project links in the posted threads are dead.
> May be you have an idea in which class I can find the needed
> information? In simple words I only need the 'Textfield' in the Data
> Select View of a ChartWizard and write a String in the .chart XML.
> I will not believe that this is so difficult, but I don't find a way to
> get these 'Textfields'. Which class provides me an access?
>
> PS: Can I see this RCP App? Maybe it will help?
Re: ChartWizardLauncher Example - DND Function [message #809880 is a reply to message #786648] Wed, 29 February 2012 11:47 Go to previous messageGo to next message
Frog Manhome is currently offline Frog ManhomeFriend
Messages: 5
Registered: January 2012
Junior Member
Jason Weathersby wrote on Mon, 30 January 2012 12:11

I have an RCP app that allows drag and drop on the data tab, but I am
not saving the data to the model yet. Still a work in progress.

Jason



Hello Jason,

Now my ChartWizardLauncher run as RPC Application. I've my own DragSource Widget and the Drag and Drop writes the Text in the right Textfield.

Next step: Saving the Data in the model.
Have you an example or a suggestion how I can solve this?


ChartUIUtil.getBaseSeriesDefinitions(getChartModel()).get(0).getSeries().get(0).getDataDefinition().get(0).setDefinition(value);

allow me to write a string in the model (that is all what I need), but how (and where) can I decide which Series was the Drop Target?

Thank you.
Re: ChartWizardLauncher Example - DND Function [message #810824 is a reply to message #809880] Thu, 01 March 2012 15:40 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Can you email me your code and I can make it save to the correct place
in the model?

Jason

On 2/29/2012 6:47 AM, Frog Manhome wrote:
> Jason Weathersby wrote on Mon, 30 January 2012 12:11
>> I have an RCP app that allows drag and drop on the data tab, but I am
>> not saving the data to the model yet. Still a work in progress.
>>
>> Jason
>
>
> Hello Jason,
>
> Now my ChartWizardLauncher run as RPC Application. I've my own
> DragSource Widget and the Drag and Drop writes the Text in the right
> Textfield.
>
> Next step: Saving the Data in the model.
> Have you an example or a suggestion how I can solve this?
>
>
> ChartUIUtil.getBaseSeriesDefinitions(getChartModel()).get(0).getSeries().get(0).getDataDefinition().get(0).setDefinition(value);
>
>
> allow me to write a string in the model (that is all what I need), but
> how (and where) can I decide which Series was the Drop Target?
>
> Thank you.
>
Previous Topic:Error Duplicate aggregation name: COUNT
Next Topic:DataSet SubSet or Group?
Goto Forum:
  


Current Time: Sat Dec 04 05:59:21 GMT 2021

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

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

Back to the top