Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 105331 - Mapping emf providers not showing label & icon in J2EE navigator
Summary: Mapping emf providers not showing label & icon in J2EE navigator
Status: CLOSED DUPLICATE of bug 115218
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows XP
: P4 major (vote)
Target Milestone: ---   Edit
Assignee: Michael D. Elder CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-27 11:35 EDT by Leonard Theivendra CLA
Modified: 2006-09-25 03:03 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonard Theivendra CLA 2005-07-27 11:35:17 EDT
Meaning to open this against M8 and high priority.

The contributed mapping item providers don't display the icon and label in the 
j2ee navigator (they do seem to be there since I can launch editor on it, etc).

I spoke to Michael Elder about this and he thinks that the core navigator 
framework is not locating the correct label provider or content provider 
properly. And there might be a need to expand the core extension framework from 
the navigator to support the ability to dynamically determine the enablement.

This is the way I currently contribute my providers:

   <extension
         point="org.eclipse.wst.common.emfworkbench.integration.adapterFactory">
      <adapterFactory
            
className="com.ibm.etools.ejbrdbmapping.ui.provider.J2EEEjbMapItemProviderAdapte
rFactory"
            packageURI="ejb.xmi"
            
id="com.ibm.etools.ejbrdbmapping.ui.provider.J2EEEjbMapItemProviderAdapterFactor
y">
         <view
               id="org.eclipse.wst.navigator.ui.WTPWorkingSetCommonNavigator">
         </view>
      </adapterFactory>
      <adapterFactory
            
className="com.ibm.etools.ejbrdbmapping.ui.provider.J2EEComposedMapItemProviderA
dapterFactory"
            packageURI="http:///ejbrdbmapping.ecore" 
            
id="com.ibm.etools.ejbrdbmapping.ui.provider.J2EEComposedMapItemProviderAdapterF
actory">
         <view
               id="org.eclipse.wst.navigator.ui.WTPWorkingSetCommonNavigator">
         </view>
      </adapterFactory>
   </extension>
Comment 1 David Williams CLA 2005-09-22 23:16:44 EDT
Part of a mass update. Based on 9/22/2005 development review meeting, it's 
determined this was an open bug/enhancement with tartget mistakenly set to M8. 
Since this will not be in M8, I am changing to "unspecified". 

If this is an error, please correct (for example the bug really has been fixed
in M8, change back to M8, and "fixed".)
Comment 2 Michael D. Elder CLA 2005-11-05 17:16:31 EST
This isn't really a duplicate of 115218, but the solution for 115218 will fix
this problem as well. 

The root of the problem is that the J2EE extension uses a further extension (the
adapterFactory extension discussed here) to contribute content which is not
described by the J2EE content extension's enablement clause.

*** This bug has been marked as a duplicate of 115218 ***
Comment 3 David Williams CLA 2006-09-25 03:03:05 EDT
This bug was moved to 'closed' state, since it is so old is is assumed its dup, invalid, or worksforme resolution is no longer in qustion and the bugzilla needs no further attention. Feel free to re-open, or open a new bug, if this semi-automatic processing was done in error in this case.