Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » ContainerSelectionGroup -- advice on reuse?
ContainerSelectionGroup -- advice on reuse? [message #511114] Fri, 29 January 2010 12:16 Go to next message
Paul E. Keyser is currently offline Paul E. Keyser
Messages: 878
Registered: July 2009
Senior Member
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 #511179 is a reply to message #511114] Sat, 30 January 2010 14:12 Go to previous messageGo to next message
Wim Jongman is currently offline Wim Jongman
Messages: 418
Registered: July 2009
Senior Member
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.

--

Best Regards,
Wim Jongman
-- RAM disk is not an installation procedure.
(Eclipse Old Skool Quote Service)

> 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 Go to previous message
Paul E. Keyser is currently offline Paul E. Keyser
Messages: 878
Registered: July 2009
Senior Member
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.
>
Previous Topic:IEvaluationService
Next Topic:Menu entry enabled when a certain key is pressed
Goto Forum:
  


Current Time: Wed Aug 20 12:46:04 EDT 2014

Powered by FUDForum. Page generated in 0.03240 seconds