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