please give some code to open a map and display it on workspace..
Shell shell = new Shell(Display.getDefault());
FileDialog dialog = new FileDialog(shell);
String fileSelected = dialog.open();
StyleView styleView = null;
try{
IWorkbenchPage page =
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
page.showView( fileSelected );
}catch(Exception e)
{
e.printStackTrace();
}
--
View this message in context:
http://gis.19327.n5.nabble.com/How-to-open-a-map-and-display-it-on-workspace-tp5634657p5634657.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