[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-ui-dev] custom implementation of IViewDescriptor
|
IViewDescriptor is internal (it's in package
org.eclipse.ui.internal.registry) and is not intended to be reimplemented
by other plug-ins.
Others have requested that the view registry and IViewDescriptor become
API.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=54138
However, this would still not necessarily mean that we would allow
IViewDescriptor to be reimplemented by other plug-ins.
Please file an enhancement request against Platform UI with more details
about your scenario.
We are considering other ways of allowing extensions to be declared
dynamically.
https://bugs.eclipse.org/bugs/enter_feature.cgi
Nick
sducas@xxxxxxxxxxxxxxx
Sent by: platform-ui-dev-admin@xxxxxxxxxxx
10/03/2004 11:35 AM
Please respond to
platform-ui-dev
To
platform-ui-dev@xxxxxxxxxxx
cc
Subject
[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)
_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev