Hello everyone,

I want to add a toggle button to the main uDig toolbar. Is that possible?

I can create a normal action button like this but I cannot find any way to
make it a toggle action button:

  <extension
         point="net.refractions.udig.project.ui.tool">
      <actionTool
            class="com.test.ShowHideLabelsTool"
            icon="icons/btn_show-hide_icon.gif"
            id="com.test.showlabels"
            name="Show/Hide labeks"
            onToolbar="true"
            tooltip="Show/Hide labels">
         <enablement></enablement>
      </actionTool>
   </extension>

Regards,
Jaime
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to