Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » That was quick
That was quick [message #82541] Mon, 07 March 2005 19:35 Go to next message
Eclipse UserFriend
Originally posted by: danijel_zecevic.hotmail.com

Thank you for quick response...

To be honest I must say that I decompiled some of ULC Visual Editor classes
and I found that they extended
org.eclipse.ve.internal.jfc.beaninfo.IvjBeanInfo for every EditPart. So I'm
trying to do the same. I forgot to tell you tht iI'm using VE 1.0.2

Is there any better way to do what I want?

Thank you!
Re: That was quick [message #82563 is a reply to message #82541] Mon, 07 March 2005 19:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Again, how are you intending to access IvjBeaninfo? The EditPart's do
not extend IvjBeanInfo, only the BeanInfo extend IvjBeanInfo.

Instead of decompiling, it is a lot easier to just get the source off of
CVS. That way you have everything.

SEe:

http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /vep-home/WebContent/faq.html#install_cvs

ddd wrote:
> Thank you for quick response...
>
> To be honest I must say that I decompiled some of ULC Visual Editor classes
> and I found that they extended
> org.eclipse.ve.internal.jfc.beaninfo.IvjBeanInfo for every EditPart. So I'm
> trying to do the same. I forgot to tell you tht iI'm using VE 1.0.2
>
> Is there any better way to do what I want?
>
> Thank you!
>
>

--
Thanks,
Rich Kulp
Re: That was quick [message #82575 is a reply to message #82563] Mon, 07 March 2005 20:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: danijel_zecevic.hotmail.com

I'm trying to extend VE for a framework we use im a firm I'm working for. It
is an internal framework that lets you write java applications that can be
run as swing or html (no need for programer to know will the company that
will use application run it as swing or html application or booth). So my
yob is (or will be in near future) to make GUI builder for this framework.

So I started to look for VE documentation, but there is no good
documentation about how to start extending VE (nothing like 1. first you
must... , 2. then you...) and then i found article from Janak Mulani &
Sibylle Peter "Implementation of ULC Visual Editor for Eclipse". It is a
good article describing lots of details but nothing like I want (as I wrote
before step by step creating a first component and displying it in VE).

After reading the mentioned document that explains that every component
neads its EditPart and BeanInfo I downloaded ULC VE plugin and decompile it,
and there I saw that authors wrote their BeanInfo classes by extending
org.eclipse.ve.internal.jfc.beaninfo.IvjBeanInfo class. So I tried to do the
same but I cannot import that class into my plugin . I simly cant find it.
It seems like I dont have package org.eclipse.ve.internal.jfc.beaninfo, but
when I look thesource of VE that I got from CVS i can find that class.

So can you tell me why cant I import that class and if possible step by step
guide how to extend VE in 15 words please.

Thank you,
Danijel



"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:d0ib1q$3ar$1@www.eclipse.org...
> Again, how are you intending to access IvjBeaninfo? The EditPart's do
> not extend IvjBeanInfo, only the BeanInfo extend IvjBeanInfo.
>
> Instead of decompiling, it is a lot easier to just get the source off of
> CVS. That way you have everything.
>
> SEe:
>
>
http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /vep-home/WebContent/faq.html#install_cvs
>
> ddd wrote:
> > Thank you for quick response...
> >
> > To be honest I must say that I decompiled some of ULC Visual Editor
classes
> > and I found that they extended
> > org.eclipse.ve.internal.jfc.beaninfo.IvjBeanInfo for every EditPart. So
I'm
> > trying to do the same. I forgot to tell you tht iI'm using VE 1.0.2
> >
> > Is there any better way to do what I want?
> >
> > Thank you!
> >
> >
>
> --
> Thanks,
> Rich Kulp
Re: That was quick [message #82590 is a reply to message #82575] Mon, 07 March 2005 21:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

The code is divided into two pieces, the EditParts stuff (these run in
Eclipse) and the BeanInfo (these run outside of Eclipse). The eclipse
code doesn't have access to the BeanInfo (directly) and the BeanInfo
doesn't have access to the Eclipse code.

If your BeanInfo will only be accessed from the VE, then it can
reference IvjBeanInfo. If you ever want to use your BeanInfo outside of
the VE you can't use IvjBeanInfo because it won't be available.

It will be in the BeanInfo's classpath automatically when running, but
in development of your BeanInfo, you need to add the jar to your
classpath in the project where the BeanInfo is being created. Also, your
BeanInfo must be in a separate jar from the EditParts stuff. They can't
be in the same jar.

To add it to your BeanInfo development project, go to the classpath and
go to the Libraries page, select Add Variable. On the dialog select
ECLIPSE_HOME and the Extend... button. Then select
plugins->org.eclipse.ve.jfc_1.0.2->vm->jfcbeaninfo.jar


ddd wrote:
> I'm trying to extend VE for a framework we use im a firm I'm working for. It
> is an internal framework that lets you write java applications that can be
> run as swing or html (no need for programer to know will the company that
> will use application run it as swing or html application or booth). So my
> yob is (or will be in near future) to make GUI builder for this framework.
>
> So I started to look for VE documentation, but there is no good
> documentation about how to start extending VE (nothing like 1. first you
> must... , 2. then you...) and then i found article from Janak Mulani &
> Sibylle Peter "Implementation of ULC Visual Editor for Eclipse". It is a
> good article describing lots of details but nothing like I want (as I wrote
> before step by step creating a first component and displying it in VE).
>
> After reading the mentioned document that explains that every component
> neads its EditPart and BeanInfo I downloaded ULC VE plugin and decompile it,
> and there I saw that authors wrote their BeanInfo classes by extending
> org.eclipse.ve.internal.jfc.beaninfo.IvjBeanInfo class. So I tried to do the
> same but I cannot import that class into my plugin . I simly cant find it.
> It seems like I dont have package org.eclipse.ve.internal.jfc.beaninfo, but
> when I look thesource of VE that I got from CVS i can find that class.
>
> So can you tell me why cant I import that class and if possible step by step
> guide how to extend VE in 15 words please.
>
> Thank you,
> Danijel
>
>
>
> "Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
> news:d0ib1q$3ar$1@www.eclipse.org...
>
>>Again, how are you intending to access IvjBeaninfo? The EditPart's do
>>not extend IvjBeanInfo, only the BeanInfo extend IvjBeanInfo.
>>
>>Instead of decompiling, it is a lot easier to just get the source off of
>>CVS. That way you have everything.
>>
>>SEe:
>>
>>
>
> http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /vep-home/WebContent/faq.html#install_cvs
>
>>ddd wrote:
>>
>>>Thank you for quick response...
>>>
>>>To be honest I must say that I decompiled some of ULC Visual Editor
>
> classes
>
>>>and I found that they extended
>>>org.eclipse.ve.internal.jfc.beaninfo.IvjBeanInfo for every EditPart. So
>
> I'm
>
>>>trying to do the same. I forgot to tell you tht iI'm using VE 1.0.2
>>>
>>>Is there any better way to do what I want?
>>>
>>>Thank you!
>>>
>>>
>>
>>--
>>Thanks,
>>Rich Kulp
>
>
>

--
Thanks,
Rich Kulp
Re: That was quick [message #82604 is a reply to message #82590] Mon, 07 March 2005 21:20 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

By the way, you will then want to have the source for IvjBeanInfo
attached to the class in your IDE. To do that, select the library from
the "Libraries" tab on the build path, hit the "+" and then select the
"Source" entry for it and the "Edit..." button. From there, hit the
"Variable" button and again select ECLIPSE_HOME and enter. Then hit the
"Extension" button and select
plugins->org.eclipse.ve.source_1.0.2->src->org.eclipse.ve.jfc_1.0.2- >vm->jfcbeaninfosrc.zip
--
Thanks,
Rich Kulp
Re: That was quick [message #605736 is a reply to message #82541] Mon, 07 March 2005 19:46 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Again, how are you intending to access IvjBeaninfo? The EditPart's do
not extend IvjBeanInfo, only the BeanInfo extend IvjBeanInfo.

Instead of decompiling, it is a lot easier to just get the source off of
CVS. That way you have everything.

SEe:

http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /vep-home/WebContent/faq.html#install_cvs

ddd wrote:
> Thank you for quick response...
>
> To be honest I must say that I decompiled some of ULC Visual Editor classes
> and I found that they extended
> org.eclipse.ve.internal.jfc.beaninfo.IvjBeanInfo for every EditPart. So I'm
> trying to do the same. I forgot to tell you tht iI'm using VE 1.0.2
>
> Is there any better way to do what I want?
>
> Thank you!
>
>

--
Thanks,
Rich Kulp
Re: That was quick [message #605738 is a reply to message #82563] Mon, 07 March 2005 20:26 Go to previous message
ddd is currently offline dddFriend
Messages: 33
Registered: July 2009
Member
I'm trying to extend VE for a framework we use im a firm I'm working for. It
is an internal framework that lets you write java applications that can be
run as swing or html (no need for programer to know will the company that
will use application run it as swing or html application or booth). So my
yob is (or will be in near future) to make GUI builder for this framework.

So I started to look for VE documentation, but there is no good
documentation about how to start extending VE (nothing like 1. first you
must... , 2. then you...) and then i found article from Janak Mulani &
Sibylle Peter "Implementation of ULC Visual Editor for Eclipse". It is a
good article describing lots of details but nothing like I want (as I wrote
before step by step creating a first component and displying it in VE).

After reading the mentioned document that explains that every component
neads its EditPart and BeanInfo I downloaded ULC VE plugin and decompile it,
and there I saw that authors wrote their BeanInfo classes by extending
org.eclipse.ve.internal.jfc.beaninfo.IvjBeanInfo class. So I tried to do the
same but I cannot import that class into my plugin . I simly cant find it.
It seems like I dont have package org.eclipse.ve.internal.jfc.beaninfo, but
when I look thesource of VE that I got from CVS i can find that class.

So can you tell me why cant I import that class and if possible step by step
guide how to extend VE in 15 words please.

Thank you,
Danijel



"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:d0ib1q$3ar$1@www.eclipse.org...
> Again, how are you intending to access IvjBeaninfo? The EditPart's do
> not extend IvjBeanInfo, only the BeanInfo extend IvjBeanInfo.
>
> Instead of decompiling, it is a lot easier to just get the source off of
> CVS. That way you have everything.
>
> SEe:
>
>
http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /vep-home/WebContent/faq.html#install_cvs
>
> ddd wrote:
> > Thank you for quick response...
> >
> > To be honest I must say that I decompiled some of ULC Visual Editor
classes
> > and I found that they extended
> > org.eclipse.ve.internal.jfc.beaninfo.IvjBeanInfo for every EditPart. So
I'm
> > trying to do the same. I forgot to tell you tht iI'm using VE 1.0.2
> >
> > Is there any better way to do what I want?
> >
> > Thank you!
> >
> >
>
> --
> Thanks,
> Rich Kulp
Re: That was quick [message #605740 is a reply to message #82575] Mon, 07 March 2005 21:13 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

The code is divided into two pieces, the EditParts stuff (these run in
Eclipse) and the BeanInfo (these run outside of Eclipse). The eclipse
code doesn't have access to the BeanInfo (directly) and the BeanInfo
doesn't have access to the Eclipse code.

If your BeanInfo will only be accessed from the VE, then it can
reference IvjBeanInfo. If you ever want to use your BeanInfo outside of
the VE you can't use IvjBeanInfo because it won't be available.

It will be in the BeanInfo's classpath automatically when running, but
in development of your BeanInfo, you need to add the jar to your
classpath in the project where the BeanInfo is being created. Also, your
BeanInfo must be in a separate jar from the EditParts stuff. They can't
be in the same jar.

To add it to your BeanInfo development project, go to the classpath and
go to the Libraries page, select Add Variable. On the dialog select
ECLIPSE_HOME and the Extend... button. Then select
plugins->org.eclipse.ve.jfc_1.0.2->vm->jfcbeaninfo.jar


ddd wrote:
> I'm trying to extend VE for a framework we use im a firm I'm working for. It
> is an internal framework that lets you write java applications that can be
> run as swing or html (no need for programer to know will the company that
> will use application run it as swing or html application or booth). So my
> yob is (or will be in near future) to make GUI builder for this framework.
>
> So I started to look for VE documentation, but there is no good
> documentation about how to start extending VE (nothing like 1. first you
> must... , 2. then you...) and then i found article from Janak Mulani &
> Sibylle Peter "Implementation of ULC Visual Editor for Eclipse". It is a
> good article describing lots of details but nothing like I want (as I wrote
> before step by step creating a first component and displying it in VE).
>
> After reading the mentioned document that explains that every component
> neads its EditPart and BeanInfo I downloaded ULC VE plugin and decompile it,
> and there I saw that authors wrote their BeanInfo classes by extending
> org.eclipse.ve.internal.jfc.beaninfo.IvjBeanInfo class. So I tried to do the
> same but I cannot import that class into my plugin . I simly cant find it.
> It seems like I dont have package org.eclipse.ve.internal.jfc.beaninfo, but
> when I look thesource of VE that I got from CVS i can find that class.
>
> So can you tell me why cant I import that class and if possible step by step
> guide how to extend VE in 15 words please.
>
> Thank you,
> Danijel
>
>
>
> "Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
> news:d0ib1q$3ar$1@www.eclipse.org...
>
>>Again, how are you intending to access IvjBeaninfo? The EditPart's do
>>not extend IvjBeanInfo, only the BeanInfo extend IvjBeanInfo.
>>
>>Instead of decompiling, it is a lot easier to just get the source off of
>>CVS. That way you have everything.
>>
>>SEe:
>>
>>
>
> http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /vep-home/WebContent/faq.html#install_cvs
>
>>ddd wrote:
>>
>>>Thank you for quick response...
>>>
>>>To be honest I must say that I decompiled some of ULC Visual Editor
>
> classes
>
>>>and I found that they extended
>>>org.eclipse.ve.internal.jfc.beaninfo.IvjBeanInfo for every EditPart. So
>
> I'm
>
>>>trying to do the same. I forgot to tell you tht iI'm using VE 1.0.2
>>>
>>>Is there any better way to do what I want?
>>>
>>>Thank you!
>>>
>>>
>>
>>--
>>Thanks,
>>Rich Kulp
>
>
>

--
Thanks,
Rich Kulp
Re: That was quick [message #605742 is a reply to message #82590] Mon, 07 March 2005 21:20 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

By the way, you will then want to have the source for IvjBeanInfo
attached to the class in your IDE. To do that, select the library from
the "Libraries" tab on the build path, hit the "+" and then select the
"Source" entry for it and the "Edit..." button. From there, hit the
"Variable" button and again select ECLIPSE_HOME and enter. Then hit the
"Extension" button and select
plugins->org.eclipse.ve.source_1.0.2->src->org.eclipse.ve.jfc_1.0.2- >vm->jfcbeaninfosrc.zip
--
Thanks,
Rich Kulp
Previous Topic:That was quick
Next Topic:Making VE work with firewalls on linux
Goto Forum:
  


Current Time: Thu Apr 18 02:07:12 GMT 2024

Powered by FUDForum. Page generated in 0.02024 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top