OK, I have it now. I will leave out the test as it does not seem to matter, and may be of use in some circumstances.
I will post latest version on cadplan.com.au Geoff On 25/04/2014 20:39, edgar.sol...@web.de wrote: > just checked. EnableCheckFactory has the method since 2005. ..ede > > On 25.04.2014 14:27, edgar.sol...@web.de wrote: >> Geoff, >> >> possibly. to be on the safe side i suggest you always compile/update your >> extension against latest svn. >> >> ..ede >> >> On 25.04.2014 02:15, Geoffrey Roy wrote: >>> Dear Michael and Ede >>> >>> I have now tyested the WMS layer example and it seems to work OK by >>> leaving out the check (actually setting it to zero). This will mean >>> that if no layers exist (including a WMS layer) then the printed page >>> will be blank, to which you can add furniture items - perhaps this might >>> be useful by itself. >>> >>> By the way, I could not get the >>> "check.createAtLeastNLayerablesMustBeSelectedCheck(n) " to work, is this >>> because I have a less than recent version of OJxxx.jar? >>> >>> thanks >>> >>> Geoff >>> >>> >>> >>> On 24/04/2014 19:47, Michael Michaud wrote: >>>> 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 >>>> >> ------------------------------------------------------------------------------ >> 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 > -- Dr Geoffrey G Roy Cadplan 129 Gloster Street, Subiaco WA 6008 Tel: (08) 9381 4870 Mob: 04000 31298 Email: ge...@cadplan.com.au http://www.cadplan.com.au ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4570 / Virus Database: 3920/7395 - Release Date: 04/25/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