Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » ReadOnly Gef
ReadOnly Gef [message #181954] Fri, 20 May 2005 11:18 Go to next message
Eclipse UserFriend
Originally posted by: wjancz.\/\/asko.pl(change \/\/ with w)

Hi!
I have almost finished my editor. I't works great using GEF :)
Now I want to dissalow editing my diagram structure (in some cases).
I have allready block every policies and its OK.
But the problem is that there is still a palette there.
How to disable (hide) palette ?
I am using GraphicalEditorWithFlyoutPalette as my editor - is it possible to
"turn off" palette ?
I need also to block a Palette View (Window->Show View....)

Please help

...::WojT::..
Re: ReadOnly Gef [message #182136 is a reply to message #181954] Sun, 22 May 2005 22:51 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Well, since your EditPolicies are uninstalled, these palette tools would no
longer do anything anyway. But if you wanted to, you could clear out the
palette by changing its model. Remove all children from palette root. An
empty palette would still show however. You could put in a template entry
that provided a message about why the palette was empty (although that is
pretty much a hack).

"WojT" <wjancz@\/\/asko.pl(change \/\/ with w)> wrote in message
news:d6kh59$d4q$1@news.eclipse.org...
> Hi!
> I have almost finished my editor. I't works great using GEF :)
> Now I want to dissalow editing my diagram structure (in some cases).
> I have allready block every policies and its OK.
> But the problem is that there is still a palette there.
> How to disable (hide) palette ?
> I am using GraphicalEditorWithFlyoutPalette as my editor - is it possible
to
> "turn off" palette ?
> I need also to block a Palette View (Window->Show View....)
>
> Please help
>
> ..::WojT::..
>
>
Re: ReadOnly Gef [message #182229 is a reply to message #181954] Mon, 23 May 2005 20:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Open a feature request for this function. There is no way to block a view
from being opened in the workbench. You can close it, but what if other
editors were using it?

Instead of disbling editpolicies, you could also change the drag trackers
and the command stack to prevent editing.

"WojT" <wjancz@\/\/asko.pl(change \/\/ with w)> wrote in message
news:d6kh59$d4q$1@news.eclipse.org...
> Hi!
> I have almost finished my editor. I't works great using GEF :)
> Now I want to dissalow editing my diagram structure (in some cases).
> I have allready block every policies and its OK.
> But the problem is that there is still a palette there.
> How to disable (hide) palette ?
> I am using GraphicalEditorWithFlyoutPalette as my editor - is it possible
> to "turn off" palette ?
> I need also to block a Palette View (Window->Show View....)
>
> Please help
>
> ..::WojT::..
>
>
Re: ReadOnly Gef [message #182335 is a reply to message #182229] Tue, 24 May 2005 09:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wjancz.\/\/asko.pl(change \/\/ with w)

> Open a feature request for this function. There is no way to block a view
> from being opened in the workbench. You can close it, but what if other
> editors were using it?

Ok. I opened feature request: #96395.
I am waiting and looking for resolution.

Thanks.

...::WojT::..
Re: ReadOnly Gef [message #182341 is a reply to message #182335] Tue, 24 May 2005 10:06 Go to previous message
Eclipse UserFriend
Originally posted by: wjancz.\/\/asko.pl(change \/\/ with w)

> I am waiting and looking for resolution.

uppps :) of course for _solution_

...::WojT::..
Previous Topic:[ANN] GEF 3.1M7 is out
Next Topic:Opening menu crashes Runtime Workbench
Goto Forum:
  


Current Time: Thu Apr 25 01:30:10 GMT 2024

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

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

Back to the top