Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » adapter factory not loaded(need some help)
adapter factory not loaded [message #986549] Tue, 20 November 2012 21:59
Junior Lekane Nimpa is currently offline Junior Lekane NimpaFriend
Messages: 23
Registered: September 2012
Junior Member
hello all,

the following shows how i registered two adapter factories
<!--
   Register  eclipse adapter factories to provide IPropertySource objects 
-->
<extension 
   point="org.eclipse.core.runtime.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.platform.GraphitiConnectionEditPart"	class="de.rwth.swc.mocca.ui.editor.properties.GraphitiConnectionEditPartToIPropertySourceAdapterFactory">
   	 <adapter type="org.eclipse.ui.views.properties.IPropertySource"/>
     </factory>
    </extension>

i want to display properties of some objects when i select them in the Graphiti Editor. The first factory is loaded, but not the second. I don't understand the reason. Can someone give an hint ?
I use Eclipse 4.2
Thanks so much
Junior
Previous Topic:Filter "closed" projects?
Next Topic:Eclipse is leaking handles when opening/closing an editor
Goto Forum:
  


Current Time: Tue Dec 23 04:29:33 GMT 2014

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

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