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: 48
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: Tue Sep 25 12:37:12 GMT 2018

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

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

Back to the top