Skip to main content


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 07:54 Go to next message
Mohamed Hussein is currently offline Mohamed HusseinFriend
Messages: 76
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 09:21 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
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 09:54 Go to previous messageGo to next message
Mohamed Hussein is currently offline Mohamed HusseinFriend
Messages: 76
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 05:34 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
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 14:03 Go to previous message
Mohamed Hussein is currently offline Mohamed HusseinFriend
Messages: 76
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: Sun Dec 22 03:08:01 GMT 2024

Powered by FUDForum. Page generated in 0.03577 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top