Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Eclipse 3.x Radio Menue
Eclipse 3.x Radio Menue [message #1731023] Mon, 02 May 2016 10:26
philipp huebner is currently offline philipp huebnerFriend
Messages: 65
Registered: July 2009
Member
Hi together,
I have a radio state menue relized like that and it works:

 <command
            defaultHandler="de.teraport.dfx.ui.handler.AdjustCuttingPlaneNormalHandler"
            id="de.teraport.dfx.ui.parameterTestHandler"
            name="Adjust Triangle Handler">
         <commandParameter
               id="org.eclipse.ui.commands.radioStateParameter"
               name="adjustPlanes"
               optional="false">
         </commandParameter>
         <state
               id="org.eclipse.ui.commands.radioState">
            <class
                  class="de.teraport.dfx.ui.handler.MinMaxRadioState">
               <parameter
                     name="default"
                     value="X">
               </parameter>
               <parameter
                     name="persisted"
                     value="true">
               </parameter>
            </class>
         </state>
      </command>


My problem is that when ever the Viewer looses its focus, the menues radio is set on the default value, not on the last setted!
Previous Topic:XML editor embedded in a MultiPageEditor
Next Topic:Minimal editor based on bespoke IDocument
Goto Forum:
  


Current Time: Fri Apr 26 05:58:31 GMT 2024

Powered by FUDForum. Page generated in 0.02145 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top