Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Extending VE Palette: EMF problem
Extending VE Palette: EMF problem [message #614984] Fri, 12 January 2007 15:24
Eclipse UserFriend
Originally posted by: ruth.hawkins.yahoo.com

Hi,

I am new at using and extending the Visual Editor. I am extending the
palette in the Visual Editor adding my own Custom Widget to it. I am able
to select my Custom Widget class from the "Select Bean" option on the
Palette and it's working fine. But now I am trying to add another
category on the palette and add the Custom Widget entry under it. I am
following the steps provided in the tutorial at:
http://www.eclipse.org/articles/Article-VE-Custom-Widget/cus tomwidget.html

When I perform an Eclipse Application Launch and create a Visual class and
open it using the Visual Editor, the new Category that I added is not
visible on thr palette. I tried checking the ".log" file available in the
runtime-workspace/.metadata and I found the following Exception stack
logged in there:


!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ve.java.core".
!STACK 0
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1$Diagno sticWrappedException:
org.xml.sax.SAXParseException: The prefix "xsi" for attribute "xsi:type"
associated with an element type "categoryLabel" is not bound.
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe mandLoadException(ResourceSetImpl.java:307)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:268)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:390)
at
org.eclipse.jem.internal.util.emf.workbench.ProjectResourceS etImpl.getResource(ProjectResourceSetImpl.java:262)


Can anyone who has experience of such problem or knows where things might
be going wrong will help me to solve it? I am using the sample ".xmi"
file available with the example in the same tutorial and have done
necessary modifications to it. I don't have enough knowledge about
writing ".xmi" files so I am kind of stuck with this problem.

Any sort of help on the problem is appreciated.

Thanks & Regards,
Ruth
Previous Topic:Call a view perspective from a java class
Next Topic:How to add a CheckboxGroup in VE???
Goto Forum:
  


Current Time: Tue Apr 16 21:32:45 GMT 2024

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

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

Back to the top