Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » how to prevent user to transfer a view from a folder to another
how to prevent user to transfer a view from a folder to another [message #435595] Fri, 19 August 2005 07:28 Go to next message
Eclipse UserFriend
Originally posted by: e.shoemaker.yahoo.com

hi all,

i try to deal with it programmatically by making my own stackpresentation
and preventing the drag and drop with the draglistener.

is there an easier way to do it?

TIA
Re: how to prevent user to transfer a view from a folder to another [message #435597 is a reply to message #435595] Fri, 19 August 2005 07:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: e.shoemaker.yahoo.com

by doing this, i can't arrange the views that are in the same folders :
they are all stacked and i can't move them.

so if somebody has an idea ...

thanks
Re: how to prevent user to transfer a view from a folder to another [message #435715 is a reply to message #435597] Mon, 22 August 2005 14:04 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

e. shoemaker wrote:
>
> by doing this, i can't arrange the views that are in the same folders :
> they are all stacked and i can't move them.

When creating a perspective, you can mark views as non-closable or
non-movable.

Later,
PW


Re: how to prevent user to transfer a view from a folder to another [message #435758 is a reply to message #435715] Tue, 23 August 2005 07:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: e.shoemaker.xxx.fr

thanks,
and is there a way to move them programatically?
Re: how to prevent user to transfer a view from a folder to another [message #435768 is a reply to message #435758] Tue, 23 August 2005 12:23 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

e. shoemaker wrote:
> thanks,
> and is there a way to move them programatically?

To move views programmatically? I don't think so (UI tests use some
Drag and Drop code, but I think it's all internal). And if you set them
to unmovable, you wouldn't be able to move them even if there was an API.

Later,
PW


Previous Topic:intercept switch editor event
Next Topic:How to get the text under the mouse in the org.eclipse.swt.widgets.Text
Goto Forum:
  


Current Time: Sat Dec 07 18:02:01 GMT 2024

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

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

Back to the top