Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » palette customization
palette customization [message #155256] Sat, 23 October 2004 17:13 Go to next message
Eclipse UserFriend
Originally posted by: dyx.gmx.net

OK so i looked at the logic examples palette cutomizer.
If i click on the new button all it offers is Drawer or if in a drawer =

Drawer and separator.
Where do i have to modify if i want to create a new tool entry?
Where does the customize palette dialog decide whether to offer separato=
r =

or not?



-- =

Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
Re: palette customization [message #155264 is a reply to message #155256] Sat, 23 October 2004 17:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dyx.gmx.net

> OK so i looked at the logic examples palette cutomizer.
> If i click on the new button all it offers is Drawer or if in a drawer=
=

> Drawer and separator.
> Where do i have to modify if i want to create a new tool entry?
> Where does the customize palette dialog decide whether to offer =

> separator or not?
>

Also where can i tell the customize dialog to display all drawers not =

expanded initially?
Re: palette customization [message #155272 is a reply to message #155264] Sat, 23 October 2004 17:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dyx.gmx.net

>> OK so i looked at the logic examples palette cutomizer.
>> If i click on the new button all it offers is Drawer or if in a drawe=
r =

>> Drawer and separator.
>> Where do i have to modify if i want to create a new tool entry?
>> Where does the customize palette dialog decide whether to offer =

>> separator or not?
>>
>
> Also where can i tell the customize dialog to display all drawers not =
=

> expanded initially?

Why is it not allowed to delete the complex parts drawer?

How can one save the state of the palette after closing the editor?

(Sorry for the many questions, guys!) Perhaps a few pointers to the righ=
t =

methods/classes will suffice. Except for the last question probably...
Re: palette customization [message #155424 is a reply to message #155272] Mon, 25 October 2004 04:02 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

>> OK so i looked at the logic examples palette cutomizer.
>> If i click on the new button all it offers is Drawer or if in a drawer
>> Drawer and separator.

Because the model is fixed, there is no ability to add new creation tools.
If it were something like a Swing builder, maybe it would allow adding new
subclasses of JComponent.

>> Where do i have to modify if i want to create a new tool entry?

The example doesn't support this.

>> Where does the customize palette dialog decide whether to offer
>> separator or not?

It's based on the permissions of the container. See the permissions, and
usage. CTRL+ALT+H on getPermission()

>
> Also where can i tell the customize dialog to display all drawers not
> expanded initially?

There is a checkbox on each drawer for setting this. But, we don't actually
persist changes so it doesn't do anything

> Why is it not allowed to delete the complex parts drawer?

Permissions disallow

> How can one save the state of the palette after closing the editor?

The application must implement the save feature. The example does not.
Previous Topic:Urgent !!! re-scaling a figure
Next Topic:How to follow RedBook GEF example
Goto Forum:
  


Current Time: Thu Apr 25 15:00:48 GMT 2024

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

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

Back to the top