What I have found is the keyboard shortcuts work when you clear your udig 
workspace or make a new map. On restart if uDig has defined maps the keyboard 
shortcuts will not work on them.

Digging into this it seems the PaletteViewer class does not have a copy of the 
correct/current editdomain...?

I'll dig more.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of John Hudson
Sent: Tuesday, 30 August 2011 9:20 AM
To: User-friendly Desktop Internet GIS
Subject: Re: [udig-devel] gef palette compiling

Looks like we jumped the gun with keyboard shortcuts: after a while playing 
around it becomes unhappy:

I see Scott opened a JIRA for this:

https://jira.codehaus.org/browse/UDIG-1795

Error is:

!ENTRY org.eclipse.ui 4 0 2011-08-30 09:17:52.477
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
        at 
org.eclipse.gef.ui.palette.PaletteViewer.setActiveTool(PaletteViewer.java:401)
        at 
net.refractions.udig.project.ui.internal.tool.display.ModalItem.setChecked(ModalItem.java:126)
        at 
net.refractions.udig.project.ui.internal.tool.display.ToolProxy.setActive(ToolProxy.java:490)
        at 
net.refractions.udig.project.ui.internal.tool.display.ToolProxy.enableModalTool(ToolProxy.java:454)
        at 
net.refractions.udig.project.ui.internal.tool.display.ToolProxy.access$0(ToolProxy.java:451)
        at 
net.refractions.udig.project.ui.internal.tool.display.ToolProxy$3.run(ToolProxy.java:446)
        at 
net.refractions.udig.ui.PlatformGIS.syncInDisplayThread(PlatformGIS.java:285)
        at 
net.refractions.udig.ui.PlatformGIS.syncInDisplayThread(PlatformGIS.java:261)
        at 
net.refractions.udig.project.ui.internal.tool.display.ToolProxy.run(ToolProxy.java:444)
        at 
net.refractions.udig.project.ui.internal.tool.display.ToolCommandHandler.execute(ToolCommandHandler.java:99)
        at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
        at 
org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
        at 
org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
        at 
org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
        at 
org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
        at 
org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
        at 
org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
        at 
org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
        at 
org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
        at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104)
        at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1100)
        at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1509)
        at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4640)
        at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
        at org.eclipse.swt.widgets.Control.windowProc(Control.java:4528)
        at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2530)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
        at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
        at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at 
net.refractions.udig.internal.ui.UDIGApplication.start(UDIGApplication.java:136)
        at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of John Hudson
Sent: Tuesday, 30 August 2011 8:58 AM
To: User-friendly Desktop Internet GIS
Subject: Re: [udig-devel] gef palette compiling

Hello,

I noticed some updates to the palette branch (thanks - Levi/Jody), now the 
keyboard shortcuts are happy again.

Today we have two priorities for the palette branch:

1) selection tool is not shown at all - not sure why? could it be an enablement 
thing?
2) tool category order flops around like a dead fish

I am attaching item 1 and Scott can you checkout item 2?

Cheers,

John

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Mauricio Pazos
Sent: Tuesday, 30 August 2011 12:56 AM
To: [email protected]
Subject: Re: [udig-devel] gef palette compiling

On Monday, August 29, 2011 03:10:13 PM andrea antonello wrote:
> Hi MAuricio, happend to me also some time ago, simple to solve:
> https://teambruegge.in.tum.de/groups/unicase/wiki/5b324/Remove_API_baseline
> _warning.html
>
> Ciao,
> Andrea
Thanks a lot, it works.
--
Mauricio Pazos


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

The contents of this email are confidential and may be subject to legal or 
professional privilege and copyright. No representation is made that this email 
is free of viruses or other defects. If you have received this communication in 
error, you may not copy or distribute any part of it or otherwise disclose its 
contents to anyone. Please advise the sender of your incorrect receipt of this 
correspondence.
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

The contents of this email are confidential and may be subject to legal or 
professional privilege and copyright. No representation is made that this email 
is free of viruses or other defects. If you have received this communication in 
error, you may not copy or distribute any part of it or otherwise disclose its 
contents to anyone. Please advise the sender of your incorrect receipt of this 
correspondence.
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

The contents of this email are confidential and may be subject to legal or 
professional privilege and copyright. No representation is made that this email 
is free of viruses or other defects. If you have received this communication in 
error, you may not copy or distribute any part of it or otherwise disclose its 
contents to anyone. Please advise the sender of your incorrect receipt of this 
correspondence.
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to