Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » obscure minor bug in PaletteStack.move / PaletteCustomizer
obscure minor bug in PaletteStack.move / PaletteCustomizer [message #157758] Fri, 12 November 2004 02:14 Go to next message
Eclipse UserFriend
Originally posted by: notmymail.mail.net

Hi,
i`m working with the palette customizer a lot recently.

In my Customizer i provide a ToolEntryFactory among others, so you can a=
dd =

tools, stacks, separators, drawers and connections to the palette.

I noticed a strange behavior of tool entries in a stack.
First my tools can move into and out of a stack via the move-up/move-dow=
n =

actions. In the logic example this is apparently not the case.

I guess this is because my stack was set to PERMISSION_FULL_MODIFICATION=
, =

right?

So far so good now here comes the strange behavior:

I create several tools into a stack. The hide checkboxes for these tools=
=

are disabled as it makes no sense to hide them.

Now when i move a tool from outside of the stack into it or create a sta=
ck =

on top of an normal tool, the tool`s hide box stays enabled. I can hide=
=

it even though its in a stack and even when its on the first position.
So just for fun i hide it. then I close the customizer, reopen it and th=
e =

check box is disabled! What i have is a hidden tool which i can`t un-hid=
e!
(except by moving it out of the stack closing an reopening the customize=
r)

I`m not sure how to handle this though.
The hidden CheckBox is created in the DefaultEntryPage and disabled at =

that time if the entry is inside a stack.
When moving this entry entry out of or another one into a stack, someone=
=

should update the CheckBox.setEnabled ...
Or remove the automatic disabling of it completely?

Or should there simply be no stacks with PERMISSION_FULL_MODIFCATION ?

It is a minor thing though...

Frank
Re: obscure minor bug in PaletteStack.move / PaletteCustomizer [message #157837 is a reply to message #157758] Fri, 12 November 2004 16:08 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Sounds like a bug. There's probably several workarounds you could do. I'd
try to get the page to be refreshed or rebuilt and have the hide box
disabled. Or you could look for these cases in the customizer or in a
listener which fixes the change.

"Frank Dyck" <notmymail@mail.net> wrote in message
news:opshbxusrns96bjs@celeron...
Hi,
i`m working with the palette customizer a lot recently.

In my Customizer i provide a ToolEntryFactory among others, so you can add
tools, stacks, separators, drawers and connections to the palette.

I noticed a strange behavior of tool entries in a stack.
First my tools can move into and out of a stack via the move-up/move-down
actions. In the logic example this is apparently not the case.

I guess this is because my stack was set to PERMISSION_FULL_MODIFICATION,
right?

So far so good now here comes the strange behavior:

I create several tools into a stack. The hide checkboxes for these tools
are disabled as it makes no sense to hide them.

Now when i move a tool from outside of the stack into it or create a stack
on top of an normal tool, the tool`s hide box stays enabled. I can hide
it even though its in a stack and even when its on the first position.
So just for fun i hide it. then I close the customizer, reopen it and the
check box is disabled! What i have is a hidden tool which i can`t un-hide!
(except by moving it out of the stack closing an reopening the customizer)

I`m not sure how to handle this though.
The hidden CheckBox is created in the DefaultEntryPage and disabled at
that time if the entry is inside a stack.
When moving this entry entry out of or another one into a stack, someone
should update the CheckBox.setEnabled ...
Or remove the automatic disabling of it completely?

Or should there simply be no stacks with PERMISSION_FULL_MODIFCATION ?

It is a minor thing though...

Frank
Previous Topic:How to setup logic example for debugging in 3.x?
Next Topic:Drag&Drop question
Goto Forum:
  


Current Time: Thu Mar 28 13:45:27 GMT 2024

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

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

Back to the top