Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Dynamic dialog modality
Dynamic dialog modality [message #87922] Fri, 16 May 2008 08:28 Go to next message
NkD Missing name is currently offline NkD Missing nameFriend
Messages: 61
Registered: July 2009
Member
Hi,

i make modal (SWT.APPLICATION_MODAL) dialog and then i open it. Work
fine. But i need programatically change this modal dialog to unmodal and
back. I need this because i want make dockable dialogs.

scenario:
1. user open modal dialog
2. user write any data to text fields in modal dialog.
3. user can not remember same information which he need for insertion to
modal dialog.
4. user choose "dock modal dialog". Dialog will be hide and user have
all application in READ-ONLY mode for search additional info for
insertion to modal dialog.
5. user found what he needed
6. user undock workout modal dialog

I think that i must do something on qooxdoo side. Maybe same new
component what know address modal window and dynamic change modality.

I don't know Qooxdoo well, but i think that qooxdoo prove this.
(according to documentation)
Re: Dynamic dialog modality [message #88033 is a reply to message #87922] Fri, 16 May 2008 13:09 Go to previous message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Hi Michael,

First of all, "dynamic modality" is not possible with SWT. Modality is a
static property of the Shell (and I think for good reasons).

Your use case is quite common, thus it is often recommended not to
overuse modality. If users should be able to access the lower shells
e.g. to lookup or c&p information, why does this dialog have to be modal
at all? If the reason was to keep it above other shells, you might be
interested in the latest Shell bugfixes [1]. Dialog shells stay always
on top of their parents now.

Although the qooxdoo Window provide a setModal function I would not
recommend to use this in RAP because our Shell implementation uses a
slightly different approach which will probably interfere.

Regards,
Ralf

[1] http://dev.eclipse.org/mhonarc/lists/rap-dev/msg00292.html

Michal NkD Nikodím wrote:
> Hi,
>
> i make modal (SWT.APPLICATION_MODAL) dialog and then i open it. Work
> fine. But i need programatically change this modal dialog to unmodal and
> back. I need this because i want make dockable dialogs.
>
> scenario:
> 1. user open modal dialog
> 2. user write any data to text fields in modal dialog.
> 3. user can not remember same information which he need for insertion to
> modal dialog.
> 4. user choose "dock modal dialog". Dialog will be hide and user have
> all application in READ-ONLY mode for search additional info for
> insertion to modal dialog.
> 5. user found what he needed
> 6. user undock workout modal dialog
>
> I think that i must do something on qooxdoo side. Maybe same new
> component what know address modal window and dynamic change modality.
>
> I don't know Qooxdoo well, but i think that qooxdoo prove this.
> (according to documentation)
Previous Topic:Set background on compisite with theme.properties
Next Topic:org.eclipse.ui.editorss
Goto Forum:
  


Current Time: Thu Sep 19 04:02:17 GMT 2024

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

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

Back to the top