how to disable views [message #255651] |
Wed, 07 May 2008 09:56 |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
Hi,
I am developing an RCP application with search functionality.
In this, when the search dialog is open, the user should not be able to
select any other view.
This behavior is similar to the existing search functionality of
eclipse. However I am not able to find out how this is done.
I tried searching on net for ways to disable view. However I have only
found ways to find/hide views.
It would be of great help is someone could give me pointers on how views
can be disabled when a dialog box is open.
Thanks,
Sneha
|
|
|
|
Re: how to disable views [message #255903 is a reply to message #255759] |
Fri, 09 May 2008 06:24 |
Eclipse User |
|
|
|
Originally posted by: sneha29.gmail.com
Hi,
Thanks for the suggestion Ken,
It worked!
Thanks,
Sneha
Ken wrote:
> user@domain.invalid wrote:
>> Hi,
>>
>>
>> I am developing an RCP application with search functionality.
>> In this, when the search dialog is open, the user should not be able
>> to select any other view.
>> This behavior is similar to the existing search functionality of
>> eclipse. However I am not able to find out how this is done.
>>
>> I tried searching on net for ways to disable view. However I have only
>> found ways to find/hide views.
>>
>> It would be of great help is someone could give me pointers on how
>> views can be disabled when a dialog box is open.
>>
>> Thanks,
>> Sneha
> try to use modal dialog in swt,
> like:
> new Dialog(shell,SWT.APPLICATION_MODAL)
> you can't do anything without closed this dialog.
>
> Ken
> Kenbeinside@gmail.com
|
|
|
Powered by
FUDForum. Page generated in 0.08852 seconds