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