|
Re: Disable add components [message #93938 is a reply to message #93923] |
Tue, 14 June 2005 13:25 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
What driver of VE are you running? Is it M2? You may need to do a
Project->Clean all. The caching mechanism for the override files isn't
perfect yet for when things change. It doesn't see all changes. It
sounds like it isn't seeing your new override file. Check the .log file
to see if there are any override loading errors.
--
Thanks,
Rich Kulp
|
|
|
|
Re: Disable add components [message #94058 is a reply to message #94012] |
Wed, 15 June 2005 14:05 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
There is a problem with your override file. Unfortunately it doesn't say
what line it was on because it happened too late in the parsing but one
of your statements tried to add a null to a feature that is not allowed
to be null.
However I did notice in:
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI 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:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:org.eclipse.ve.internal.jcm="http:///org/eclipse/ve/internal/jcm.ecore"
xmlns:event="event.xmi">
<event:Add featureName="eAnnotations">
<addedEObjects
xsi:type=" org.eclipse.ve.internal.cde.decorators:ClassDescriptorDecora tor "
treeViewClassname=" org.eclipse.ve.jfc/org.eclipse.ve.internal.jfc.core.Componen tTreeEditPart "
graphViewClassname=" org.eclipse.ve.jfc/org.eclipse.ve.internal.jfc.core.Componen tGraphicalEditPart ">
<graphic
xsi:type="org.eclipse.ve.internal.cde.utility:GIFFileGraphic "
resourceName="platform:/plugin/com.myplugin.ve/icons/MyPanel.gif "/>
</addedEObjects>
<addedEObjects
xsi:type="org.eclipse.ve.internal.jcm:BeanDecorator"
beanProxyClassName=" com.myplugin.ve/com.myplugin.ide.util.eclipse.ImagePathProxy Adapter "/>
</event:Add>
</xmi:XMI>
That it needs to be <event:AddMany></event:AddMany> and not
<event:Add></event:Add> because you are adding more than one eAnnotation.
--
Thanks,
Rich Kulp
|
|
|
|
Re: Disable add components [message #607952 is a reply to message #93923] |
Tue, 14 June 2005 13:25 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
What driver of VE are you running? Is it M2? You may need to do a
Project->Clean all. The caching mechanism for the override files isn't
perfect yet for when things change. It doesn't see all changes. It
sounds like it isn't seeing your new override file. Check the .log file
to see if there are any override loading errors.
--
Thanks,
Rich Kulp
|
|
|
|
Re: Disable add components [message #607960 is a reply to message #94012] |
Wed, 15 June 2005 14:05 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
There is a problem with your override file. Unfortunately it doesn't say
what line it was on because it happened too late in the parsing but one
of your statements tried to add a null to a feature that is not allowed
to be null.
However I did notice in:
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI 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:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:org.eclipse.ve.internal.jcm="http:///org/eclipse/ve/internal/jcm.ecore"
xmlns:event="event.xmi">
<event:Add featureName="eAnnotations">
<addedEObjects
xsi:type=" org.eclipse.ve.internal.cde.decorators:ClassDescriptorDecora tor "
treeViewClassname=" org.eclipse.ve.jfc/org.eclipse.ve.internal.jfc.core.Componen tTreeEditPart "
graphViewClassname=" org.eclipse.ve.jfc/org.eclipse.ve.internal.jfc.core.Componen tGraphicalEditPart ">
<graphic
xsi:type="org.eclipse.ve.internal.cde.utility:GIFFileGraphic "
resourceName="platform:/plugin/com.myplugin.ve/icons/MyPanel.gif "/>
</addedEObjects>
<addedEObjects
xsi:type="org.eclipse.ve.internal.jcm:BeanDecorator"
beanProxyClassName=" com.myplugin.ve/com.myplugin.ide.util.eclipse.ImagePathProxy Adapter "/>
</event:Add>
</xmi:XMI>
That it needs to be <event:AddMany></event:AddMany> and not
<event:Add></event:Add> because you are adding more than one eAnnotation.
--
Thanks,
Rich Kulp
|
|
|
|
Powered by
FUDForum. Page generated in 0.05001 seconds