[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[platform-ui-dev] custom implementation of IViewDescriptor
|
Hi all (my name is Stephane, Paris),
In the workbench plugin (3.0.0) :
The class org.eclipse.ui.internal.ViewLabelProvider in the getText method (line 72) do that:
label = ((ViewDescriptor)element).getLabel() ....
And I really would prefer
label = ((IViewDescriptor)element).getLabel()... as the getLabel method is specified in the IViewDescriptor interface.
the same thing happen in ViewFactory line 57 when I try to open the view with IWorkbenchPage.open(viewId);
I'm currently trying to use my own implementation of IViewDescriptor (for adding my views at runtime) and of course that line causes a class Cast Exception...
So please keep me updated with this issue because a single "I" causes my plugin to crash....
Is there a way to correct it right now (so I can go on working) with "plugin fragments"??
Thank you very much for this great product.......
-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 TTC/min)
Minitel: 3615 NETCOURRIER (0,16 TTC/min)