Hi >> Dear Ede and Jukka >> >> I am attaching a new version of my printer plugin that does not disable the >> Printer buttons if there are no layers present. I presume that if only WMS >> layers exist they do not count in the >> "check.createAtLeastNLayersMustExistCheck(n)". > that would be an issue within OJ and should be fixed there! OJ has
check.createAtLeastNLayersMustExistCheck(n) and check.createAtLeastNLayerablesMustBeSelectedCheck(n) but not check.createAtLeastNLayerablesMustExistCheck(n) The fix would be to add this last method. But as you say, we can also consider legal to print a view without layerables. Michaƫl > >> I have not been able to test this as I cannot seem to access and display a >> WMS layer - perhaps I could by pointed to a site that has a valid WMS layer >> for me to try. > just try > > Open->WMS..->demo.degree...->Cite Layers > > works for me.. you have to right click 'Zoom to wms layer' in layernamepanel > though > >> If this small change does what you need then I will post the update - please >> try it out. > fixing the check should take precedence over removing it altogether. on the > other hand, if your plugin simply prints the view, it'd be perfectly legal to > print an empty view ;) > > ..ede > >> thanks >> >> Geoff >> >> On 22/04/2014 22:30, edgar.sol...@web.de wrote: >>> that must be fixed by the extension's original author in it's plugin's >>> enablecheck.. ede >>> >>> On 22.04.2014 16:08, Rahkonen Jukka (Tike) wrote: >>>> Hi, >>>> >>>> If there are only WMS layers in the project the both printing options in >>>> OJ Plus stay grayed and tooltip informs "At least one layer must exist". >>>> Printing is possible once a dummy vector layer is created. Could it be >>>> possible to count also WMS layers as printable layers in this context? >>>> >>>> -Jukka Rahkonen- >>>> >>>> ------------------------------------------------------------------------------ >>>> Start Your Social Network Today - Download eXo Platform >>>> Build your Enterprise Intranet with eXo Platform Software >>>> Java Based Open Source Intranet - Social, Extensible, Cloud Ready >>>> Get Started Now And Turn Your Intranet Into A Collaboration Platform >>>> http://p.sf.net/sfu/ExoPlatform >>>> _______________________________________________ >>>> Jump-pilot-devel mailing list >>>> Jump-pilot-devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>>> >>> ------------------------------------------------------------------------------ >>> Start Your Social Network Today - Download eXo Platform >>> Build your Enterprise Intranet with eXo Platform Software >>> Java Based Open Source Intranet - Social, Extensible, Cloud Ready >>> Get Started Now And Turn Your Intranet Into A Collaboration Platform >>> http://p.sf.net/sfu/ExoPlatform >>> _______________________________________________ >>> Jump-pilot-devel mailing list >>> Jump-pilot-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>> >> >> >> ----- >> No virus found in this message. >> Checked by AVG - www.avg.com >> Version: 2014.0.4569 / Virus Database: 3920/7386 - Release Date: 04/23/14 >> >> >> >> ------------------------------------------------------------------------------ >> Start Your Social Network Today - Download eXo Platform >> Build your Enterprise Intranet with eXo Platform Software >> Java Based Open Source Intranet - Social, Extensible, Cloud Ready >> Get Started Now And Turn Your Intranet Into A Collaboration Platform >> http://p.sf.net/sfu/ExoPlatform >> >> >> >> _______________________________________________ >> Jump-pilot-devel mailing list >> Jump-pilot-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> > ------------------------------------------------------------------------------ > Start Your Social Network Today - Download eXo Platform > Build your Enterprise Intranet with eXo Platform Software > Java Based Open Source Intranet - Social, Extensible, Cloud Ready > Get Started Now And Turn Your Intranet Into A Collaboration Platform > http://p.sf.net/sfu/ExoPlatform > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel