Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Additions to the API for defining decorators and object contributions


Why is IViewSite (a public interface) defining a API which returns a instance of an internal class?
Is org.eclipse.ui.internal.DecoratorManager; going to be public ?

Eduardo.




"Tod Creasey/OTT/OTI" <Tod_Creasey@xxxxxxx>
Sent by: platform-ui-dev-admin@xxxxxxxxxxx

11/28/2001 11:21 AM
Please respond to platform-ui-dev

       
        To:        platform-ui-dev@xxxxxxxxxxx
        cc:        
        Subject:        [platform-ui-dev] Additions to the API for defining decorators and object contributions


Decorators

A org.eclipse.ui.decorators extension has been added for the registration
of decorators for use by views that choose to subscribe to a new Decorator
Manager service rather than define thier own ILabelDecorators. The service
uses ILabelDecorators defined for a particular type in the plugin.xml. To
use this service with a DecoratingLabelProvider use the result of
IViewSite.getDecoratorManager() as your decorator when creating it. This is
currently used by the ResourceNavigator.

The full documentation for this extension is in the file
org_eclipse_ui_decorators.html in the doc directory of org.eclipse.ui.

Object Contributions

Object Contributions defined on IResource or one of it's implemented or
extended types will now be applied to any object that adapts to IResource.
This will allow resource operations in views such as the packages view
which display objects that are wrappers for IResources.

_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev



Back to the top