Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Problems to port an eclipse 2.1 plugin to 3.0
Problems to port an eclipse 2.1 plugin to 3.0 [message #31958] Thu, 22 April 2004 05:57 Go to next message
Eclipse UserFriend
Hi!

I've a plugin written for eclipse 2.1.
I've put the plugin in the eclipse 3M8 and a
error dialog appears with this text:

Plug-in com.mapfre.tron21.eclipse.ui.clasesvisuales was unable to load
class
org.eclipse.ve.internal.java.wizard.ClasspathWizardPAge.Regi steredClasspath.

The code of the plugin.xml is:

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
id="com.mapfre.tron21.eclipse.ui.clasesvisuales"
name="Clases Visuales Tron21 Plugin"
version="0.5.0"
provider-name="Mapfre Mutualidad">

<runtime>
<library name="plugin.jar"/>
</runtime>

<requires>
<import plugin="org.eclipse.ve.java.core"/>
</requires>

<extension
point="org.eclipse.jem.beaninfo.registrations">
<variable
path="CLASES_VISUALES">
<beaninfos>
<beaninfo
kind="plugin"

path=" /com.mapfre.tron21.eclipse.ui.clasesvisuales/pluginBeanInfo. jar ">
<searchpath
package="com.mapfre.trn.comun.cli.comp.beanInfo">
</searchpath>
</beaninfo>
</beaninfos>
</variable>
</extension>
<extension
point="org.eclipse.jdt.ui.classpathContainerPage">
<classpathContainerPage
name="Clases Visuales Tron21"

class=" org.eclipse.ve.internal.java.wizard.ClasspathWizardPage:CLAS ES_VISUALES "
id="com.mapfre.trn.comun.cli.comp.bean.classpathcontainerpage ">
</classpathContainerPage>
</extension>
<extension
point="org.eclipse.ve.java.core.registrations">
<variable
path="CLASES_VISUALES"

palettecats=" platform:/plugin/com.mapfre.tron21.eclipse.ui.clasesvisuales /clasesvisuales.xmi ">
<extend
runtime="plugin.jar"
source="plugin_src.zip"
prefix="src">
</extend>
</variable>
</extension>

</plugin>






What I must modify to run this plugin in eclipse 3.0?

Many Thanks!
Re: Problems to port an eclipse 2.1 plugin to 3.0 [message #32028 is a reply to message #31958] Thu, 22 April 2004 10:07 Go to previous messageGo to next message
Eclipse UserFriend
David Díaz wrote:
> What I must modify to run this plugin in eclipse 3.0?

Open Eclipse's online help. Then go to "Platform Plug-in Developer
Guide", then "Porting Guide."

If this does not answer your question, you should post additional
messages on the Eclipse.platform newsgroup and/or file Bugzilla bug reports.

This newsgroup is for people who are working with the visual editor, not
who are developing plug-ins.


Regards,

Dave
--
Dave Orme
Eclipse Visual Editor Project Lead
Advanced Systems Concepts' Chief Architect
http://www.swtworkbench.com
Re: Problems to port an eclipse 2.1 plugin to 3.0 [message #32098 is a reply to message #31958] Thu, 22 April 2004 10:27 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

First, did you install the 1.0.0 VE and its pre-reqs? 1.0.0 has a
different version of pre-reqs than 0.5.0 had.

Second, we know longer support the variables, we now support containers
because the variables support was always wierd.

For the classpath container page extension below use something like this
instead:

<extension
point="org.eclipse.jdt.ui.classpathContainerPage">
<classpathContainerPage
name="Examples"

class=" org.eclipse.ve.internal.java.wizard.RegisteredClasspathConta inerWizardPage "
id="org.eclipse.ve.examples.JavaExample">
</classpathContainerPage>
</extension>

<extension
point="org.eclipse.jdt.core.classpathContainerInitializer">
<classpathContainerInitializer

class=" org.eclipse.ve.internal.java.core.RegisteredClasspathContain erInitializer "
id="org.eclipse.ve.examples.JavaExample">
</classpathContainerInitializer>
</extension>

Replase the id="..." with the container id you want to use, something
like com.mapfre.tron21.clases_visuales.

In the above example name="Examples" is the string that will show up in
the "Add Library" page when updating your classpath. You can replace it
with "Clases Visuales Tron21"


The "org.eclipse.jem.beaninfo.registrations" extension point has changed
to use container instead. From your plugin.xml, go to the Extensions tab
page and select the registrations extension, then on the popup menu
select Show Description. This will show the new format of the beaninfo
registration. It is not that much different. You can look in
org.eclipse.ve.jfc/plugin.xml to see how the new format of the
registration looks.


The "org.eclipse.ve.java.core.registrations" extension point has
slightly changed. Use show description on it to see the new format. Also
it doesn't handle palette at this time (we intend to have it do so in
the future), but you can use "org.eclipse.ve.java.core.contributors"
extension point to supply the palette.

David Díaz wrote:
> Hi!
>
> I've a plugin written for eclipse 2.1.
> I've put the plugin in the eclipse 3M8 and a
> error dialog appears with this text:
>
> Plug-in com.mapfre.tron21.eclipse.ui.clasesvisuales was unable to load
> class
> org.eclipse.ve.internal.java.wizard.ClasspathWizardPAge.Regi steredClasspath.
>
> The code of the plugin.xml is:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?eclipse version="3.0"?>
> <plugin
> id="com.mapfre.tron21.eclipse.ui.clasesvisuales"
> name="Clases Visuales Tron21 Plugin"
> version="0.5.0"
> provider-name="Mapfre Mutualidad">
>
> <runtime>
> <library name="plugin.jar"/>
> </runtime>
>
> <requires>
> <import plugin="org.eclipse.ve.java.core"/>
> </requires>
>
> <extension
> point="org.eclipse.jem.beaninfo.registrations">
> <variable
> path="CLASES_VISUALES">
> <beaninfos>
> <beaninfo
> kind="plugin"
>
> path=" /com.mapfre.tron21.eclipse.ui.clasesvisuales/pluginBeanInfo. jar ">
> <searchpath
> package="com.mapfre.trn.comun.cli.comp.beanInfo">
> </searchpath>
> </beaninfo>
> </beaninfos>
> </variable>
> </extension>
> <extension
> point="org.eclipse.jdt.ui.classpathContainerPage">
> <classpathContainerPage
> name="Clases Visuales Tron21"
>
> class=" org.eclipse.ve.internal.java.wizard.ClasspathWizardPage:CLAS ES_VISUALES "
> id="com.mapfre.trn.comun.cli.comp.bean.classpathcontainerpage ">
> </classpathContainerPage>
> </extension>
> <extension
> point="org.eclipse.ve.java.core.registrations">
> <variable
> path="CLASES_VISUALES"
>
> palettecats=" platform:/plugin/com.mapfre.tron21.eclipse.ui.clasesvisuales /clasesvisuales.xmi ">
> <extend
> runtime="plugin.jar"
> source="plugin_src.zip"
> prefix="src">
> </extend>
> </variable>
> </extension>
>
> </plugin>
>
>
>
>
>
>
> What I must modify to run this plugin in eclipse 3.0?
>
> Many Thanks!
>
>

--
Thanks, Rich Kulp

Re: Problems to port an eclipse 2.1 plugin to 3.0 [message #586814 is a reply to message #31958] Thu, 22 April 2004 10:07 Go to previous message
Eclipse UserFriend
David Díaz wrote:
> What I must modify to run this plugin in eclipse 3.0?

Open Eclipse's online help. Then go to "Platform Plug-in Developer
Guide", then "Porting Guide."

If this does not answer your question, you should post additional
messages on the Eclipse.platform newsgroup and/or file Bugzilla bug reports.

This newsgroup is for people who are working with the visual editor, not
who are developing plug-ins.


Regards,

Dave
--
Dave Orme
Eclipse Visual Editor Project Lead
Advanced Systems Concepts' Chief Architect
http://www.swtworkbench.com
Re: Problems to port an eclipse 2.1 plugin to 3.0 [message #586844 is a reply to message #31958] Thu, 22 April 2004 10:27 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

First, did you install the 1.0.0 VE and its pre-reqs? 1.0.0 has a
different version of pre-reqs than 0.5.0 had.

Second, we know longer support the variables, we now support containers
because the variables support was always wierd.

For the classpath container page extension below use something like this
instead:

<extension
point="org.eclipse.jdt.ui.classpathContainerPage">
<classpathContainerPage
name="Examples"

class=" org.eclipse.ve.internal.java.wizard.RegisteredClasspathConta inerWizardPage "
id="org.eclipse.ve.examples.JavaExample">
</classpathContainerPage>
</extension>

<extension
point="org.eclipse.jdt.core.classpathContainerInitializer">
<classpathContainerInitializer

class=" org.eclipse.ve.internal.java.core.RegisteredClasspathContain erInitializer "
id="org.eclipse.ve.examples.JavaExample">
</classpathContainerInitializer>
</extension>

Replase the id="..." with the container id you want to use, something
like com.mapfre.tron21.clases_visuales.

In the above example name="Examples" is the string that will show up in
the "Add Library" page when updating your classpath. You can replace it
with "Clases Visuales Tron21"


The "org.eclipse.jem.beaninfo.registrations" extension point has changed
to use container instead. From your plugin.xml, go to the Extensions tab
page and select the registrations extension, then on the popup menu
select Show Description. This will show the new format of the beaninfo
registration. It is not that much different. You can look in
org.eclipse.ve.jfc/plugin.xml to see how the new format of the
registration looks.


The "org.eclipse.ve.java.core.registrations" extension point has
slightly changed. Use show description on it to see the new format. Also
it doesn't handle palette at this time (we intend to have it do so in
the future), but you can use "org.eclipse.ve.java.core.contributors"
extension point to supply the palette.

David Díaz wrote:
> Hi!
>
> I've a plugin written for eclipse 2.1.
> I've put the plugin in the eclipse 3M8 and a
> error dialog appears with this text:
>
> Plug-in com.mapfre.tron21.eclipse.ui.clasesvisuales was unable to load
> class
> org.eclipse.ve.internal.java.wizard.ClasspathWizardPAge.Regi steredClasspath.
>
> The code of the plugin.xml is:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?eclipse version="3.0"?>
> <plugin
> id="com.mapfre.tron21.eclipse.ui.clasesvisuales"
> name="Clases Visuales Tron21 Plugin"
> version="0.5.0"
> provider-name="Mapfre Mutualidad">
>
> <runtime>
> <library name="plugin.jar"/>
> </runtime>
>
> <requires>
> <import plugin="org.eclipse.ve.java.core"/>
> </requires>
>
> <extension
> point="org.eclipse.jem.beaninfo.registrations">
> <variable
> path="CLASES_VISUALES">
> <beaninfos>
> <beaninfo
> kind="plugin"
>
> path=" /com.mapfre.tron21.eclipse.ui.clasesvisuales/pluginBeanInfo. jar ">
> <searchpath
> package="com.mapfre.trn.comun.cli.comp.beanInfo">
> </searchpath>
> </beaninfo>
> </beaninfos>
> </variable>
> </extension>
> <extension
> point="org.eclipse.jdt.ui.classpathContainerPage">
> <classpathContainerPage
> name="Clases Visuales Tron21"
>
> class=" org.eclipse.ve.internal.java.wizard.ClasspathWizardPage:CLAS ES_VISUALES "
> id="com.mapfre.trn.comun.cli.comp.bean.classpathcontainerpage ">
> </classpathContainerPage>
> </extension>
> <extension
> point="org.eclipse.ve.java.core.registrations">
> <variable
> path="CLASES_VISUALES"
>
> palettecats=" platform:/plugin/com.mapfre.tron21.eclipse.ui.clasesvisuales /clasesvisuales.xmi ">
> <extend
> runtime="plugin.jar"
> source="plugin_src.zip"
> prefix="src">
> </extend>
> </variable>
> </extension>
>
> </plugin>
>
>
>
>
>
>
> What I must modify to run this plugin in eclipse 3.0?
>
> Many Thanks!
>
>

--
Thanks, Rich Kulp

Previous Topic:Performace Problem
Next Topic:Adding beans programmatically.
Goto Forum:
  


Current Time: Thu Jul 10 05:09:13 EDT 2025

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

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

Back to the top