[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] Warnings in ui-plugin
|
Sure, that's an internal method, you can use the public ones, though:
IDecoratorManager.update(String decoratorId)
IDecoratorManager.enable(String decoratorId, boolean enable).
If that does not suffice, you should file a bug with the platform and
make your point, why you need extra public method.
Markus.
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Krasilnikov, Oleg
> Sent: Mittwoch, 21. Februar 2007 16:28
> To: CDT General developers list.
> Subject: RE: [cdt-dev] Warnings in ui-plugin
>
> Markus,
>
> It's nice, but updateForEnablementChange() method is not
> defined in this
> interface.
>
> It belongs to
> org.eclipse.ui.internal.decorators.DecoratorManager class
> only,
> and always called from org.eclipse.ui.internal.*
>
> I'll see for another ways to call it.
>
> Thanks.
> -------
> Oleg
>
>
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
> On Behalf Of Schorn, Markus
> Sent: Wednesday, February 21, 2007 6:01 PM
> To: CDT General developers list.
> Subject: RE: [cdt-dev] Warnings in ui-plugin
>
> Hi Oleg,
> you should use the interface, only:
> PlatformUI.getWorkbench().getDecoratorManager()
>
> Markus.
>
> > -----Original Message-----
> > From: cdt-dev-bounces@xxxxxxxxxxx
> > [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Krasilnikov, Oleg
> > Sent: Mittwoch, 21. Februar 2007 14:55
> > To: CDT General developers list.
> > Subject: RE: [cdt-dev] Warnings in ui-plugin
> >
> > Markus,
> >
> > Since new project model UI is my code, I'll try to explain existing
> > warnings.
> >
> > org.eclipse.cdt.ui/actions/DeleteResConfigsAction.java:
> > org.eclipse.cdt.ui/newui/AbstractPage.java
> > call to org.eclipse.ui.internal.WorkbenchPlugin method:
> >
> > WorkbenchPlugin.getDefault().getDecoratorManager().updateForEn
> > ablementCh
> > ange();
> > This call is intended to refresh projects tree
> > (display/hide resource configuration marks)
> > I have no idea yet how to do the same thing via public
> > means.
> >
> > There's no other warnings in new model-related code in CDT.UI.
> >
> > Status of org.eclipse.managedbuilder.ui will be sent soon.
> >
> > Note that there can be a lot of Java 1.5 warnings like
> "References to
> > generic List <> type should be parametrized".
> > They are left as is, to be compatible with Java 1.4
> > -----------------------------------
> > With best regards, Oleg Krasilnikov
> > Software designer, Eclipse team.
> > Intel corp.
> > +7 8312 162 444 ext. 2587
> > (Russia, Nizhny Novgorod)
> >
> >
> >
> >
> > -----Original Message-----
> > From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx]
> > On Behalf Of Schorn, Markus
> > Sent: Wednesday, February 21, 2007 4:21 PM
> > To: CDT General developers list.
> > Subject: [cdt-dev] Warnings in ui-plugin
> >
> > Hi,
> > Half a year ago, I invested into fixing all the warnings in the
> > ui-plugin. Recently by adding the language-mappings and the new
> > project model new warnings were introduced.
> >
> > I think it is a good habit to keep the code clean and once
> more I ask
> > for your support in doing this. Especially new functionality added
> > should be free of warnings.
> >
> > Please fix the warnings or explain to me why I should not care.
> >
> > Markus.
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> >
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>