Decidedly odd.... It looks correct to me and I have several client that are using that technique so I know it works. Are there any tools in the drop-down?
Jesse On Wed, Aug 24, 2011 at 12:04 PM, Virginie BERRE < [email protected]> wrote: > Hi Andrea. > > I don't manage to hide info button. > I've added a custom tollbar manager. It's loaded. > > @Override > protected boolean filterTool(String categoryId, ToolProxy proxy, > Class<? extends ToolCategory> categoryType) { > System.out.println("******* "+categoryId+ " > "+categoryId.equals("net.refractions.udig.tool.category.info")); > > > boolean defaultInfoTool = > categoryId.equals("net.refractions.udig.tool.category.info"); > return defaultInfoTool; > } > > It logs "******* net.refractions.udig.tool.category.info true" and returns > true but the "i" button is still here... > I don't understand why. Could you tell me my mistake? > Thank you. > > Best regards, > > Virginie BERRE - Chef de projet > +33 (0)1 30 15 40 58 > Pensez environnement ! N'imprimez ce mail que si c'est vraiment nécessaire > ! > > -----Message d'origine----- > De : [email protected] > [mailto:[email protected]] De la part de andrea > antonello > Envoyé : mercredi 24 août 2011 09:58 > À : User-friendly Desktop Internet GIS > Objet : Re: [udig-devel] Hide toolbar buttons > > Hi. I will answer you by citing Jesse in a previous email: > "Look at the eu.udig.tutorials.tool-view tutorial. It shows how to > remove tools from the tool bar." > > Andrea > > 2011/8/24 Virginie BERRE <[email protected]> > > > > Dear all, > > > > > > > > Is it possible to configure my application (in plugin.xml file or product > file) to hide these buttons : 'stop drawing', 'show selected data', 'commit > > > > changes', 'rollback changes' and information (i) buttons ? > > > > > > > > Thanks. > > > > > > > > Best regards, > > > > > > > > Virginie BERRE - Chef de projet > > > > +33 (0)1 30 15 40 58 > > > > ________________________________ > > > > ZA Les Erables - bâtiment 4 > > > > 66, route de Sartrouville > > 78230 Le Pecq > > Tel: +33 (0)1 30 15 40 50 > > Fax: +33 (0)1 30 15 40 60 > > www.magellium.fr > > > > Pensez environnement ! N'imprimez ce mail que si c'est vraiment > nécessaire > ! > > > > > > > > _______________________________________________ > > 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 >
_______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
