Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Maximize workbench window
Maximize workbench window [message #334071] Mon, 19 January 2009 08:44 Go to next message
Bianca Thelen is currently offline Bianca ThelenFriend
Messages: 26
Registered: July 2009
Junior Member
This is another question I asked in another newsgroup but which I
haven't got an answer to so far. Again, maybe someone here can help me?

I have two workbench windows with several views. Window A is maximized
and active, window B is minimized to the task bar. Now I drag one of the
items from a view in window A over the minimized window B in the task
bar. But nothing happens. Window B doesn't get restored. If I wait and
then drop the item on window B I get the message that I need to hold the
item longer over the task bar. But that's the standard Windows message.
Is there a way to know when an item is dragged out of one window and
over the task bar and then to restore the window that the item is
dragged over?

Btw I'm using Eclipse 3.3.2 on Windows XP.

Kind regards
Bianca
Re: Maximize workbench window [message #334090 is a reply to message #334071] Tue, 20 January 2009 02:13 Go to previous messageGo to next message
Adil Fulara is currently offline Adil FularaFriend
Messages: 14
Registered: July 2009
Junior Member
Bianca,

Have you added drag / drop support in your window B. By your
description, I would first try and look into whether window B is
receiving drop events.

Hope it helps.

~Adil

Bianca wrote:
> This is another question I asked in another newsgroup but which I
> haven't got an answer to so far. Again, maybe someone here can help me?
>
> I have two workbench windows with several views. Window A is maximized
> and active, window B is minimized to the task bar. Now I drag one of the
> items from a view in window A over the minimized window B in the task
> bar. But nothing happens. Window B doesn't get restored. If I wait and
> then drop the item on window B I get the message that I need to hold the
> item longer over the task bar. But that's the standard Windows message.
> Is there a way to know when an item is dragged out of one window and
> over the task bar and then to restore the window that the item is
> dragged over?
>
> Btw I'm using Eclipse 3.3.2 on Windows XP.
>
> Kind regards
> Bianca
Re: Maximize workbench window [message #334091 is a reply to message #334090] Tue, 20 January 2009 07:00 Go to previous messageGo to next message
Bianca Thelen is currently offline Bianca ThelenFriend
Messages: 26
Registered: July 2009
Junior Member
Adil Fulara schrieb:
> Bianca,
>
> Have you added drag / drop support in your window B. By your
> description, I would first try and look into whether window B is
> receiving drop events.

Adil, thank you for your answer. In answer to your question, yes, I have
added drag and drop support. But only to the table viewer in window B
that's supposed to receive the drop event. It works fine as long as the
window isn't minimized to the task bar. Do I need to add the drag and
drop support to the window itself maybe?

Bianca
Re: Maximize workbench window [message #334169 is a reply to message #334091] Fri, 23 January 2009 06:30 Go to previous messageGo to next message
Adil Fulara is currently offline Adil FularaFriend
Messages: 14
Registered: July 2009
Junior Member
Bianca,

Sorry for the late response.

I think you would need to. The window will then get notified of the
drop. You could handle the drop based on the type of object received.

Why don't you give it a try? i think it should work then.

~Adil.


Bianca wrote:
> Adil Fulara schrieb:
>> Bianca,
>>
>> Have you added drag / drop support in your window B. By your
>> description, I would first try and look into whether window B is
>> receiving drop events.
>
> Adil, thank you for your answer. In answer to your question, yes, I have
> added drag and drop support. But only to the table viewer in window B
> that's supposed to receive the drop event. It works fine as long as the
> window isn't minimized to the task bar. Do I need to add the drag and
> drop support to the window itself maybe?
>
> Bianca
Re: Maximize workbench window [message #334174 is a reply to message #334169] Fri, 23 January 2009 10:32 Go to previous messageGo to next message
Bianca Thelen is currently offline Bianca ThelenFriend
Messages: 26
Registered: July 2009
Junior Member
I noticed something today. When I minimize window B to the taskbar and
then drag - say - a folder from my Windows desktop over it, then window
B is maximized. So the problem is that I cannot drag an item from window
A to a minimized window B.

I then tried this with the Eclipse IDE. I dragged a source file from one
Package Explorer View to a new instance of the Eclipse IDE that was
minimized in the taskbar. The second instance was maximized as soon as I
dragged the source file over it.

The same is true of my application. If I start to instances of it, the
second instance is maximized as soon as I drag an item from instance one
over it.

My next test was then to open another window from my Eclipse IDE. I then
tried to drag the source file from window A of Eclipse to window B
(minimized). And - lo and behold - the minimized window wasn't maximized
when I dragged the source file over it.

I really do need to find a solution for this. Is there an event that I
could listen to? I haven't found one yet. If I don't find an answer the
work of over a year will be void.

Bianca



Adil Fulara schrieb:
> Bianca,
>
> Sorry for the late response.
>
> I think you would need to. The window will then get notified of the
> drop. You could handle the drop based on the type of object received.
>
> Why don't you give it a try? i think it should work then.
>
> ~Adil.
>
>
> Bianca wrote:
>> Adil Fulara schrieb:
>>> Bianca,
>>>
>>> Have you added drag / drop support in your window B. By your
>>> description, I would first try and look into whether window B is
>>> receiving drop events.
>>
>> Adil, thank you for your answer. In answer to your question, yes, I
>> have added drag and drop support. But only to the table viewer in
>> window B that's supposed to receive the drop event. It works fine as
>> long as the window isn't minimized to the task bar. Do I need to add
>> the drag and drop support to the window itself maybe?
>>
>> Bianca
Re: Maximize workbench window [message #334176 is a reply to message #334174] Fri, 23 January 2009 11:18 Go to previous message
Bianca Thelen is currently offline Bianca ThelenFriend
Messages: 26
Registered: July 2009
Junior Member
Bianca schrieb:
> I noticed something today. When I minimize window B to the taskbar and
> then drag - say - a folder from my Windows desktop over it, then window
> B is maximized. So the problem is that I cannot drag an item from window
> A to a minimized window B.
>
> I then tried this with the Eclipse IDE. I dragged a source file from one
> Package Explorer View to a new instance of the Eclipse IDE that was
> minimized in the taskbar. The second instance was maximized as soon as I
> dragged the source file over it.
>
> The same is true of my application. If I start to instances of it, the
> second instance is maximized as soon as I drag an item from instance one
> over it.
>
> My next test was then to open another window from my Eclipse IDE. I then
> tried to drag the source file from window A of Eclipse to window B
> (minimized). And - lo and behold - the minimized window wasn't maximized
> when I dragged the source file over it.
>
> I really do need to find a solution for this. Is there an event that I
> could listen to? I haven't found one yet. If I don't find an answer the
> work of over a year will be void.
>
> Bianca

PS Maybe this is a Windows bug? I tried dragging an object between two
windows in Word and I couldn't get the second window to resurface once
it had been minimized to the taskbar.
Previous Topic:Purpose of DataBindingContext's validation realm
Next Topic:how to add a file necessary to run the plugin?
Goto Forum:
  


Current Time: Fri Jul 12 09:10:31 GMT 2024

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

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

Back to the top