Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Adding new Beans to the pallete
Adding new Beans to the pallete [message #20693] Wed, 25 February 2004 01:07 Go to next message
Eclipse UserFriend
Originally posted by: sibin.exorindia.com

Hi Everybody
Iam New to eclipse VE plugin.I want to add a new bean to the pallete.For
this purpose I created a new xmi entry so that I can append to the current
list of tools.But i have little idea about how to register the bean and
beaninfo classes.


Hope somebody will help me.

thank in advance.
Re: Adding new Beans to the pallete [message #20708 is a reply to message #20693] Wed, 25 February 2004 02:47 Go to previous messageGo to next message
Eclipse UserFriend
sibin,

You need to create a plugin for that. There is an excellent tutorial that
can help you :
http://www-106.ibm.com/developerworks/websphere/library/tech articles/0302_wi
nchester/winchester.html

Though it's about WSAD 5 (i.e. Eclipse 2.0) it gives you a good idea about
what's to be done.
Then you just have to look at the VE plugins to make it work (basically it's
the same principle, but some class names changed, same for the XMI file).

If you need additional help, I can send you the plugin I've done for my
palette.

Hope that helps,

S
Re: Adding new Beans to the pallete [message #20732 is a reply to message #20708] Thu, 26 February 2004 05:42 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sebastien,

We have a plug-in for WSAD 5.0.1 which we would like to port to Eclipse
2.1.2 and VE 0.5.0. Is there any documentation about the migration path
one needs to take?

If you can send me your palette plug-in for Eclipse 2.1.2, it will be of
big help in finding out the changes one needs to make to an WSAD plug-in.

Many thanks for your help

- Janak
janak.mulani@canoo.com

Sébastien Alonzo wrote:

> sibin,

> You need to create a plugin for that. There is an excellent tutorial that
> can help you :
> http://www-106.ibm.com/developerworks/websphere/library/tech articles/0302_wi
> nchester/winchester.html

> Though it's about WSAD 5 (i.e. Eclipse 2.0) it gives you a good idea about
> what's to be done.
> Then you just have to look at the VE plugins to make it work (basically it's
> the same principle, but some class names changed, same for the XMI file).

> If you need additional help, I can send you the plugin I've done for my
> palette.

> Hope that helps,

> Sébastien Alonzo
> mailto:salonzo@fr.ibm.com
Re: Adding new Beans to the pallete [message #20756 is a reply to message #20732] Thu, 26 February 2004 09:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mendelgili.netscape.net

The JFC palette is contributed in the org.eclipse.ve.jfc plugin.

No up-to-date documentation (beyond the one noted on this thread) at
this time. ... just so many hours in a day. If you write one, we will
be more than happy to post it on the VEP site. If you get stuck in your
port, feel free to ask here or on the mailing list.




janak wrote:

> Hi Sebastien,
>
> We have a plug-in for WSAD 5.0.1 which we would like to port to Eclipse
> 2.1.2 and VE 0.5.0. Is there any documentation about the migration path
> one needs to take?
>
> If you can send me your palette plug-in for Eclipse 2.1.2, it will be of
> big help in finding out the changes one needs to make to an WSAD plug-in.
>
> Many thanks for your help
>
> - Janak
> janak.mulani@canoo.com
>
> Sébastien Alonzo wrote:
>
>
\
Re: Adding new Beans to the pallete [message #20798 is a reply to message #20756] Thu, 26 February 2004 12:26 Go to previous messageGo to next message
Eclipse UserFriend
This is a multi-part message in MIME format.

------=_NextPart_000_0030_01C3FC96.0EB36E40
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0031_01C3FC96.0EB36E40"


------=_NextPart_001_0031_01C3FC96.0EB36E40
Content-Type: text/plain;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable

Actually I've already posted a tip to port palette plugins from WSAD 5.0 =
to Eclipse 2.1.2
Here it is :

Note that the starting point is the tutorial from Joe Winchester :=20
http://www-106.ibm.com/developerworks/websphere/library/tech articles/0302=
_winchester/winchester.html

Then you need to make some changes to plugin.xml and the palette xmi =
file.

For Eclipse 2.1.2 :
1) In the plugin manifest file (plugin.xml) :
The required plugins need to be changed from "com.ibm.etools.jbcf" to =
"org.eclipse.jem.beaninfo" and "org.eclipse.ve.java.core"
and extensions points need to be changed from =
"com.ibm.etools.jbcf.registrations" to =
"org.eclipse.ve.java.core.registrations"
and from "com.ibm.etools.beaninfo.registrations" to =
"org.eclipse.jem.beaninfo.registrations".

2) In the palette xmi file :
The XMI file namespaces are just slightly different :=20
a.. xmlns:palette needs to be changed from "palettecde.xmi" to =
"http:///org/eclipse/ve/internal/cde/palette.ecore",=20
b.. xmlns:cdm needs to be changed from "cdm.xmi" to =
"http:///org/eclipse/ve/internal/cdm.ecore",
c.. xlmns:utility needs to be changed from "utilitycde.xmi" to =
"http:///org/eclipse/ve/internal/cde/utility.ecore"

For WSAD 5.1 :
1) In the plugin manifest file (plugin.xml) :
The extension point "com.ibm.etools.beaninfo.registrations" must be =
changed into "com.ibm.etools.jbcf.registrations"

2) In the palette xmi file :
The XMI file namespaces have changed :=20
a.. xmlns:palette needs to be changed from "palettecde.xmi" to =
"http:///com/ibm/etools/cde/palette.ecore",=20
b.. xmlns:cdm needs to be changed from "cdm.xmi" to =
"http:///com/ibm/etools/cdm.ecore",
c.. xlmns:utility needs to be changed from "utilitycde.xmi" to =
"http:///com/ibm/etools/cde/utility.ecore"
That should be enough (it actually worked fine for me)

Anyway, I noticed some differences in the new XMI files, I don't know =
what they are about but I added it to my plugins anyway (I haven't =
noticed any differences in the plugin itself) :
1) Add New namespace declaration : =
xmlns:ecore=3D"http://www.eclipse.org/emf/2002/Ecore"
2) Remove all xmi:id attributes
3) Change all xmi:type values from "cdm:KeyedString" to =
"ecore:EStringToStringMapEntry"

That's all Folks !

Hope that helps.

P.S : if not my plugin files are attached


"Gili Mendel" <mendelgili@netscape.net> wrote in message =
news:c1kuk4$l2$1@eclipse.org...
> The JFC palette is contributed in the org.eclipse.ve.jfc plugin.
>=20
> No up-to-date documentation (beyond the one noted on this thread) at=20
> this time. ... just so many hours in a day. If you write one, we =
will=20
> be more than happy to post it on the VEP site. If you get stuck in =
your=20
> port, feel free to ask here or on the mailing list.
>=20
>=20
>=20
>=20
> janak wrote:
>=20
> > Hi Sebastien,
> >=20
> > We have a plug-in for WSAD 5.0.1 which we would like to port to =
Eclipse
> > 2.1.2 and VE 0.5.0. Is there any documentation about the migration =
path
> > one needs to take?
> >=20
> > If you can send me your palette plug-in for Eclipse 2.1.2, it will =
be of
> > big help in finding out the changes one needs to make to an WSAD =
plug-in.
> >=20
> > Many thanks for your help
> >=20
> > - Janak
> > janak.mulani@canoo.com
> >=20
> > S=E9bastien Alonzo wrote:
> >=20
> >=20
> \
>=20

------=_NextPart_001_0031_01C3FC96.0EB36E40
Content-Type: text/html;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-15">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Actually I've already posted a tip to =
port palette=20
plugins from WSAD 5.0 to Eclipse 2.1.2</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Here it is :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Note that the starting point is the =
tutorial from=20
Joe Winchester&nbsp;: </FONT></DIV>
<DIV><A=20
href=3D" http://www-106.ibm.com/developerworks/websphere/library/tech artic=
les/0302_winchester/winchester.html">http://www-106.ibm.com/developerwork=
s/websphere/library/techarticles/0302_winchester/winchester. html </A><BR><=
/DIV>
<DIV><FONT face=3DArial size=3D2>Then you need to make some changes to =
plugin.xml=20
and the palette xmi file.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><U>For Eclipse 2.1.2 :</U></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>1) In the plugin manifest file =
(plugin.xml)=20
:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The <EM>required plugins</EM> need to =
be changed=20
from "<FONT color=3D#008080><STRONG>com.ibm.etools.jbcf</STRONG></FONT >" =
to=20
"<STRONG><FONT color=3D#008080>org.eclipse.jem.beaninfo</FONT></STRONG>" =
and=20
"<STRONG><FONT =
color=3D#008080>org.eclipse.ve.java.core</FONT></STRONG>" <BR>and=20
<EM>extensions points</EM> need to be changed from "<FONT=20
color=3D#008080><STRONG>com.ibm.etools.jbcf.registrations</STRONG ></FONT>=
" to=20
"<STRONG><FONT=20
color=3D#008080>org.eclipse.ve.java.core.registrations</FONT ></STRONG>"</=
FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and from "<FONT=20
color=3D#008080><STRONG>com.ibm.etools.beaninfo.registrations </STRONG></F=
ONT>" to=20
"<STRONG><FONT=20
color=3D#008080>org.eclipse.jem.beaninfo.registrations</FONT ></STRONG>".<=
BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>2) In the palette xmi file =
:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The XMI file namespaces are just =
slightly different=20
: </FONT></DIV>
<UL>
<LI><FONT face=3DArial size=3D2>xmlns:palette needs to be changed from =
"<FONT=20
color=3D#0000ff><STRONG>palettecde.xmi</STRONG></FONT>" to =
"<STRONG><FONT=20
=
color=3D#0000ff>http:///org/eclipse/ve/internal/cde/palette.ecore</FONT><=
/STRONG></FONT><FONT=20
face=3DArial size=3D2>", </FONT></LI>
<LI><FONT face=3DArial size=3D2>xmlns:cdm needs to be changed from =
"<STRONG><FONT=20
color=3D#0000ff>cdm.xmi</FONT></STRONG>" to "<STRONG><FONT=20
=
color=3D#0000ff>http:///org/eclipse/ve/internal/cdm.ecore</FONT></STRONG>=
",</FONT></LI>
<LI><FONT face=3DArial size=3D2>xlmns:utility needs to be changed from =

"<STRONG><FONT color=3D#0000ff>utilitycde.xmi</FONT></STRONG>" to =
"<STRONG><FONT=20
=
color=3D#0000ff>http:///org/eclipse/ve/internal/cde/utility.ecore</FONT><=
/STRONG></FONT><FONT=20
face=3DArial size=3D2>"</FONT></LI></UL>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><U>For WSAD 5.1 :</U></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>1) In the plugin manifest file =
(plugin.xml)=20
:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The extension point "<FONT=20
color=3D#008080><STRONG>com.ibm.etools.beaninfo.registrations </STRONG></F=
ONT>"=20
must be changed into "<FONT=20
color=3D#008080><STRONG>com.ibm.etools.jbcf.registrations</STRONG ></FONT>=
"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>2) In the palette xmi file =
:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The XMI file namespaces have changed :=20
</FONT></DIV>
<UL>
<LI><FONT face=3DArial size=3D2>xmlns:palette needs to be changed from =
"<FONT=20
color=3D#0000ff><STRONG>palettecde.xmi</STRONG></FONT>" to =
"<STRONG><FONT=20
=
color=3D#0000ff>http:///com/ibm/etools/cde/palette.ecore</FONT></STRONG><=
/FONT><FONT=20
face=3DArial size=3D2>", </FONT></LI>
<LI><FONT face=3DArial size=3D2>xmlns:cdm needs to be changed from =
"<STRONG><FONT=20
color=3D#0000ff>cdm.xmi</FONT></STRONG>" to "<STRONG><FONT=20
=
color=3D#0000ff>http:///com/ibm/etools/cdm.ecore</FONT></STRONG>",</FONT>=
</LI>
<LI><FONT face=3DArial size=3D2>xlmns:utility needs to be changed from =

"<STRONG><FONT color=3D#0000ff>utilitycde.xmi</FONT></STRONG>" to =
"<STRONG><FONT=20
=
color=3D#0000ff>http:///com/ibm/etools/cde/utility.ecore</FONT></STRONG><=
/FONT><FONT=20
face=3DArial size=3D2>"</FONT></LI></UL>
<DIV><FONT face=3DArial size=3D2>That should be enough (it actually =
worked fine for=20
me)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><FONT=20
face=3DArial size=3D2></FONT><FONT face=3DArial size=3D2></FONT><FONT =
face=3DArial=20
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Anyway, I&nbsp;noticed some differences =
in the new=20
XMI files, I don't know what they are about but I added it to my plugins =
anyway=20
(I haven't noticed any differences in the plugin itself) :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>1) Add New namespace declaration : =
xmlns:ecore=3D"<A=20
href=3D"http://www.eclipse.org/emf/2002/Ecore">http://www.eclipse.org/emf=
/2002/Ecore</A>"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>2) Remove all <STRONG>xmi:id</STRONG>=20
attributes</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>3) Change =
all&nbsp;<STRONG>xmi:type</STRONG> values=20
from "<FONT color=3D#008080><STRONG>cdm:KeyedString</STRONG></FONT>" to=20
"<STRONG><FONT=20
color=3D#008080>ecore:EStringToStringMapEntry</FONT></STRONG >"</FONT></DI=
V>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>That's all Folks !</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Hope that helps.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>P.S : if not my plugin files are=20
attached</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>"Gili Mendel" &lt;</FONT><A=20
href=3D"mailto:mendelgili@netscape.net"><FONT face=3DArial=20
size=3D2>mendelgili@netscape.net</FONT></A><FONT face=3DArial =
size=3D2>&gt; wrote in=20
message </FONT><A href=3D"news:c1kuk4$l2$1@eclipse.org"><FONT =
face=3DArial=20
size=3D2>news:c1kuk4$l2$1@eclipse.org</FONT></A><FONT face=3DArial=20
size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>&gt; The JFC =
palette is=20
contributed in the org.eclipse.ve.jfc plugin.<BR>&gt; <BR>&gt; No =
up-to-date=20
documentation (beyond the one noted on this thread) at <BR>&gt; this =
time.&nbsp;=20
.... just so many hours in a day.&nbsp; If you write one, we will =
<BR>&gt; be=20
more than happy to post it on the VEP site.&nbsp; If you get stuck in =
your=20
<BR>&gt; port, feel free to ask here or on the mailing list.<BR>&gt; =
<BR>&gt;=20
<BR>&gt; <BR>&gt; <BR>&gt; janak wrote:<BR>&gt; <BR>&gt; &gt; Hi=20
Sebastien,<BR>&gt; &gt; <BR>&gt; &gt; We have a plug-in for WSAD 5.0.1 =
which we=20
would like to port to Eclipse<BR>&gt; &gt; 2.1.2 and VE 0.5.0.&nbsp; Is =
there=20
any documentation about the migration path<BR>&gt; &gt; one needs to=20
take?<BR>&gt; &gt; <BR>&gt; &gt; If you can send me your palette plug-in =
for=20
Eclipse 2.1.2, it will be of<BR>&gt; &gt; big help in finding out the =
changes=20
one needs to make to an WSAD plug-in.<BR>&gt; &gt; <BR>&gt; &gt; Many =
thanks for=20
your help<BR>&gt; &gt; <BR>&gt; &gt; - Janak<BR>&gt; &gt;&nbsp;&nbsp; =
</FONT><A=20
href=3D"mailto:janak.mulani@canoo.com"><FONT face=3DArial=20
size=3D2>janak.mulani@canoo.com</FONT></A><BR><FONT face=3DArial =
size=3D2>&gt; &gt;=20
<BR>&gt; &gt; S=E9bastien Alonzo wrote:<BR>&gt; &gt; <BR>&gt; &gt; =
<BR>&gt;=20
\<BR>&gt; </FONT></BODY></HTML>

------=_NextPart_001_0031_01C3FC96.0EB36E40--

------=_NextPart_000_0030_01C3FC96.0EB36E40
Content-Type: application/octet-stream;
name="Palette.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="Palette.zip"

UEsDBBQAAAAIAC2OWjDT5eH73gIAANQcAAAdAAAAY2FseXBzb3BhbGV0dGVf RWNsaXBzZTIxMi54
bWnNmU9vmzAYh8+ZtO+AvDtOe9gBkUotSqdK7Q5tp/XqgEOdGhvZJn++/Qx2 WiBE69CklxMKvP69
DzyOEyDeFyx6ebgL6u2WKs2kWKDLcI7sHi50ZPcv0KsxZYTxbrcLZZGHUuXY jkFfvwS+iqZS0U4d
T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8kZQ1
AleHAzQu2OktfT0jMe3xD/X8X8ty6FOAc6Cks838S7cyVF6JsAmnxr07d1i+ LXG8gm1W2dGMdg9P
zAbr0u7Kkac1NSnvaEnt9sr/8xesxkqhoNlfTrB/jLvM/OE3UEsBAhQAFAAA AAgALY5aMNPl4fve
AgAA1BwAAB0AAAAAAAAAAQAgALaBAAAAAGNhbHlwc29wYWxldHRlX0VjbGlw c2UyMTIueG1pUEsB
AhQAFAAAAAgAK45aMJqpiQXXAgAA/xsAABkAAAAAAAAAAQAgALaBGQMAAGNh bHlwc29wYWxldHRl
X1dTQUQ1MS54bWlQSwECFAAUAAAACABNSTQwchx0rPYBAAA2BgAAFQAAAAAA AAABACAAtoEnBgAA
cGx1Z2luX0VjbGlwc2UyMTIueG1sUEsBAhQAFAAAAAgAt3A6MAfPr/DjAQAA wAUAABEAAAAAAAAA
AQAgALaBUAgAAHBsdWdpbl9XU0FENTEueG1sUEsFBgAAAAAEAAQAFAEAAGIK AAAAAA==

------=_NextPart_000_0030_01C3FC96.0EB36E40--
Re: Adding new Beans to the pallete [message #20811 is a reply to message #20798] Thu, 26 February 2004 12:53 Go to previous message
Eclipse UserFriend
This is a multi-part message in MIME format.

------=_NextPart_000_0040_01C3FC99.CE618800
Content-Type: text/plain;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable

Well, I seem to have press "Send" a bit sooner than I should have ...

There are some steps missing (some important, some very important ;-))

In the plugin manifest (plugin.xml) you should change the extension =
point for Eclipse 2.1.2 "org.eclipse.jdt.ui.classpathContainerPage" :
"com.ibm.etools.jbcf.internal.ClasspathWizardPage" becomes =
"org.eclipse.ve.internal.java.wizard.ClasspathWizardPage"
(nothing to change for WSAD 5.1)

In the palette XMI file : the key attribute for the <values> tag is =
different for Eclipse 2.1.2 :
"com.ibm.etools.cde.nameincomposition" becomes =
"org.eclipse.ve.internal.cde.core.nameincomposition"
(again, nothing to change for WSAD)

Now, that's all (really)

------=_NextPart_000_0040_01C3FC99.CE618800
Content-Type: text/html;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-15">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Well, I seem to have press "Send" a bit =
sooner than=20
I&nbsp;should have ...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>There are&nbsp;some steps missing (some =

important,&nbsp;some very important ;-))</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>In the plugin manifest =
(plugin.xml)&nbsp;you should=20
change&nbsp;the extension point for Eclipse=20
2.1.2&nbsp;"<STRONG>org.eclipse.jdt.ui.classpathContainerPage </STRONG>"=20
:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>"<STRONG><FONT=20
color=3D#008080>com.ibm.etools.jbcf.internal.ClasspathWizardPage </FONT></=
STRONG>"=20
becomes "<STRONG><FONT=20
color=3D#008080>org.eclipse.ve.internal.java.wizard.ClasspathWizardPage </=
FONT></STRONG>"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>(nothing to&nbsp;change for WSAD =
5.1)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>In the palette XMI file : the =
<STRONG>key</STRONG>=20
attribute for the <STRONG>&lt;values&gt;</STRONG> tag is different for =
Eclipse=20
2.1.2 :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>"<STRONG><FONT=20
color=3D#008080>com.ibm.etools.cde.nameincomposition</FONT ></STRONG>" =
becomes=20
"<STRONG><FONT=20
color=3D#008080>org.eclipse.ve.internal.cde.core.nameincomposition </FONT>=
</STRONG>"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>(again, nothing to change for =
WSAD)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Now, that's all =
(really)</FONT></DIV></BODY></HTML>

------=_NextPart_000_0040_01C3FC99.CE618800--
Re: Adding new Beans to the pallete [message #582389 is a reply to message #20693] Wed, 25 February 2004 02:47 Go to previous message
Eclipse UserFriend
sibin,

You need to create a plugin for that. There is an excellent tutorial that
can help you :
http://www-106.ibm.com/developerworks/websphere/library/tech articles/0302_wi
nchester/winchester.html

Though it's about WSAD 5 (i.e. Eclipse 2.0) it gives you a good idea about
what's to be done.
Then you just have to look at the VE plugins to make it work (basically it's
the same principle, but some class names changed, same for the XMI file).

If you need additional help, I can send you the plugin I've done for my
palette.

Hope that helps,

S
Re: Adding new Beans to the pallete [message #582418 is a reply to message #20708] Thu, 26 February 2004 05:42 Go to previous message
Eclipse UserFriend
Hi Sebastien,

We have a plug-in for WSAD 5.0.1 which we would like to port to Eclipse
2.1.2 and VE 0.5.0. Is there any documentation about the migration path
one needs to take?

If you can send me your palette plug-in for Eclipse 2.1.2, it will be of
big help in finding out the changes one needs to make to an WSAD plug-in.

Many thanks for your help

- Janak
janak.mulani@canoo.com

Sébastien Alonzo wrote:

> sibin,

> You need to create a plugin for that. There is an excellent tutorial that
> can help you :
> http://www-106.ibm.com/developerworks/websphere/library/tech articles/0302_wi
> nchester/winchester.html

> Though it's about WSAD 5 (i.e. Eclipse 2.0) it gives you a good idea about
> what's to be done.
> Then you just have to look at the VE plugins to make it work (basically it's
> the same principle, but some class names changed, same for the XMI file).

> If you need additional help, I can send you the plugin I've done for my
> palette.

> Hope that helps,

> Sébastien Alonzo
> mailto:salonzo@fr.ibm.com
Re: Adding new Beans to the pallete [message #582461 is a reply to message #20732] Thu, 26 February 2004 09:11 Go to previous message
Eclipse UserFriend
The JFC palette is contributed in the org.eclipse.ve.jfc plugin.

No up-to-date documentation (beyond the one noted on this thread) at
this time. ... just so many hours in a day. If you write one, we will
be more than happy to post it on the VEP site. If you get stuck in your
port, feel free to ask here or on the mailing list.




janak wrote:

> Hi Sebastien,
>
> We have a plug-in for WSAD 5.0.1 which we would like to port to Eclipse
> 2.1.2 and VE 0.5.0. Is there any documentation about the migration path
> one needs to take?
>
> If you can send me your palette plug-in for Eclipse 2.1.2, it will be of
> big help in finding out the changes one needs to make to an WSAD plug-in.
>
> Many thanks for your help
>
> - Janak
> janak.mulani@canoo.com
>
> Sébastien Alonzo wrote:
>
>
\
Re: Adding new Beans to the pallete [message #582515 is a reply to message #20756] Thu, 26 February 2004 12:26 Go to previous message
Eclipse UserFriend
This is a multi-part message in MIME format.

------=_NextPart_000_0030_01C3FC96.0EB36E40
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0031_01C3FC96.0EB36E40"


------=_NextPart_001_0031_01C3FC96.0EB36E40
Content-Type: text/plain;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable

Actually I've already posted a tip to port palette plugins from WSAD 5.0 =
to Eclipse 2.1.2
Here it is :

Note that the starting point is the tutorial from Joe Winchester :=20
http://www-106.ibm.com/developerworks/websphere/library/tech articles/0302=
_winchester/winchester.html

Then you need to make some changes to plugin.xml and the palette xmi =
file.

For Eclipse 2.1.2 :
1) In the plugin manifest file (plugin.xml) :
The required plugins need to be changed from "com.ibm.etools.jbcf" to =
"org.eclipse.jem.beaninfo" and "org.eclipse.ve.java.core"
and extensions points need to be changed from =
"com.ibm.etools.jbcf.registrations" to =
"org.eclipse.ve.java.core.registrations"
and from "com.ibm.etools.beaninfo.registrations" to =
"org.eclipse.jem.beaninfo.registrations".

2) In the palette xmi file :
The XMI file namespaces are just slightly different :=20
a.. xmlns:palette needs to be changed from "palettecde.xmi" to =
"http:///org/eclipse/ve/internal/cde/palette.ecore",=20
b.. xmlns:cdm needs to be changed from "cdm.xmi" to =
"http:///org/eclipse/ve/internal/cdm.ecore",
c.. xlmns:utility needs to be changed from "utilitycde.xmi" to =
"http:///org/eclipse/ve/internal/cde/utility.ecore"

For WSAD 5.1 :
1) In the plugin manifest file (plugin.xml) :
The extension point "com.ibm.etools.beaninfo.registrations" must be =
changed into "com.ibm.etools.jbcf.registrations"

2) In the palette xmi file :
The XMI file namespaces have changed :=20
a.. xmlns:palette needs to be changed from "palettecde.xmi" to =
"http:///com/ibm/etools/cde/palette.ecore",=20
b.. xmlns:cdm needs to be changed from "cdm.xmi" to =
"http:///com/ibm/etools/cdm.ecore",
c.. xlmns:utility needs to be changed from "utilitycde.xmi" to =
"http:///com/ibm/etools/cde/utility.ecore"
That should be enough (it actually worked fine for me)

Anyway, I noticed some differences in the new XMI files, I don't know =
what they are about but I added it to my plugins anyway (I haven't =
noticed any differences in the plugin itself) :
1) Add New namespace declaration : =
xmlns:ecore=3D"http://www.eclipse.org/emf/2002/Ecore"
2) Remove all xmi:id attributes
3) Change all xmi:type values from "cdm:KeyedString" to =
"ecore:EStringToStringMapEntry"

That's all Folks !

Hope that helps.

P.S : if not my plugin files are attached


"Gili Mendel" <mendelgili@netscape.net> wrote in message =
news:c1kuk4$l2$1@eclipse.org...
> The JFC palette is contributed in the org.eclipse.ve.jfc plugin.
>=20
> No up-to-date documentation (beyond the one noted on this thread) at=20
> this time. ... just so many hours in a day. If you write one, we =
will=20
> be more than happy to post it on the VEP site. If you get stuck in =
your=20
> port, feel free to ask here or on the mailing list.
>=20
>=20
>=20
>=20
> janak wrote:
>=20
> > Hi Sebastien,
> >=20
> > We have a plug-in for WSAD 5.0.1 which we would like to port to =
Eclipse
> > 2.1.2 and VE 0.5.0. Is there any documentation about the migration =
path
> > one needs to take?
> >=20
> > If you can send me your palette plug-in for Eclipse 2.1.2, it will =
be of
> > big help in finding out the changes one needs to make to an WSAD =
plug-in.
> >=20
> > Many thanks for your help
> >=20
> > - Janak
> > janak.mulani@canoo.com
> >=20
> > S=E9bastien Alonzo wrote:
> >=20
> >=20
> \
>=20

------=_NextPart_001_0031_01C3FC96.0EB36E40
Content-Type: text/html;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-15">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Actually I've already posted a tip to =
port palette=20
plugins from WSAD 5.0 to Eclipse 2.1.2</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Here it is :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Note that the starting point is the =
tutorial from=20
Joe Winchester&nbsp;: </FONT></DIV>
<DIV><A=20
href=3D" http://www-106.ibm.com/developerworks/websphere/library/tech artic=
les/0302_winchester/winchester.html">http://www-106.ibm.com/developerwork=
s/websphere/library/techarticles/0302_winchester/winchester. html </A><BR><=
/DIV>
<DIV><FONT face=3DArial size=3D2>Then you need to make some changes to =
plugin.xml=20
and the palette xmi file.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><U>For Eclipse 2.1.2 :</U></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>1) In the plugin manifest file =
(plugin.xml)=20
:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The <EM>required plugins</EM> need to =
be changed=20
from "<FONT color=3D#008080><STRONG>com.ibm.etools.jbcf</STRONG></FONT >" =
to=20
"<STRONG><FONT color=3D#008080>org.eclipse.jem.beaninfo</FONT></STRONG>" =
and=20
"<STRONG><FONT =
color=3D#008080>org.eclipse.ve.java.core</FONT></STRONG>" <BR>and=20
<EM>extensions points</EM> need to be changed from "<FONT=20
color=3D#008080><STRONG>com.ibm.etools.jbcf.registrations</STRONG ></FONT>=
" to=20
"<STRONG><FONT=20
color=3D#008080>org.eclipse.ve.java.core.registrations</FONT ></STRONG>"</=
FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and from "<FONT=20
color=3D#008080><STRONG>com.ibm.etools.beaninfo.registrations </STRONG></F=
ONT>" to=20
"<STRONG><FONT=20
color=3D#008080>org.eclipse.jem.beaninfo.registrations</FONT ></STRONG>".<=
BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>2) In the palette xmi file =
:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The XMI file namespaces are just =
slightly different=20
: </FONT></DIV>
<UL>
<LI><FONT face=3DArial size=3D2>xmlns:palette needs to be changed from =
"<FONT=20
color=3D#0000ff><STRONG>palettecde.xmi</STRONG></FONT>" to =
"<STRONG><FONT=20
=
color=3D#0000ff>http:///org/eclipse/ve/internal/cde/palette.ecore</FONT><=
/STRONG></FONT><FONT=20
face=3DArial size=3D2>", </FONT></LI>
<LI><FONT face=3DArial size=3D2>xmlns:cdm needs to be changed from =
"<STRONG><FONT=20
color=3D#0000ff>cdm.xmi</FONT></STRONG>" to "<STRONG><FONT=20
=
color=3D#0000ff>http:///org/eclipse/ve/internal/cdm.ecore</FONT></STRONG>=
",</FONT></LI>
<LI><FONT face=3DArial size=3D2>xlmns:utility needs to be changed from =

"<STRONG><FONT color=3D#0000ff>utilitycde.xmi</FONT></STRONG>" to =
"<STRONG><FONT=20
=
color=3D#0000ff>http:///org/eclipse/ve/internal/cde/utility.ecore</FONT><=
/STRONG></FONT><FONT=20
face=3DArial size=3D2>"</FONT></LI></UL>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><U>For WSAD 5.1 :</U></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>1) In the plugin manifest file =
(plugin.xml)=20
:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The extension point "<FONT=20
color=3D#008080><STRONG>com.ibm.etools.beaninfo.registrations </STRONG></F=
ONT>"=20
must be changed into "<FONT=20
color=3D#008080><STRONG>com.ibm.etools.jbcf.registrations</STRONG ></FONT>=
"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>2) In the palette xmi file =
:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The XMI file namespaces have changed :=20
</FONT></DIV>
<UL>
<LI><FONT face=3DArial size=3D2>xmlns:palette needs to be changed from =
"<FONT=20
color=3D#0000ff><STRONG>palettecde.xmi</STRONG></FONT>" to =
"<STRONG><FONT=20
=
color=3D#0000ff>http:///com/ibm/etools/cde/palette.ecore</FONT></STRONG><=
/FONT><FONT=20
face=3DArial size=3D2>", </FONT></LI>
<LI><FONT face=3DArial size=3D2>xmlns:cdm needs to be changed from =
"<STRONG><FONT=20
color=3D#0000ff>cdm.xmi</FONT></STRONG>" to "<STRONG><FONT=20
=
color=3D#0000ff>http:///com/ibm/etools/cdm.ecore</FONT></STRONG>",</FONT>=
</LI>
<LI><FONT face=3DArial size=3D2>xlmns:utility needs to be changed from =

"<STRONG><FONT color=3D#0000ff>utilitycde.xmi</FONT></STRONG>" to =
"<STRONG><FONT=20
=
color=3D#0000ff>http:///com/ibm/etools/cde/utility.ecore</FONT></STRONG><=
/FONT><FONT=20
face=3DArial size=3D2>"</FONT></LI></UL>
<DIV><FONT face=3DArial size=3D2>That should be enough (it actually =
worked fine for=20
me)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><FONT=20
face=3DArial size=3D2></FONT><FONT face=3DArial size=3D2></FONT><FONT =
face=3DArial=20
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Anyway, I&nbsp;noticed some differences =
in the new=20
XMI files, I don't know what they are about but I added it to my plugins =
anyway=20
(I haven't noticed any differences in the plugin itself) :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>1) Add New namespace declaration : =
xmlns:ecore=3D"<A=20
href=3D"http://www.eclipse.org/emf/2002/Ecore">http://www.eclipse.org/emf=
/2002/Ecore</A>"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>2) Remove all <STRONG>xmi:id</STRONG>=20
attributes</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>3) Change =
all&nbsp;<STRONG>xmi:type</STRONG> values=20
from "<FONT color=3D#008080><STRONG>cdm:KeyedString</STRONG></FONT>" to=20
"<STRONG><FONT=20
color=3D#008080>ecore:EStringToStringMapEntry</FONT></STRONG >"</FONT></DI=
V>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>That's all Folks !</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Hope that helps.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>P.S : if not my plugin files are=20
attached</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>"Gili Mendel" &lt;</FONT><A=20
href=3D"mailto:mendelgili@netscape.net"><FONT face=3DArial=20
size=3D2>mendelgili@netscape.net</FONT></A><FONT face=3DArial =
size=3D2>&gt; wrote in=20
message </FONT><A href=3D"news:c1kuk4$l2$1@eclipse.org"><FONT =
face=3DArial=20
size=3D2>news:c1kuk4$l2$1@eclipse.org</FONT></A><FONT face=3DArial=20
size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>&gt; The JFC =
palette is=20
contributed in the org.eclipse.ve.jfc plugin.<BR>&gt; <BR>&gt; No =
up-to-date=20
documentation (beyond the one noted on this thread) at <BR>&gt; this =
time.&nbsp;=20
.... just so many hours in a day.&nbsp; If you write one, we will =
<BR>&gt; be=20
more than happy to post it on the VEP site.&nbsp; If you get stuck in =
your=20
<BR>&gt; port, feel free to ask here or on the mailing list.<BR>&gt; =
<BR>&gt;=20
<BR>&gt; <BR>&gt; <BR>&gt; janak wrote:<BR>&gt; <BR>&gt; &gt; Hi=20
Sebastien,<BR>&gt; &gt; <BR>&gt; &gt; We have a plug-in for WSAD 5.0.1 =
which we=20
would like to port to Eclipse<BR>&gt; &gt; 2.1.2 and VE 0.5.0.&nbsp; Is =
there=20
any documentation about the migration path<BR>&gt; &gt; one needs to=20
take?<BR>&gt; &gt; <BR>&gt; &gt; If you can send me your palette plug-in =
for=20
Eclipse 2.1.2, it will be of<BR>&gt; &gt; big help in finding out the =
changes=20
one needs to make to an WSAD plug-in.<BR>&gt; &gt; <BR>&gt; &gt; Many =
thanks for=20
your help<BR>&gt; &gt; <BR>&gt; &gt; - Janak<BR>&gt; &gt;&nbsp;&nbsp; =
</FONT><A=20
href=3D"mailto:janak.mulani@canoo.com"><FONT face=3DArial=20
size=3D2>janak.mulani@canoo.com</FONT></A><BR><FONT face=3DArial =
size=3D2>&gt; &gt;=20
<BR>&gt; &gt; S=E9bastien Alonzo wrote:<BR>&gt; &gt; <BR>&gt; &gt; =
<BR>&gt;=20
\<BR>&gt; </FONT></BODY></HTML>

------=_NextPart_001_0031_01C3FC96.0EB36E40--

------=_NextPart_000_0030_01C3FC96.0EB36E40
Content-Type: application/octet-stream;
name="Palette.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="Palette.zip"

UEsDBBQAAAAIAC2OWjDT5eH73gIAANQcAAAdAAAAY2FseXBzb3BhbGV0dGVf RWNsaXBzZTIxMi54
bWnNmU9vmzAYh8+ZtO+AvDtOe9gBkUotSqdK7Q5tp/XqgEOdGhvZJn++/Qx2 WiBE69CklxMKvP69
DzyOEyDeFyx6ebgL6u2WKs2kWKDLcI7sHi50ZPcv0KsxZYTxbrcLZZGHUuXY jkFfvwS+iqZS0U4d
TTkrNW1qabHGl/P5JV7WZSj4GFcSTo35GImbcjcUbylmwlAlCMdpRrEvDptm reZpVnwmoPADW+0r
wzgzh8+198U+5SqwObPYM0UJMTSX6pAUZXMpWbZAKTEX6MpWzeLUH74nK8qD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E3UEsBAhQAFAAA AAgALY5aMNPl4fve
AgAA1BwAAB0AAAAAAAAAAQAgALaBAAAAAGNhbHlwc29wYWxldHRlX0VjbGlw c2UyMTIueG1pUEsB
AhQAFAAAAAgAK45aMJqpiQXXAgAA/xsAABkAAAAAAAAAAQAgALaBGQMAAGNh bHlwc29wYWxldHRl
X1dTQUQ1MS54bWlQSwECFAAUAAAACABNSTQwchx0rPYBAAA2BgAAFQAAAAAA AAABACAAtoEnBgAA
cGx1Z2luX0VjbGlwc2UyMTIueG1sUEsBAhQAFAAAAAgAt3A6MAfPr/DjAQAA wAUAABEAAAAAAAAA
AQAgALaBUAgAAHBsdWdpbl9XU0FENTEueG1sUEsFBgAAAAAEAAQAFAEAAGIK AAAAAA==

------=_NextPart_000_0030_01C3FC96.0EB36E40--
Re: Adding new Beans to the pallete [message #582525 is a reply to message #20798] Thu, 26 February 2004 12:53 Go to previous message
Eclipse UserFriend
This is a multi-part message in MIME format.

------=_NextPart_000_0040_01C3FC99.CE618800
Content-Type: text/plain;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable

Well, I seem to have press "Send" a bit sooner than I should have ...

There are some steps missing (some important, some very important ;-))

In the plugin manifest (plugin.xml) you should change the extension =
point for Eclipse 2.1.2 "org.eclipse.jdt.ui.classpathContainerPage" :
"com.ibm.etools.jbcf.internal.ClasspathWizardPage" becomes =
"org.eclipse.ve.internal.java.wizard.ClasspathWizardPage"
(nothing to change for WSAD 5.1)

In the palette XMI file : the key attribute for the <values> tag is =
different for Eclipse 2.1.2 :
"com.ibm.etools.cde.nameincomposition" becomes =
"org.eclipse.ve.internal.cde.core.nameincomposition"
(again, nothing to change for WSAD)

Now, that's all (really)

------=_NextPart_000_0040_01C3FC99.CE618800
Content-Type: text/html;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-15">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Well, I seem to have press "Send" a bit =
sooner than=20
I&nbsp;should have ...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>There are&nbsp;some steps missing (some =

important,&nbsp;some very important ;-))</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>In the plugin manifest =
(plugin.xml)&nbsp;you should=20
change&nbsp;the extension point for Eclipse=20
2.1.2&nbsp;"<STRONG>org.eclipse.jdt.ui.classpathContainerPage </STRONG>"=20
:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>"<STRONG><FONT=20
color=3D#008080>com.ibm.etools.jbcf.internal.ClasspathWizardPage </FONT></=
STRONG>"=20
becomes "<STRONG><FONT=20
color=3D#008080>org.eclipse.ve.internal.java.wizard.ClasspathWizardPage </=
FONT></STRONG>"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>(nothing to&nbsp;change for WSAD =
5.1)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>In the palette XMI file : the =
<STRONG>key</STRONG>=20
attribute for the <STRONG>&lt;values&gt;</STRONG> tag is different for =
Eclipse=20
2.1.2 :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>"<STRONG><FONT=20
color=3D#008080>com.ibm.etools.cde.nameincomposition</FONT ></STRONG>" =
becomes=20
"<STRONG><FONT=20
color=3D#008080>org.eclipse.ve.internal.cde.core.nameincomposition </FONT>=
</STRONG>"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>(again, nothing to change for =
WSAD)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Now, that's all =
(really)</FONT></DIV></BODY></HTML>

------=_NextPart_000_0040_01C3FC99.CE618800--
Previous Topic:New to VE
Next Topic:Install Problems
Goto Forum:
  


Current Time: Sat Jul 12 21:28:48 EDT 2025

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

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

Back to the top