Disable palette item [message #85921] |
Sat, 28 June 2003 16:01  |
Eclipse User |
|
|
|
Is there a way to disable palette items? My model can contain at-most-one
of a certain object. There is a palette item corresponding to this
object. I'd like to disable this palette item once the model contains the
object in question. Is this possible? If not, does anyone have
suggestions on a decent workaround (removing the palette item altogether,
popping up an error dialog, etc.)?
|
|
|
Re: Disable palette item [message #85935 is a reply to message #85921] |
Sat, 28 June 2003 16:24  |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
You can pop up a dialog if and when that item's tool is activated. Do this
at the edit domain perhaps, which is where the active tool is held.
The palette's model is shared across all editor instances, so removing it or
disabling it is problematic.
"Greg Merrill" <greghmerrill@yahoo.com> wrote in message
news:bdks5u$r37$1@rogue.oti.com...
> Is there a way to disable palette items? My model can contain at-most-one
> of a certain object. There is a palette item corresponding to this
> object. I'd like to disable this palette item once the model contains the
> object in question. Is this possible? If not, does anyone have
> suggestions on a decent workaround (removing the palette item altogether,
> popping up an error dialog, etc.)?
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03052 seconds