Home » Archived » Visual Editor (VE) » VE doesn't work
VE doesn't work [message #75955] |
Sat, 01 January 2005 22:33  |
Eclipse User |
|
|
|
Originally posted by: e.dominguez.ticino.com
Hi all, I have a problem.
I normally work with wsad.
Now I'd like to install eclipse 3.01 and configure some plugins and adds
to start developing application for study purpose.
I have installed eclipse, I have done an update and installed:
- EMF
- GEF
- VE
Now for the VE I have a problem.
I right click on my package, and chose new - visual class.
I give the class a name, from style chose Swing - Frame, so my superclass
is set to javax.swing.JFrame. I ask to generate a main method.
I click ok, the code is generated but nothing is displayed. I see the
white bg panel but no frame...
Tests:
After adding a button, the button is displayed on the VE, but the frame
not. If I add a JFrame from the palette then the VE displays the new
JButton, the new JFrame and... what's that... the JFrame that sould come
as first..
Tried to create a SWT class and the VE works fine.
Someone have a solution?
I have jdk 1.5 installed and using as default VM on my machine.
Best regards, sorry for my bad english
e.dominguez
|
|
|
Re: VE doesn't work [message #75974 is a reply to message #75955] |
Sun, 02 January 2005 06:22   |
Eclipse User |
|
|
|
Originally posted by: e.dominguez.ticino.com
Sorry, I post my .log file content too. There's an error... ;-)
!SESSION Jan 02, 2005 12:20:49.672
---------------------------------------------
eclipse.buildId=M200409161125
java.version=1.5.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
!ENTRY org.eclipse.ve.java.core 4 0 Jan 02, 2005 12:20:49.672
!MESSAGE Exception thrown.
!STACK 0
java.lang.ClassCastException: org.eclipse.emf.java.util.JavaResourceImpl
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaInstances(JavaSourceTranslator.java:705)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildCompositionModel(JavaSourceTranslator.java:774)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:881)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(JavaSourceTranslator.java:656)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1444)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
e. dominguez wrote:
> Hi all, I have a problem.
> I normally work with wsad. Now I'd like to install eclipse 3.01 and
> configure some plugins and adds to start developing application for
> study purpose.
> I have installed eclipse, I have done an update and installed:
> - EMF
> - GEF
> - VE
>
> Now for the VE I have a problem.
> I right click on my package, and chose new - visual class.
> I give the class a name, from style chose Swing - Frame, so my
> superclass is set to javax.swing.JFrame. I ask to generate a main method.
> I click ok, the code is generated but nothing is displayed. I see the
> white bg panel but no frame...
> Tests:
> After adding a button, the button is displayed on the VE, but the frame
> not. If I add a JFrame from the palette then the VE displays the new
> JButton, the new JFrame and... what's that... the JFrame that sould come
> as first..
> Tried to create a SWT class and the VE works fine.
>
> Someone have a solution?
>
> I have jdk 1.5 installed and using as default VM on my machine.
> Best regards, sorry for my bad english
>
>
> e.dominguez
>
|
|
|
Re: VE doesn't work [message #75992 is a reply to message #75974] |
Sun, 02 January 2005 23:48   |
Eclipse User |
|
|
|
Originally posted by: MikeWainer.yahoo.com
Take a look at the postings in the "Where is the jContentPane?"
thread. You may be having the same problem. When I updated
to VE 1.0.2 it seemed to fix it.
E. Dominguez wrote:
> Sorry, I post my .log file content too. There's an error... ;-)
> !SESSION Jan 02, 2005 12:20:49.672
> ---------------------------------------------
> eclipse.buildId=M200409161125
> java.version=1.5.0
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> !ENTRY org.eclipse.ve.java.core 4 0 Jan 02, 2005 12:20:49.672
> !MESSAGE Exception thrown.
> !STACK 0
> java.lang.ClassCastException: org.eclipse.emf.java.util.JavaResourceImpl
> at
>
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaInstances(JavaSourceTranslator.java:705)
> at
>
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildCompositionModel(JavaSourceTranslator.java:774)
> at
>
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:881)
> at
>
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(JavaSourceTranslator.java:656)
> at
>
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1444)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
> e. dominguez wrote:
>> Hi all, I have a problem.
>> I normally work with wsad. Now I'd like to install eclipse 3.01 and
>> configure some plugins and adds to start developing application for
>> study purpose.
>> I have installed eclipse, I have done an update and installed:
>> - EMF
>> - GEF
>> - VE
>>
>> Now for the VE I have a problem.
>> I right click on my package, and chose new - visual class.
>> I give the class a name, from style chose Swing - Frame, so my
>> superclass is set to javax.swing.JFrame. I ask to generate a main method.
>> I click ok, the code is generated but nothing is displayed. I see the
>> white bg panel but no frame...
>> Tests:
>> After adding a button, the button is displayed on the VE, but the frame
>> not. If I add a JFrame from the palette then the VE displays the new
>> JButton, the new JFrame and... what's that... the JFrame that sould come
>> as first..
>> Tried to create a SWT class and the VE works fine.
>>
>> Someone have a solution?
>>
>> I have jdk 1.5 installed and using as default VM on my machine.
>> Best regards, sorry for my bad english
>>
>>
>> e.dominguez
>>
|
|
|
Re: VE doesn't work --> problem solved! [message #76008 is a reply to message #75992] |
Mon, 03 January 2005 05:43  |
Eclipse User |
|
|
|
Originally posted by: e.dominguez.ticino.com
Problem solved.
Installed version 1.0.2 and the problem has disappeared!
Thank you all!
Bye bye e. dominguez
Mike Wainer wrote:
> Take a look at the postings in the "Where is the jContentPane?"
> thread. You may be having the same problem. When I updated
> to VE 1.0.2 it seemed to fix it.
>
> E. Dominguez wrote:
>
>> Sorry, I post my .log file content too. There's an error... ;-)
>
>
>> !SESSION Jan 02, 2005 12:20:49.672
>> ---------------------------------------------
>> eclipse.buildId=M200409161125
>> java.version=1.5.0
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>
>
>> !ENTRY org.eclipse.ve.java.core 4 0 Jan 02, 2005 12:20:49.672
>> !MESSAGE Exception thrown.
>> !STACK 0
>> java.lang.ClassCastException: org.eclipse.emf.java.util.JavaResourceImpl
>> at
>
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaInstances(JavaSourceTranslator.java:705)
>
>
>> at
>
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildCompositionModel(JavaSourceTranslator.java:774)
>
>
>> at
>
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:881)
>
>
>> at
>
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(JavaSourceTranslator.java:656)
>
>
>> at
>
> org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart..java:1444)
>
>
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
>
>
>
>> e. dominguez wrote:
>>
>>> Hi all, I have a problem.
>>> I normally work with wsad. Now I'd like to install eclipse 3.01 and
>>> configure some plugins and adds to start developing application for
>>> study purpose.
>>> I have installed eclipse, I have done an update and installed:
>>> - EMF
>>> - GEF
>>> - VE
>>>
>>> Now for the VE I have a problem.
>>> I right click on my package, and chose new - visual class.
>>> I give the class a name, from style chose Swing - Frame, so my
>>> superclass is set to javax.swing.JFrame. I ask to generate a main
>>> method.
>>> I click ok, the code is generated but nothing is displayed. I see the
>>> white bg panel but no frame...
>>> Tests:
>>> After adding a button, the button is displayed on the VE, but the
>>> frame not. If I add a JFrame from the palette then the VE displays
>>> the new JButton, the new JFrame and... what's that... the JFrame that
>>> sould come as first..
>>> Tried to create a SWT class and the VE works fine.
>>>
>>> Someone have a solution?
>>>
>>> I have jdk 1.5 installed and using as default VM on my machine.
>>> Best regards, sorry for my bad english
>>>
>>>
>>> e.dominguez
>>>
>
>
|
|
|
Re: VE doesn't work [message #604187 is a reply to message #75955] |
Sun, 02 January 2005 06:22  |
Eclipse User |
|
|
|
Originally posted by: e.dominguez.ticino.com
Sorry, I post my .log file content too. There's an error... ;-)
!SESSION Jan 02, 2005 12:20:49.672
---------------------------------------------
eclipse.buildId=M200409161125
java.version=1.5.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
!ENTRY org.eclipse.ve.java.core 4 0 Jan 02, 2005 12:20:49.672
!MESSAGE Exception thrown.
!STACK 0
java.lang.ClassCastException: org.eclipse.emf.java.util.JavaResourceImpl
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaInstances(JavaSourceTranslator.java:705)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildCompositionModel(JavaSourceTranslator.java:774)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:881)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(JavaSourceTranslator.java:656)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1444)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
e. dominguez wrote:
> Hi all, I have a problem.
> I normally work with wsad. Now I'd like to install eclipse 3.01 and
> configure some plugins and adds to start developing application for
> study purpose.
> I have installed eclipse, I have done an update and installed:
> - EMF
> - GEF
> - VE
>
> Now for the VE I have a problem.
> I right click on my package, and chose new - visual class.
> I give the class a name, from style chose Swing - Frame, so my
> superclass is set to javax.swing.JFrame. I ask to generate a main method.
> I click ok, the code is generated but nothing is displayed. I see the
> white bg panel but no frame...
> Tests:
> After adding a button, the button is displayed on the VE, but the frame
> not. If I add a JFrame from the palette then the VE displays the new
> JButton, the new JFrame and... what's that... the JFrame that sould come
> as first..
> Tried to create a SWT class and the VE works fine.
>
> Someone have a solution?
>
> I have jdk 1.5 installed and using as default VM on my machine.
> Best regards, sorry for my bad english
>
>
> e.dominguez
>
|
|
|
Re: VE doesn't work [message #604197 is a reply to message #75974] |
Sun, 02 January 2005 23:48  |
Eclipse User |
|
|
|
Originally posted by: MikeWainer.yahoo.com
Take a look at the postings in the "Where is the jContentPane?"
thread. You may be having the same problem. When I updated
to VE 1.0.2 it seemed to fix it.
E. Dominguez wrote:
> Sorry, I post my .log file content too. There's an error... ;-)
> !SESSION Jan 02, 2005 12:20:49.672
> ---------------------------------------------
> eclipse.buildId=M200409161125
> java.version=1.5.0
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> !ENTRY org.eclipse.ve.java.core 4 0 Jan 02, 2005 12:20:49.672
> !MESSAGE Exception thrown.
> !STACK 0
> java.lang.ClassCastException: org.eclipse.emf.java.util.JavaResourceImpl
> at
>
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaInstances(JavaSourceTranslator.java:705)
> at
>
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildCompositionModel(JavaSourceTranslator.java:774)
> at
>
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:881)
> at
>
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(JavaSourceTranslator.java:656)
> at
>
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1444)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
> e. dominguez wrote:
>> Hi all, I have a problem.
>> I normally work with wsad. Now I'd like to install eclipse 3.01 and
>> configure some plugins and adds to start developing application for
>> study purpose.
>> I have installed eclipse, I have done an update and installed:
>> - EMF
>> - GEF
>> - VE
>>
>> Now for the VE I have a problem.
>> I right click on my package, and chose new - visual class.
>> I give the class a name, from style chose Swing - Frame, so my
>> superclass is set to javax.swing.JFrame. I ask to generate a main method.
>> I click ok, the code is generated but nothing is displayed. I see the
>> white bg panel but no frame...
>> Tests:
>> After adding a button, the button is displayed on the VE, but the frame
>> not. If I add a JFrame from the palette then the VE displays the new
>> JButton, the new JFrame and... what's that... the JFrame that sould come
>> as first..
>> Tried to create a SWT class and the VE works fine.
>>
>> Someone have a solution?
>>
>> I have jdk 1.5 installed and using as default VM on my machine.
>> Best regards, sorry for my bad english
>>
>>
>> e.dominguez
>>
|
|
|
Re: VE doesn't work --> problem solved! [message #604202 is a reply to message #75992] |
Mon, 03 January 2005 05:43  |
Eclipse User |
|
|
|
Originally posted by: e.dominguez.ticino.com
Problem solved.
Installed version 1.0.2 and the problem has disappeared!
Thank you all!
Bye bye e. dominguez
Mike Wainer wrote:
> Take a look at the postings in the "Where is the jContentPane?"
> thread. You may be having the same problem. When I updated
> to VE 1.0.2 it seemed to fix it.
>
> E. Dominguez wrote:
>
>> Sorry, I post my .log file content too. There's an error... ;-)
>
>
>> !SESSION Jan 02, 2005 12:20:49.672
>> ---------------------------------------------
>> eclipse.buildId=M200409161125
>> java.version=1.5.0
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>
>
>> !ENTRY org.eclipse.ve.java.core 4 0 Jan 02, 2005 12:20:49.672
>> !MESSAGE Exception thrown.
>> !STACK 0
>> java.lang.ClassCastException: org.eclipse.emf.java.util.JavaResourceImpl
>> at
>
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaInstances(JavaSourceTranslator.java:705)
>
>
>> at
>
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildCompositionModel(JavaSourceTranslator.java:774)
>
>
>> at
>
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:881)
>
>
>> at
>
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(JavaSourceTranslator.java:656)
>
>
>> at
>
> org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart..java:1444)
>
>
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
>
>
>
>> e. dominguez wrote:
>>
>>> Hi all, I have a problem.
>>> I normally work with wsad. Now I'd like to install eclipse 3.01 and
>>> configure some plugins and adds to start developing application for
>>> study purpose.
>>> I have installed eclipse, I have done an update and installed:
>>> - EMF
>>> - GEF
>>> - VE
>>>
>>> Now for the VE I have a problem.
>>> I right click on my package, and chose new - visual class.
>>> I give the class a name, from style chose Swing - Frame, so my
>>> superclass is set to javax.swing.JFrame. I ask to generate a main
>>> method.
>>> I click ok, the code is generated but nothing is displayed. I see the
>>> white bg panel but no frame...
>>> Tests:
>>> After adding a button, the button is displayed on the VE, but the
>>> frame not. If I add a JFrame from the palette then the VE displays
>>> the new JButton, the new JFrame and... what's that... the JFrame that
>>> sould come as first..
>>> Tried to create a SWT class and the VE works fine.
>>>
>>> Someone have a solution?
>>>
>>> I have jdk 1.5 installed and using as default VM on my machine.
>>> Best regards, sorry for my bad english
>>>
>>>
>>> e.dominguez
>>>
>
>
|
|
|
Goto Forum:
Current Time: Sun May 11 16:23:38 EDT 2025
Powered by FUDForum. Page generated in 0.04569 seconds
|