Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Working with Eclipse's WorkBench Adapter Mechanism
Working with Eclipse's WorkBench Adapter Mechanism [message #463093] Tue, 06 February 2007 17:46 Go to next message
Eclipse UserFriend
Originally posted by: dustin.r.lyday.jpmorgan.com

So I'm trying to make consistent use of the Eclipse's WorkbenchLabelProvider for things other than trees, simple lists and single column tables.

I'm very surprised how challenging this has turned out to be. The problem is that columns can't be populated via WorkbenchLabelProvider()! However, I did find a possible alternative which is the WorkbenchPartLabelProvider(); however, it is not very comparable to WorkbenchLabelProvider because it does not return any kind of Adapter.

Any help on this would be greatly appreciated. Eclipse's adapter mechanism is a solid way to decouple the model and ui and it's a shame if I have to ignore it because it can't handle tables.
Re: Working with Eclipse's WorkBench Adapter Mechanism [message #463142 is a reply to message #463093] Tue, 06 February 2007 23:15 Go to previous message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
You know about ITableLabelProvider?

http://help.eclipse.org/help32/topic/org.eclipse.platform.do c.isv/reference/api/org/eclipse/jface/viewers/ITableLabelPro vider.html

Alex.
Previous Topic:EditorContributor: only Constructor is called
Next Topic:Headless RCP App depend on Feature. Possible?
Goto Forum:
  


Current Time: Thu Sep 19 06:54:19 GMT 2024

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

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

Back to the top