Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » WizardResourceImportPage.createDestinationGroup is final?
WizardResourceImportPage.createDestinationGroup is final? [message #336396] Wed, 10 June 2009 03:54 Go to next message
Mohamed Hussein is currently offline Mohamed Hussein
Messages: 71
Registered: July 2009
Member
Hello,

I was trying to reuse parts of the WizardResourceImportPage in one of my
wizards, and I wanted to modify the part containing the destination
widgets, but I couldn't do that as this method was declared final in the
class.

Is there a reason why this particular method is final, while
createSourceGroup and createOptionsGroup are not.

Thanks in advance,
Mamado


Best Regards,
Mohamed.
Re: WizardResourceImportPage.createDestinationGroup is final? [message #336406 is a reply to message #336396] Wed, 10 June 2009 05:21 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.
Messages: 621
Registered: July 2009
Senior Member
Mamado wrote:
> Is there a reason why this particular method is final, while
> createSourceGroup and createOptionsGroup are not.

Not sure of why its been final, ideally it shouldn't be. You can
still override the createControl() and customize your UI.

- Prakash

---
http://blog.eclipse-tips.com
Re: WizardResourceImportPage.createDestinationGroup is final? [message #336408 is a reply to message #336406] Wed, 10 June 2009 05:54 Go to previous messageGo to next message
Mohamed Hussein is currently offline Mohamed Hussein
Messages: 71
Registered: July 2009
Member
Thanks a lot Prakash,

I understand this, but I wanted to avoid duplicating code as much as I
can, but I will have to do this at the end I guess.

Is there a way to modify this, shall I open a bug on the platform?

Best Regards,
Mamado.

> Mamado wrote:
>> Is there a reason why this particular method is final, while
>> createSourceGroup and createOptionsGroup are not.

> Not sure of why its been final, ideally it shouldn't be. You can
> still override the createControl() and customize your UI.

> - Prakash

> ---
> http://blog.eclipse-tips.com


Best Regards,
Mohamed.
Re: WizardResourceImportPage.createDestinationGroup is final? [message #336425 is a reply to message #336408] Thu, 11 June 2009 01:34 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.
Messages: 621
Registered: July 2009
Senior Member
Mamado wrote:
> Is there a way to modify this, shall I open a bug on the platform?

Yes. That would be the right way to go

- Prakash

---
http://blog.eclipse-tips.com
Re: WizardResourceImportPage.createDestinationGroup is final? [message #336434 is a reply to message #336425] Thu, 11 June 2009 10:03 Go to previous message
Mohamed Hussein is currently offline Mohamed Hussein
Messages: 71
Registered: July 2009
Member
>Prakash G.R. wrote:

>> Is there a way to modify this, shall I open a bug on the platform?

> Yes. That would be the right way to go

Done, https://bugs.eclipse.org/bugs/show_bug.cgi?id=279902


Best Regards,
Mohamed.
Previous Topic:default encoding
Next Topic:Documentation for variables in Plug-In extension editor
Goto Forum:
  


Current Time: Mon Jul 28 22:52:29 EDT 2014

Powered by FUDForum. Page generated in 0.02095 seconds