Skip to main content


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 NimpaFriend
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:Can I change context pad location for a shape
Next Topic:Lazy tool tips
Goto Forum:
  


Current Time: Thu Apr 25 00:59:48 GMT 2024

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

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

Back to the top