Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » GraphitiConnectionEditPart causes problem
GraphitiConnectionEditPart causes problem [message #987297] Sun, 25 November 2012 20:27
Junior Lekane Nimpa is currently offline Junior Lekane Nimpa
Messages: 23
Registered: September 2012
Junior Member
Hello all,
The following shows how i registred two adapter factories to provide
IPropertySource objects.
<extension 
  point="org.eclipse.core.runtime.adapters"
  id="26091990"
  name="de.rwth.swc.mocca.ui.editor.properties.adapters">
  <factory
    adaptableType="org.eclipse.graphiti.ui.platform.GraphitiShapeEditPart"
    class="de.rwth.swc.mocca.ui.editor.properties.
       GraphitiShapeEditPartToIPropertySourceAdapterFactory">
     <adapter type="org.eclipse.ui.views.properties.IPropertySource"/>
  </factory>
  <factory
     adaptableType="org.eclipse.graphiti.ui.internal.parts.FreeFormConnectionEditPart"(*)
    class="de.rwth.swc.mocca.ui.editor.properties.
          GraphitiConnectionEditPartToIPropertySourceAdapterFactory">
    <adapter type="org.eclipse.ui.views.properties.IPropertySource"/>
  </factory>
</extension>

The problem is that i use the internal class FreeFormConnectionEditPart:see (*)
One Month ago it worked fine with GraphitiConnectionEditPart. I done some refactoring and put the plugin to our build. After that the factory did not get loaded. But with FreeFormConnectionEditPart the factory is loaded without problems.
Actually i don't what is wrong with GraphitiConnectionEditPart.
I guess, there is a problem somewhere in our system.
Can someone help me to see more clearly?
Thanks in advance
Junior
Previous Topic:How can I combine nested feature calls in one command
Next Topic:Lazy tool tips
Goto Forum:
  


Current Time: Wed Sep 17 21:51:19 GMT 2014

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

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