[udig-devel] GISApplication getView

Jesse Eichar jeichar.w at gmail.com
Mon May 5 04:19:03 PDT 2008


Not sure what the problam is... Are you calling the method when you  
are in the display thread?

Hmmmm.  Could be the id as well.  Try putting just the ID of your view  
as listed in the viewID in the XML.  And also try
pluginID.Viewid.

I would guess that the problem is with the id.

Jesse



On 4-May-08, at 11:50 PM, Geoff Hay wrote:

> Hi
> I am trying to send a message between two of my plug-ins and am  
> calling the GISApplication getView method passing the plug-in ID to  
> get a reference to my view plugin. When I call this passing one of  
> uDigs IDs it works fine but I get a null result when calling using  
> my own plug-in ID.  Both plug-ins are working fine but I cannot get  
> a reference to my view pluggin.  Both plug-ins are part of a feature  
> which is included in an application along with UDig.  Do I have to  
> reference the feature ID instead of the pluggin ID?  Is there any  
> way to get a list of included plugin IDs at run time?
> Thanks for your help
> geoff
>
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.refractions.net/pipermail/udig-devel/attachments/20080505/27bd9a46/attachment-0001.html


More information about the udig-devel mailing list