Re: [udig-devel] default tool example

2011-08-17 Thread Scott Henderson
Committed and pushed. Scott. From: Jody Garnett [mailto:jody.garn...@gmail.com] Sent: Thursday, August 18, 2011 3:21 PM To: Scott Henderson Cc: User-friendly Internet GIS Subject: Re: default tool example That is *great* so we are half way there ... if you look at the other email about "hooking

Re: [udig-devel] default tool example

2011-08-17 Thread Jody Garnett
That is *great* so we are half way there ... if you look at the other email about "hooking stuff" up (How to run modal toolbar contributions) I think we can handle the other half of the problem. Can you commit the code to make the correct tool highlighted in the palette a) our screen snaps wi

Re: [udig-devel] default tool example

2011-08-17 Thread Scott Henderson
Thanks for that Jody, Unfortunately root.setDefaultEntry(tool); set’s Zoom as highlighted in the palette, but the tool is still not active so dragging the mouse does not zoom in. I have also tried using a ToolProxy as such: ToolProxy toolProxy = (ToolProxy) modalItem; toolProxy.setAc

[udig-devel] enablement notification

2011-08-17 Thread Jody Garnett
Staring to sort this one out as well 1. TooProxy.notifyResultObtained( boolean result ) is passed directly on to setEnabled public void notifyResultObtained( boolean result ) { setEnabled(result); } 2. This actually comes from the interface ILazyOpListener 3. This is called from LazyOpFi

Re: [udig-devel] How to run modal toolbar contributions (for comparison)

2011-08-17 Thread Jody Garnett
In particular the following looks to be where the side effects occur... public void setActiveEditor(IEditorPart targetEditor) { super.setActiveEditor(targetEditor); IToolManager toolManager = ApplicationGIS.getToolManager(); toolManager.contributeGlobalActions(targetEditor, getActionBars());

[udig-devel] How to run modal toolbar contributions (for comparison)

2011-08-17 Thread Jody Garnett
Hi Scott: The code to do the modal toolbar contributions seems to have some fun side effects a) keyboard bindings work b) default tool activated (not sure if it is set on the MapViewer or just activated) To try these things out; so you can step through with a debugger and reproduce the same

[udig-devel] default tool example

2011-08-17 Thread Jody Garnett
Hi Scott: I am trying to hunt down example(s). There is what I have sorted ... 1) ToolManager owns the concept of the default tool ... ToolManager.defaultModalToolProxy 2) this method has package visibility; and is accessed directly (there is no getter!) Here is an example of MenuToolCateg

[udig-devel] tool visibility / actionsets example

2011-08-17 Thread Jody Garnett
Hi John: So we are down to two things before docs a) visibility b) enablement I found a decent code example for visibility. It is controlled with ActionSets (which is something that is part of the perspective definition; so the perspective can turn off tool categories that would otherwise ann

Re: [udig-devel] trouble with help

2011-08-17 Thread Jody Garnett
It is removed; it is just the code was broken for anyone who did not have an empty source folder. All fixed now. -- Jody Garnett On Thursday, 18 August 2011 at 11:27 AM, Levi Putna wrote: > I don't see a problem with remove the "src" folder. > > As part of the original design I intended to

[udig-devel] Map Editor page change

2011-08-17 Thread John Hudson
I have edited the Map Editor page: http://udig.refractions.net/confluence/display/EN/Map+editor review for new Tool Palette changes. Thanks John Hudson Developer LISAsoft --- Ph: +61 8 8425 8000 Fax: +61 8 8425 8099 Mob: +61 402 30 0415 Level 1,

Re: [udig-devel] trouble with help

2011-08-17 Thread Levi Putna
I don't see a problem with remove the "src" folder. As part of the original design I intended to wrap some actions in a CheatSheetAction so they may be user with cheat sheets preform action, as I progressed I released there was no need to do this as cheat sheets could already make use of the curre

Re: [udig-devel] [udig-users] BeeGIS presentation at Foss4g headless

2011-08-17 Thread andrea antonello
> Questions Andrea: did they lift the limit on doing 2 talks. I asked right now. Let's see what they answer. > I am very sad you are not going ... Me too. It is the second year in a row, I hope this is not a bad omen. Andrea > -- > Jody Garnett > > On Wednesday, 17 August 2011 at 10:27 PM, an

Re: [udig-devel] palette a first peek

2011-08-17 Thread Jody Garnett
I think we can remove the word "Tool" from the end of a lot of them; and we should experiment with some different kind of palette divisions. -- Jody Garnett On Wednesday, 17 August 2011 at 5:26 PM, Mauricio Pazos wrote: > On Tuesday, August 16, 2011 06:29:17 PM Jody Garnett wrote: > > Got t

Re: [udig-devel] BeeGIS presentation at Foss4g headless

2011-08-17 Thread Jody Garnett
Questions Andrea: did they lift the limit on doing 2 talks. I am very sad you are not going ... -- Jody Garnett On Wednesday, 17 August 2011 at 10:27 PM, andrea antonello wrote: > Dear developers, users, > due to personal issues I will not be able to participate to this years > Foss4g (sni

[udig-devel] BeeGIS presentation at Foss4g headless

2011-08-17 Thread andrea antonello
Dear developers, users, due to personal issues I will not be able to participate to this years Foss4g (sniff, sniff, no life code sprint, no Jesse, Jody & Co.). Since I was 100% sure I would I sent in 2 presentations, that were accepted. I now have really short time to find a substitute presenter

[udig-devel] [jira] Created: (UDIG-1786) Map to Image Export creates bad images

2011-08-17 Thread Frank Gasdorf (JIRA)
Map to Image Export creates bad images --- Key: UDIG-1786 URL: https://jira.codehaus.org/browse/UDIG-1786 Project: uDIG Issue Type: Bug Components: application, visualization using map layer and

Re: [udig-devel] palette a first peek

2011-08-17 Thread Mauricio Pazos
On Tuesday, August 16, 2011 06:29:17 PM Jody Garnett wrote: > Got the following on screen ... not hooked up to the Map yet but that can > be tomorrow. There are all kinds of different options for how to display > this stuff (the folder is a default icon; we can force some of these to be > always op