Hi Carsten,
 
If you have the image, you can create a ULCIcon and set it on a ULCLabel.
 
Thanks and regards,
 
Janak
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Keuch, Carsten
Sent: Wednesday, August 30, 2006 6:21 PM
To: [EMAIL PROTECTED] Com
Cc: Ulc-Developer (E-Mail)
Subject: AW: [ULC-developer] How to integrate JFreeChart Extension

Dear Janak,
 
had a look at release notes and extension guide. At this moment i don't think i will get it running... Right now i don't have the time to understand how that extension works. Perhaps i will find some time soon, but it don't seems to... instead of i will build a work-around and transfer an image. Do you think its an feasible idea or do you have an other suggestion?
 
Thanks,
 
    Carsten
-----Ursprüngliche Nachricht-----
Von: Janak Mulani [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 30. August 2006 13:24
An: Keuch, Carsten
Cc: Ulc-Developer (E-Mail)
Betreff: RE: [ULC-developer] How to integrate JFreeChart Extension

Hi Carsten,
 
I don't think that JFreeChartExtension has been ported to ULC 6.1.1.
 
Since this extension is part of the community and not of the ULC product it is not guaranteed to be up-to-date.
 
So before using it with the Visual Editor you will need to port it and test it with ULC 6.1.1. You have the sources.
 
Porting guidelines can be found in ULC 6.1 release notes and ULC Extension Guide.
 
Thanks and regards,
 
Janak 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Keuch, Carsten
Sent: Monday, August 28, 2006 6:46 PM
To: Ulc-Developer (E-Mail)
Subject: [ULC-developer] How to integrate JFreeChart Extension

Hi,
 
just want to use the JFreeChartExtension but i was running into a problem. I've followed the instructions in the online help but it's still not working. When i want to use the component, eclipse is marking the component with an error sign, saying:
 
IllegalStateException(Environment.getVisualComponent(ULCComponent): "Session already Stopped")
 
I tried to place the component in a ULCGridBagLayoutPane. Also not sure if i've done the packaging correct for client and server jars. The packaging looks like:
 
--> server:
    + application
        - IJFreeChartComponentListener
        - ULCJFreeChartComponent
    + util
       - ChartProperties
        - DocumentProvider
        - RandomDataSetGenerator
        - SimpleChartFactory
    + lib
        - itext
        - jcommon
        - jfreechart
- ChartWindow
 
--> client:
    + client
        - UIJFreeChartComponent
    + util
       - ChartProperties
        - DocumentProvider
        - RandomDataSetGenerator
        - SimpleChartFactory
- ChartWindow
 
 
The entry in the ulcbeanscats.xmi looks like:
 
    <children xsi:type="org.eclipse.ve.internal.cde.palette:EMFCreationToolEntry" icon16Name="platform:/plugin/org.eclipse.ve.jfc/icons/full/clcl16/button_obj.gif"
        creationClassURI="java:/jfreechartintegration.application#ULCJFreeChartComponent">
      <entryLabel xsi:type="org.eclipse.ve.internal.cde.utility:ConstantString" string="ULCJFreeChart"/>
      <keyedValues xsi:type="ecore:EStringToStringMapEntry" key="org.eclipse.ve.internal.cde.core.nameincomposition"
          value="ulcJFreeChart"/>
    </children>
 
Using VE 5.1.1 and ULC 6.1.1.
 
Can anybody help e? Thanks in advance,
 
Regards,
 
    Carsten

Reply via email to