Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [ve-dev] how does eclipse know

Thanks, it must be a friday thing, the brain not quite thinking properly! :-)
 
Regards
Jose Correia
 
Ps- Just out of interest how does the Visual Editor know which are visual components and must the class follow a certain structure ( a la JavaBean structure)? I was trying to port some old classes to it and i'm redoing them... just thought if I understand how it builds it up I can save some time. Thanks again for the prompt reply.
-----Original Message-----
From: ve-dev-admin@xxxxxxxxxxx [mailto:ve-dev-admin@xxxxxxxxxxx]On Behalf Of Dr Gili Mendel
Sent: 02 July 2004 01:45 PM
To: ve-dev@xxxxxxxxxxx
Subject: Re: [ve-dev] how does eclipse know


... no magic there.   A "Visual Class" is a regular Java Class.   If you open a Java Class with the Visual Editor, the Visual Editor will reverse parse it and look for visual components.
The "trick" is to "Open With" the class with the Visual Editor.   Eclipse will remember the last editor you used on a given resource when you double click on it.

In the new project, <right-click on the file ->OpenWith->Visual Editor


------------
Dr. Gili Mendel
IBM
Software Development
RTP Raleigh, NC
(919)543 6408, tie: 441 6408



"Jose Correia" <jose.correia@xxxxxxxxxxxxx>
Sent by: ve-dev-admin@xxxxxxxxxxx

07/02/2004 07:19 AM

Please respond to
ve-dev

To
<ve-dev@xxxxxxxxxxx>
cc
Subject
[ve-dev] how does eclipse know





Hi all

How does eclipse know that a certain Java source file must be regarded as a
Visual Class? I tried coping the source file into another project but when I
opened it it didn't start up the Visual Editor... i tried looking for some
kind of properties file but to no avail...

Thanks in advance
Jose Correia

Ps- I'm evaluating this tool to tell my company a.s.a.p. if it is worth
using or not so if anyone could give me advice a.s.a.p I would appreciate
it.

_______________________________________________
ve-dev mailing list
ve-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/ve-dev


Back to the top