Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » remove Finsh button From Wizard Dialog
remove Finsh button From Wizard Dialog [message #664783] Tue, 12 April 2011 01:23 Go to next message
ash is currently offline ashFriend
Messages: 142
Registered: July 2010
Senior Member
Hi,

How to remove the Finish button from wizard dialog...
the finish button must be added when last page is displayed and next button must be removed when last page is
activated..

I tried to modify the wizard Diaolog class few other this started
breaking can any one help me on this.

Thanks
ashok
Re: remove Finsh button From Wizard Dialog [message #664811 is a reply to message #664783] Tue, 12 April 2011 07: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
On 12/04/11 6:53 AM, ash wrote:

> How to remove the Finish button from wizard dialog...
> the finish button must be added when last page is displayed and next
> button must be removed when last page is activated..

I usually don't advise to have the UI elements suddenly appearing and
disappearing based on some conditions. Instead of this you could disable
the Finish button till the user reaches the last page. This can be
easily done via the API: wizardPage.setPageComplete()


--
- Prakash
Platform UI Team, IBM

www.eclipse-tips.com
Re: remove Finsh button From Wizard Dialog [message #665872 is a reply to message #664811] Sun, 17 April 2011 18:37 Go to previous messageGo to next message
ash is currently offline ashFriend
Messages: 142
Registered: July 2010
Senior Member
HI Guys,,

My client wants this kind of imple i dont have any other option
i need to imple ... any one can help meeeee.

Thanks
Ashok
Re: remove Finsh button From Wizard Dialog [message #665966 is a reply to message #664783] Mon, 18 April 2011 11:34 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 04/11/2011 09:23 PM, ash wrote:
> Hi,
>
> How to remove the Finish button from wizard dialog...
> the finish button must be added when last page is displayed and next
> button must be removed when last page is activated..

This is the basic class: org.eclipse.jface.wizard.WizardDialog

But as your request violates standard UX principles, you'll have to work
through and/or copy the code yourself and change it.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Previous Topic:Menu imple be a code
Next Topic:add remove widget from composite @ runtime
Goto Forum:
  


Current Time: Tue Apr 16 18:23:52 GMT 2024

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

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

Back to the top