VE - Gui Panel loses details [message #67521] |
Mon, 18 October 2004 19:25 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: dmccartno.xxxspamoceanfnospamree.net
I am using Eclipse Visual Editor 1.0. After I create a visual class and a
simple gui with a few components in it all is well. My problem comes when
I alter my main to create an instance of the frame and then when I run the
app the form is displayed but my display panel goes blank and the Java
Beans panle where my buttons or textfields were previously goes blank. The
code appears to remain the same.
I am running eclipse 3.0.1, EMF 2.0.1, GEF 3.0.1 and VE 1.0 (installed via
eclipse update, normally do it by zips so may try that as well). Ran first
time with eclipse -clean as per faq but it seems to work ok in general as
far as I can see.
Restarting the editor doesn't help. It doesn't bring back the layout.
Does anyone know does it use tags to help it rebuild the code like some
other gui layout tools or does it do it all by source...
(brings me back to the good old days of fighting visual crape 3 to develop
swing apps)
|
|
|
Re: VE - Gui Panel loses details [message #67542 is a reply to message #67521] |
Mon, 18 October 2004 19:32 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: dmccartno.xxxspamoceanfnospamree.net
Just to clarify I'm using ve 1.0.1 (mea culpa, still thought I was on 1.0)
Denis McCarthy wrote:
> I am using Eclipse Visual Editor 1.0. After I create a visual class and a
> simple gui with a few components in it all is well. My problem comes when
> I alter my main to create an instance of the frame and then when I run the
> app the form is displayed but my display panel goes blank and the Java
> Beans panle where my buttons or textfields were previously goes blank. The
> code appears to remain the same.
> I am running eclipse 3.0.1, EMF 2.0.1, GEF 3.0.1 and VE 1.0 (installed via
> eclipse update, normally do it by zips so may try that as well). Ran first
> time with eclipse -clean as per faq but it seems to work ok in general as
> far as I can see.
> Restarting the editor doesn't help. It doesn't bring back the layout.
> Does anyone know does it use tags to help it rebuild the code like some
> other gui layout tools or does it do it all by source...
> (brings me back to the good old days of fighting visual crape 3 to develop
> swing apps)
|
|
|
|
Re: VE - Gui Panel loses details - SAME Problem Details [message #67640 is a reply to message #67604] |
Tue, 19 October 2004 12:39 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: myersj.nospam.gmail.com
Hi Iztok,
Remove the EMF examples plug-in from your Eclipse installation and it
should work fine.
- Jeff
Iztok Kucan wrote:
> Same configuration, same problem.
>
> Happens in the most trivial circumatances:
> 1. Create a visual class
> 2. Test without chaning
> 3. Close/reopen in VE
> 4. Class does not reappear in VE
>
> Here is the log, specifically for loading a class in the VE editor:
>
> !ENTRY org.eclipse.ve.java.core 4 0 Oct 19, 2004 18:31:55.199
> !MESSAGE Exception thrown.
> !STACK 0
> java.lang.ClassCastException
> 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)
>
>
>
|
|
|
Re: VE - Gui Panel loses details - SAME Problem Details [message #67662 is a reply to message #67640] |
Tue, 19 October 2004 12:53 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: denisnospam.nospam.net
Jeff Myers wrote:
> Hi Iztok,
>
> Remove the EMF examples plug-in from your Eclipse installation and it
> should work fine.
>
> - Jeff
>
> Iztok Kucan wrote:
>
>> Same configuration, same problem.
>>
>> Happens in the most trivial circumatances:
>> 1. Create a visual class
>> 2. Test without chaning
>> 3. Close/reopen in VE
>> 4. Class does not reappear in VE
>>
>> Here is the log, specifically for loading a class in the VE editor:
>>
>> !ENTRY org.eclipse.ve.java.core 4 0 Oct 19, 2004 18:31:55.199
>> !MESSAGE Exception thrown.
>> !STACK 0
>> java.lang.ClassCastException
>> 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)
>>
>>
>>
That works now.. thanks a lot for that... just curious how did you know
it was the emf samples causing the problem?
Could you tell from Iztoks logs?
|
|
|
Re: VE - Gui Panel loses details - SAME Problem Details [message #67704 is a reply to message #67662] |
Tue, 19 October 2004 14:06 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: myersj.nospam.gmail.com
Denis McCarthy wrote:
> Jeff Myers wrote:
>
>> Hi Iztok,
>>
>> Remove the EMF examples plug-in from your Eclipse installation and it
>> should work fine.
>>
>> - Jeff
>>
>>> !ENTRY org.eclipse.ve.java.core 4 0 Oct 19, 2004 18:31:55.199
>>> !MESSAGE Exception thrown.
>>> !STACK 0
>>> java.lang.ClassCastException
>>> 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)
>>>
>>>
>>>
>
>
> That works now.. thanks a lot for that... just curious how did you know
> it was the emf samples causing the problem?
>
> Could you tell from Iztoks logs?
Yeah, the exception log is key for diagnosing issues such as this. I
could recognize this exception based on other people running into the
same problem earlier.
- Jeff
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03574 seconds