Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Using an extension as a view
Using an extension as a view [message #276852] Tue, 30 November 2004 08:55
Eclipse UserFriend
I am trying to better understand the mechanism of extension points and for
the moment I am stuck with the following problem :

I am using a simple JFace tableviewer (Class extends Viewpart) with a
content provider (implements IStructuredContentProvider) and a label
provider (implements ITableLabelProvider).

On this plugin a define an extension point where the user can provide an
alternate implementation for one or more of the above mentioned Classes.

To change the behaviour of the table viewer for another plugin I could
extend the content provider with a custom implementation.

My question : how then do I define the new view in the plugin.xml?

Only the custom content provider class can be found within the plugin. The
class extending ViewPart is in another plugin. How then to define a new
view which uses the extension point + the custom content provider
implementation.

Ruben


--
---------------------------------------------------
| Ruben Verlinden STARLab V.U.B. |
| E-mail: Ruben.VerlindenATvub.ac.be phone: +32 (0)2 629 37 50 |
| ---------------------------------------------------- |
| When they broke open molecules, they found they were only stuffed |
| with atoms. But when they broke open atoms, they found them stuffed |
| with explosions. |
----------------------------------------------------
Previous Topic:Problem with internationalization
Next Topic:IActionFilter adapter for IFolder - bug?
Goto Forum:
  


Current Time: Tue Jul 22 13:09:39 EDT 2025

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

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

Back to the top