ContainerSelectionGroup -- advice on reuse? [message #511114] |
Fri, 29 January 2010 12:16  |
Eclipse User |
|
|
|
R3.4.1; WinXP
The ContainerSelectionGroup as found inside the ContainerSelectionDialog
and also the ResourceAndContainerGroup -- itself found in the {Save-As
Dialog, New-File-Wizard, New-Folder-Wizard} -- has exactly the UI that I
need in my RCP.
But the ContainerSelectionGroup class is in the package
org.eclipse.ui.internal.ide.misc ... I can use the class and the UI
appears all fine, but the use of "internal" is deprecated ...
Is there a reusable version of this class?
thanks,
Paul
|
|
|
|
Re: ContainerSelectionGroup -- advice on reuse? [message #513629 is a reply to message #511179] |
Wed, 10 February 2010 07:48  |
Eclipse User |
|
|
|
Thanks, Wim -- I'll try and keep track of releases (we are already
behind, being on 3.4.1 rather than 3.5 ...). [Belated reply due to
having gotten sucked into another project ...] -Paul
Wim Jongman wrote:
> Hi Paul,
>
> It is not deprecated but it is discouraged. So you are free to use it as long
> as you keep your eyes on the ball for next eclipse releases. The plugins that
> you write are not guaranteed to run on future eclipse versions.
>
> But, if you write an RCP you do not have much risk because you determine the
> Eclipse version that you ship.
>
> If you also supply your code as a standalone plugin then you should not use
> internal classes. Instead try if you can copy out some internal code to your
> own plugin. I'm not sure what you must do to keep this legally correct.
>
|
|
|
Powered by
FUDForum. Page generated in 0.13050 seconds