Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Error loading file "platform:/plugin/com.abc.ve/overrides/com/abc/MyButton.overr
Error loading file "platform:/plugin/com.abc.ve/overrides/com/abc/MyButton.overr [message #67026] Thu, 14 October 2004 10:05 Go to next message
Eclipse UserFriend
Originally posted by: txfen.hands.com.my

Hello, I'm facing a problem extending the palette in Eclipse 2.1.3 VE
0.5.0.

I have a few components, such as MyButton which extends
java.awt.Component. Extending the palette is not a problem, but when i
place the component onto the designer, the "Java Bean View" of eclipse
does not show the icon for this component for me. In fact, it shows a
JavaBean icon.

I've written a few override files,

Example of my override file (MyButton.override):
---------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<event:Add xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:org.eclipse.ve.internal.cde.decorators="http:///org/eclipse/ve/internal/cde/decorators.ecore"

xmlns:org.eclipse.ve.internal.cde.utility="http:///org/eclipse/ve/internal/cde/utility.ecore"
xmlns:event="event.xmi"
featureName="eAnnotations">
<addedEObjects
xsi:type=" org.eclipse.ve.internal.cde.decorators:ClassDescriptorDecora tor ">
<graphic xsi:type="org.eclipse.ve.internal.cde.utility:GIFFileGraphic "
resourceName="platform:/plugin/com.abc.ve/icons/MyButtongif "/>
</addedEObjects>
</event:Add>

---------------------------------------------------

Part of my plugin.xml:
---------------------------------------------------
<extension point="org.eclipse.jem.beaninfo.overrides">

<override
package="com.abc"
path="platform:/plugin/com.abc.ve/overrides/com/abc">
</override>

<extension>
---------------------------------------------------

Something strange is that only one of them works, others give me this
error in the error log:

---------------------------------------------------
Error loading file
" platform:/plugin/com.abc.ve/overrides/com/abc/MyButton.overr ide "

org.xml.sax.SAXParseException: Document root element is missing.
---------------------------------------------------




Another thing is whenever I create a component, the name of the instance
is exactly the same as my component. Meaning, instead of constructing the
name "myButton", it gives me "MyButton". I know I have to write something
in the override file too.

Can somebody give an advice on this? Or anything that I can refer to?

Thanks a lot, and good day.



klutzie
Re: Error loading file "platform:/plugin/com.abc.ve/overrides/com/abc/MyButton.overr [message #67061 is a reply to message #67026] Thu, 14 October 2004 16:29 Go to previous messageGo to next message
Joe Winchester is currently offline Joe WinchesterFriend
Messages: 496
Registered: July 2009
Senior Member
Hi Klutzie,

> I have a few components, such as MyButton which extends
> java.awt.Component. Extending the palette is not a problem, but when i
> place the component onto the designer, the "Java Bean View" of eclipse
> does not show the icon for this component for me. In fact, it shows a
> JavaBean icon.

This is because your .override fails to be parsed correctly, so it uses
the next one available that was specified in the hierarchy, which is the
default one as there is not a special one for java.awt.Component. I
think for your MyButton.override it does parse OK and what's wrong is a
missing period, so the GIF can't load and it defaults to the inherited one.

> Example of my override file (MyButton.override):
> ---------------------------------------------------
>
> <?xml version="1.0" encoding="UTF-8"?>
> <event:Add xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> xmlns:org.eclipse.ve.internal.cde.decorators="http:///org/eclipse/ve/internal/cde/decorators.ecore"
>
> xmlns:org.eclipse.ve.internal.cde.utility="http:///org/eclipse/ve/internal/cde/utility.ecore"
> xmlns:event="event.xmi"
> featureName="eAnnotations">
> <addedEObjects
> xsi:type=" org.eclipse.ve.internal.cde.decorators:ClassDescriptorDecora tor ">
> <graphic xsi:type="org.eclipse.ve.internal.cde.utility:GIFFileGraphic "
> resourceName="platform:/plugin/com.abc.ve/icons/MyButtongif "/>
> </addedEObjects>
> </event:Add>

Rich Kukp noticed that you were missing a period in your file name, so
MyByttongif should be MyButton.gif. Otherwise we can't see anything
wrong with the file

> Something strange is that only one of them works, others give me this
> error in the error log:
> ---------------------------------------------------
> Error loading file
> " platform:/plugin/com.abc.ve/overrides/com/abc/MyButton.overr ide "
>
> org.xml.sax.SAXParseException: Document root element is missing.
> ---------------------------------------------------

Can you try running your runtime workbench in debug mode. Go into the
class BeanInfoClassAdapter and debug the method
processExtensionDocument(..). Stop it on the file that isn't parsing
and single step your way carefully through, and switch the debugger so
it catches all exceptions. You might find a more detailed one that is
being caught and re-thrown. You will also see the success if it is
parsed OK

> Another thing is whenever I create a component, the name of the instance
> is exactly the same as my component. Meaning, instead of constructing the
> name "myButton", it gives me "MyButton". I know I have to write something
> in the override file too.

This is done with a name in annotation entry on the palette. We do the
same for something like JButton whose palette entry is

<cmpEntries xsi:type="palette:AnnotatedCreationEntry"
icon16Name=" platform:/plugin/org.eclipse.ve.jfc/icons/full/clcl16/button _obj.gif ">
<objectCreationEntry xsi:type="palette:EMFCreationToolEntry"
creationClassURI="java:/javax.swing#JButton"/>
<values xmi:type="ecore:EStringToStringMapEntry"
key="org.eclipse.ve.internal.cde.core.nameincomposition" value="jButton"/>
<entryLabel xsi:type="utility:ConstantString" string="JButton"/>
</cmpEntries>

The value="jButton" entry is what gives this the field name of "jButton"
as opposed to "JButton", so try doing something similar with your
palette file.

Best regards,

Joe
Re: Error loading file "platform:/plugin/com.abc.ve/overrides/com/abc/MyButton.overr [message #67101 is a reply to message #67061] Fri, 15 October 2004 03:45 Go to previous message
Eclipse UserFriend
Originally posted by: txfen.hands.com.my

Hi Joe,

Hey man, thanks for the fast reply.

Actually it's my mistake when writing this article here (the missing
period). In my original override file, i have that period. There's nothing
wrong in my original file. In fact, I've tried to remove this whole part:

-----------------------------------
<addedEObjects
xsi:type=" org.eclipse.ve.internal.cde.decorators:ClassDescriptorDecora tor ">
<graphic xsi:type="org.eclipse.ve.internal.cde.utility:GIFFileGraphic "
resourceName=" platform:/plugin/com.nexusedge.facado.ve.test/icons/MyButton .gif "/>
</addedEObjects>
-----------------------------------

from my override file, and still the error occurs. I've tried to look into
the BeanInfoClassAdapter class and I couldn't find that API u told me -
processExtensionDocument(), and I actually have a whole bunch of error
message:

-----------------------------------
org.xml.sax.SAXParseException: Document root element is missing.
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3364)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java :668)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl. java:448)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl. java:76)
at
org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLRes ourceImpl.java:135)
at
com.ibm.etools.xmi.helpers.CompatibilityXMIResourceImpl.basi cDoLoad(CompatibilityXMIResourceImpl.java:159)
at
com.ibm.etools.emf.workbench.ReferencedXMIResourceImpl.basic DoLoad(ReferencedXMIResourceImpl.java:259)
at
com.ibm.etools.xmi.helpers.CompatibilityXMIResourceImpl.doLo ad(CompatibilityXMIResourceImpl.java:152)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:881)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:755)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:220)
at
com.ibm.etools.emf.workbench.ProjectResourceSetImpl.demandLo ad(ProjectResourceSetImpl.java:74)
at
com.ibm.etools.emf.workbench.ProjectResourceSetImpl.getResou rce(ProjectResourceSetImpl.java:317)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.applyExtensionDocTo(BeaninfoClassAdapter.java:579)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.applyExtensionDocument(BeaninfoClassAdapter.java:565)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.introspect(BeaninfoClassAdapter.java:477)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.introspectIfNecessary(BeaninfoClassAdapter.java:436)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.introspectEvents(BeaninfoClassAdapter.java:1532)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.getEvents(BeaninfoClassAdapter.java:663)
at
org.eclipse.jem.internal.java.impl.JavaClassImpl.getEvents(J avaClassImpl.java:1200)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.allEvents(BeaninfoClassAdapter.java:1755)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.getAllEvents(BeaninfoClassAdapter.java:670)
at
org.eclipse.jem.internal.java.impl.JavaClassImpl.getAllEvent s(JavaClassImpl.java:1222)
at
org.eclipse.ve.internal.java.codegen.java.EventsParser.getAd dSignitures(EventsParser.java:60)
at
org.eclipse.ve.internal.java.codegen.java.EventsParser.analy ze(EventsParser.java:93)
at
org.eclipse.ve.internal.java.codegen.java.EventsParser.addEv ents(EventsParser.java:125)
at
org.eclipse.ve.internal.java.codegen.java.JavaBeanModelBuild er.analyzeEvents(JavaBeanModelBuilder.java:279)
at
org.eclipse.ve.internal.java.codegen.java.JavaBeanModelBuild er.build(JavaBeanModelBuilder.java:328)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:931)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(JavaSourceTranslator.java:691)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$15.run(JavaVisualEditorPart.java:1626)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:98)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:1999)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1733)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
-----------------------------------------------------

Another class (eg: MyButton2.java) is actually in the same package with
MyButton, and it works fine. The icons are at the same directory,
everything is the same, but it just won't work for MyButton and other
classes.





And another funny thing is, for the instance name, I actually had what you
suggested in the palette:

------------------------------------------------------
<cmpEntries xsi:type="palette:AnnotatedCreationEntry"
xmi:id="MyButton"
icon16Name=" platform:/plugin/com.nexusedge.facado.ve.test/icons/MyButton .gif ">
<objectCreationEntry xsi:type="palette:EMFCreationToolEntry"
xmi:id="MyButtonobj"
creationClassURI="java:/com.abc#MyButton"/>
<values xmi:type="ecore:EStringToStringMapEntry"
key="org.eclipse.ve.internal.cde.core.nameincomposition" value="myButton"
/>
<entryLabel xsi:type="utility:ConstantString" xmi:id="string1"
string="MyButton"/>
</cmpEntries>
-------------------------------------------------------

But still, when it create an instance, it uses the class name instead of
the one specified. Could it be possible this is caused in my class?
hhhmmm... don't think so right?



klutzie
Re: Error loading file "platform:/plugin/com.abc.ve/overrides/com/abc/MyButton.overr [message #601580 is a reply to message #67026] Thu, 14 October 2004 16:29 Go to previous message
Joe Winchester is currently offline Joe WinchesterFriend
Messages: 496
Registered: July 2009
Senior Member
Hi Klutzie,

> I have a few components, such as MyButton which extends
> java.awt.Component. Extending the palette is not a problem, but when i
> place the component onto the designer, the "Java Bean View" of eclipse
> does not show the icon for this component for me. In fact, it shows a
> JavaBean icon.

This is because your .override fails to be parsed correctly, so it uses
the next one available that was specified in the hierarchy, which is the
default one as there is not a special one for java.awt.Component. I
think for your MyButton.override it does parse OK and what's wrong is a
missing period, so the GIF can't load and it defaults to the inherited one.

> Example of my override file (MyButton.override):
> ---------------------------------------------------
>
> <?xml version="1.0" encoding="UTF-8"?>
> <event:Add xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> xmlns:org.eclipse.ve.internal.cde.decorators="http:///org/eclipse/ve/internal/cde/decorators.ecore"
>
> xmlns:org.eclipse.ve.internal.cde.utility="http:///org/eclipse/ve/internal/cde/utility.ecore"
> xmlns:event="event.xmi"
> featureName="eAnnotations">
> <addedEObjects
> xsi:type=" org.eclipse.ve.internal.cde.decorators:ClassDescriptorDecora tor ">
> <graphic xsi:type="org.eclipse.ve.internal.cde.utility:GIFFileGraphic "
> resourceName="platform:/plugin/com.abc.ve/icons/MyButtongif "/>
> </addedEObjects>
> </event:Add>

Rich Kukp noticed that you were missing a period in your file name, so
MyByttongif should be MyButton.gif. Otherwise we can't see anything
wrong with the file

> Something strange is that only one of them works, others give me this
> error in the error log:
> ---------------------------------------------------
> Error loading file
> " platform:/plugin/com.abc.ve/overrides/com/abc/MyButton.overr ide "
>
> org.xml.sax.SAXParseException: Document root element is missing.
> ---------------------------------------------------

Can you try running your runtime workbench in debug mode. Go into the
class BeanInfoClassAdapter and debug the method
processExtensionDocument(..). Stop it on the file that isn't parsing
and single step your way carefully through, and switch the debugger so
it catches all exceptions. You might find a more detailed one that is
being caught and re-thrown. You will also see the success if it is
parsed OK

> Another thing is whenever I create a component, the name of the instance
> is exactly the same as my component. Meaning, instead of constructing the
> name "myButton", it gives me "MyButton". I know I have to write something
> in the override file too.

This is done with a name in annotation entry on the palette. We do the
same for something like JButton whose palette entry is

<cmpEntries xsi:type="palette:AnnotatedCreationEntry"
icon16Name=" platform:/plugin/org.eclipse.ve.jfc/icons/full/clcl16/button _obj.gif ">
<objectCreationEntry xsi:type="palette:EMFCreationToolEntry"
creationClassURI="java:/javax.swing#JButton"/>
<values xmi:type="ecore:EStringToStringMapEntry"
key="org.eclipse.ve.internal.cde.core.nameincomposition" value="jButton"/>
<entryLabel xsi:type="utility:ConstantString" string="JButton"/>
</cmpEntries>

The value="jButton" entry is what gives this the field name of "jButton"
as opposed to "JButton", so try doing something similar with your
palette file.

Best regards,

Joe
Re: Error loading file "platform:/plugin/com.abc.ve/overrides/com/abc/MyButton.overr [message #601621 is a reply to message #67061] Fri, 15 October 2004 03:45 Go to previous message
Eclipse UserFriend
Originally posted by: txfen.hands.com.my

Hi Joe,

Hey man, thanks for the fast reply.

Actually it's my mistake when writing this article here (the missing
period). In my original override file, i have that period. There's nothing
wrong in my original file. In fact, I've tried to remove this whole part:

-----------------------------------
<addedEObjects
xsi:type=" org.eclipse.ve.internal.cde.decorators:ClassDescriptorDecora tor ">
<graphic xsi:type="org.eclipse.ve.internal.cde.utility:GIFFileGraphic "
resourceName=" platform:/plugin/com.nexusedge.facado.ve.test/icons/MyButton .gif "/>
</addedEObjects>
-----------------------------------

from my override file, and still the error occurs. I've tried to look into
the BeanInfoClassAdapter class and I couldn't find that API u told me -
processExtensionDocument(), and I actually have a whole bunch of error
message:

-----------------------------------
org.xml.sax.SAXParseException: Document root element is missing.
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3364)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java :668)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl. java:448)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl. java:76)
at
org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLRes ourceImpl.java:135)
at
com.ibm.etools.xmi.helpers.CompatibilityXMIResourceImpl.basi cDoLoad(CompatibilityXMIResourceImpl.java:159)
at
com.ibm.etools.emf.workbench.ReferencedXMIResourceImpl.basic DoLoad(ReferencedXMIResourceImpl.java:259)
at
com.ibm.etools.xmi.helpers.CompatibilityXMIResourceImpl.doLo ad(CompatibilityXMIResourceImpl.java:152)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:881)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:755)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:220)
at
com.ibm.etools.emf.workbench.ProjectResourceSetImpl.demandLo ad(ProjectResourceSetImpl.java:74)
at
com.ibm.etools.emf.workbench.ProjectResourceSetImpl.getResou rce(ProjectResourceSetImpl.java:317)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.applyExtensionDocTo(BeaninfoClassAdapter.java:579)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.applyExtensionDocument(BeaninfoClassAdapter.java:565)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.introspect(BeaninfoClassAdapter.java:477)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.introspectIfNecessary(BeaninfoClassAdapter.java:436)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.introspectEvents(BeaninfoClassAdapter.java:1532)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.getEvents(BeaninfoClassAdapter.java:663)
at
org.eclipse.jem.internal.java.impl.JavaClassImpl.getEvents(J avaClassImpl.java:1200)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.allEvents(BeaninfoClassAdapter.java:1755)
at
org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdap ter.getAllEvents(BeaninfoClassAdapter.java:670)
at
org.eclipse.jem.internal.java.impl.JavaClassImpl.getAllEvent s(JavaClassImpl.java:1222)
at
org.eclipse.ve.internal.java.codegen.java.EventsParser.getAd dSignitures(EventsParser.java:60)
at
org.eclipse.ve.internal.java.codegen.java.EventsParser.analy ze(EventsParser.java:93)
at
org.eclipse.ve.internal.java.codegen.java.EventsParser.addEv ents(EventsParser.java:125)
at
org.eclipse.ve.internal.java.codegen.java.JavaBeanModelBuild er.analyzeEvents(JavaBeanModelBuilder.java:279)
at
org.eclipse.ve.internal.java.codegen.java.JavaBeanModelBuild er.build(JavaBeanModelBuilder.java:328)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:931)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(JavaSourceTranslator.java:691)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$15.run(JavaVisualEditorPart.java:1626)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:98)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:1999)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1733)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
-----------------------------------------------------

Another class (eg: MyButton2.java) is actually in the same package with
MyButton, and it works fine. The icons are at the same directory,
everything is the same, but it just won't work for MyButton and other
classes.





And another funny thing is, for the instance name, I actually had what you
suggested in the palette:

------------------------------------------------------
<cmpEntries xsi:type="palette:AnnotatedCreationEntry"
xmi:id="MyButton"
icon16Name=" platform:/plugin/com.nexusedge.facado.ve.test/icons/MyButton .gif ">
<objectCreationEntry xsi:type="palette:EMFCreationToolEntry"
xmi:id="MyButtonobj"
creationClassURI="java:/com.abc#MyButton"/>
<values xmi:type="ecore:EStringToStringMapEntry"
key="org.eclipse.ve.internal.cde.core.nameincomposition" value="myButton"
/>
<entryLabel xsi:type="utility:ConstantString" xmi:id="string1"
string="MyButton"/>
</cmpEntries>
-------------------------------------------------------

But still, when it create an instance, it uses the class name instead of
the one specified. Could it be possible this is caused in my class?
hhhmmm... don't think so right?



klutzie
Previous Topic:VE Silent Failure
Next Topic:Comparing to other GUI tool
Goto Forum:
  


Current Time: Sat Jul 27 16:06:49 GMT 2024

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

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

Back to the top