Skip to main content



      Home
Home » Archived » Visual Editor (VE) » VE dinner example
VE dinner example [message #607846] Mon, 30 May 2005 11:04
Eclipse UserFriend
Originally posted by: peter_lundgren.swipnet.se

Hello,
I try to use the 'dinner' visual editor example that can be found in the
ve package. I copied the source into a new plug-in and hooked the dinner
editor into the editor extension point. If I try to open a file called
test.dinner, then I always get the error message below. Is this my problem
or do I have to use the 'dinner' editor differently? Thanks for your help.
Peter

java.lang.IllegalArgumentException: This container can not contain this
type of child: $Palette Tool at
org.eclipse.gef.palette.PaletteContainer.add(PaletteContaine r.java:77)
at org.eclipse.gef.palette.PaletteContainer.add(PaletteContaine r.java:67)
at
org.eclipse.ve.examples.cdm.dept.dinner.ui.DinnerGraphicalEd itorPart.fillPalette(DinnerGraphicalEditorPart.java:65)
at
org.eclipse.ve.examples.cdm.dept.dinner.ui.DinnerGraphicalEd itorPart.getPaletteRoot(DinnerGraphicalEditorPart.java:52)
at
org.eclipse.ve.internal.cde.emf.EMFGraphicalEditorPart.setPa letteRoot(EMFGraphicalEditorPart.java:819)
at
org.eclipse.ve.internal.cde.emf.EMFGraphicalEditorPart.primC reatePaletteControl(EMFGraphicalEditorPart.java:459)
at
org.eclipse.ve.internal.cde.emf.EMFGraphicalEditorPart.creat ePaletteControl(EMFGraphicalEditorPart.java:445)
at
org.eclipse.ve.internal.cde.emf.EMFGraphicalEditorPart.creat ePartControl(EMFGraphicalEditorPart.java:472)
at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:137)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.PartPane.createChildControl(PartPane .java:133)
at org.eclipse.ui.internal.PartPane.createControl(PartPane.java :205)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:939)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:921)
at org.eclipse.ui.internal.EditorStack.setSelection(EditorStack .java:196)
at
org.eclipse.ui.internal.EditorStack.setVisibleEditor(EditorS tack.java:200)
at
org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:338)
at
org.eclipse.ui.internal.EditorAreaHelper.openEditor(EditorAr eaHelper.java:268)
Previous Topic:Code generating
Next Topic:VE preview goes way out of the viewable screen and other strange behaviours
Goto Forum:
  


Current Time: Sun Jun 22 10:04:09 EDT 2025

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

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

Back to the top