[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| 
Re: [udig-devel] Disabling Modal Tools and categories
 | 
Hi Andrea:
Two responses:
- It looks like you found a bug in the category ui (what to do when the 
entire category is disabled?). I wonder if we could save the warning 
until the user clicks? or otherwise make it not a pop up. The actual 
warning comes from the tool you have selected not being able to work on 
the provided layer; can you think of a way for us not to let the user 
change the tool?
- As for splitting modal tools out; the idea of categories is due to the 
large number of modal tools we expect an application to have over time; 
I would actually like to organize the tools into an SWT palette; but 
even there they have the concept of folders to allow for scalability. Up 
until very recently there was only one PAN tool; does a category with 
one tool in it meet your needs?
Jody
Andrew Jennings wrote:
Good afternoon.  I'm working on a UDIG 1.1.0 plugin with Eclipse 3.3.3 
RCP.  We're implementing a group of ModalTools within five 
categories.  We'd like to disable the tools according to an 
"enablement" on the tools in plugin.xml.
The good news is that the disabling of tools works great and happens 
when I want.  The bad news is that the category icons can still be 
clicked - this causes a warning box to pop up from UDig that says the 
tool won't work on the selected layer so I should pick another layer.  
I'd really like that warning to not appear.  Any suggestions for how 
to get my category to behave the way I'd like?  Or how to split 
ModalTools out so they don't need to be in a category?
Thanks for your help.
- Andrew
------------------------------------------------------------------------
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel