Or you might have a look at ViewportModel.getRenderManagerInternal().getImage()

There you can grab the last Image, that has been rendered. But note,
that it can be null, if the renderer has not been invoked (e.g. Map
Area is minimized of an other editor is in front of the Map)!

Frank

2012/4/18 andrea antonello <[email protected]>:
> You might want to look at:
> net.refractions.udig.project.ui.ApplicationGIS.drawMap(DrawMapParameter)
>
> If you pass the current vieport parameters, it will create you the same image.
>
> Andrea
>
> On Wed, Apr 18, 2012 at 9:11 AM, nanithehaddock
> <[email protected]> wrote:
>> I'm new to udig. and i'm trying to access the input image(map) which is
>> already displaying in Udig-Editor
>>
>> the following is my code to take udig map editor:
>> Display display=Display.getCurrent();
>>                IWorkbenchPage
>> workbenchpage=PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
>>                IEditorInput 
>> editorInput=workbenchpage.getActiveEditor().getEditorInput();
>>  please help me.
>>
>> --
>> View this message in context: 
>> http://gis.19327.n5.nabble.com/How-to-access-displaying-image-from-UdigEditor-tp5648383p5648383.html
>> Sent from the uDig Developer mailing list archive at Nabble.com.
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to