ChartWizardLauncher Example - DND Function [message #786308] |
Mon, 30 January 2012 08:49 |
Frog Manhome 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 |
|
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 #787492 is a reply to message #787197] |
Tue, 31 January 2012 16:38 |
|
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 #810824 is a reply to message #809880] |
Thu, 01 March 2012 15:40 |
|
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.
>
|
|
|
Powered by
FUDForum. Page generated in 0.04398 seconds