Eclipse 3.x Radio Menue [message #1731023] |
Mon, 02 May 2016 10:26 |
philipp huebner 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!
|
|
|
Powered by
FUDForum. Page generated in 0.02145 seconds