Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Custom ProgressMonitorFocusJobDialog(I need the cancel button of ProgressMonitorFocusJobDialog not to appear.)
Custom ProgressMonitorFocusJobDialog [message #713921] Tue, 09 August 2011 11:42 Go to next message
lOlive  is currently offline lOlive Friend
Messages: 1
Registered: August 2011
Junior Member
I need to hide the "Cancel" button of all my ProgressMonitorDialog.
Is there a simple way to do that?

(no subject) [message #714141 is a reply to message #713921] Tue, 09 August 2011 21:39 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
Hi,

It is best to give the user a warning if they press cancel to inform them
that the job cannot be canceled.

Just an idea: Try to call setCancel on your monitor to see if that grays out
the cancel button.

Regards,

Wim


> I need to hide the "Cancel" button of all my ProgressMonitorDialog.
> Is there a simple way to do that?
(no subject) [message #714142 is a reply to message #713921] Tue, 09 August 2011 21:40 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
Hi,

It is best to give the user a warning if they press cancel to inform them
that the job cannot be canceled.

Just an idea: Try to call setCancel on your monitor to see if that grays out
the cancel button.

Regards,

Wim


> I need to hide the "Cancel" button of all my ProgressMonitorDialog.
> Is there a simple way to do that?
Re: Custom ProgressMonitorFocusJobDialog [message #757177 is a reply to message #713921] Thu, 17 November 2011 00:23 Go to previous message
Li Chen is currently offline Li ChenFriend
Messages: 20
Registered: July 2011
Location: Sydney
Junior Member
Hi, I am also looking for a simple way to custom ProgressMonitorDialog...
For instance, we wish to add "retry" functions in.
Can anyone advice me how to do that?
Thanks, Mad
Previous Topic:two platforms
Next Topic:Create new file wizard in context project menu -> new
Goto Forum:
  


Current Time: Fri Apr 26 05:45:14 GMT 2024

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

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

Back to the top