[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] Adding layers
|
What extension point are you using to declare the toolbar icon? The tool
extension point is one method, but you could also use
org.eclipse.ui.actionSet/action. That action could then run the
UndoableCommand.
Richard
On Thu, 2007-06-14 at 16:32 +0000, James Anderson wrote:
> Hello all,
>
> I've just spent the last four hours creating an icon that when clicked will
> automatically add a layer onto the map viewer. However, whenever I use a
> class that extends AbstractCommand and implements UndoableCommand the icon
> doesn't do anything. Whenever, I connect the same class to another class
> that extends the AbstractActionTool it does work, but the layer is null. Is
> there anyway around this?
>
> _________________________________________________________________
> Txt a lot? Get Messenger FREE on your mobile.
> https://livemessenger.mobile.uk.msn.com/
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel