Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » How to configure e4xmi for a radio button menu
How to configure e4xmi for a radio button menu [message #1706590] Fri, 28 August 2015 00:17 Go to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
I get check marks, not radio buttons.

index.php/fa/23036/0/



<?xml version="1.0" encoding="UTF-8"?>
<application:Application xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:application="http://www.eclipse.org/ui/2010/UIModel/application" xmlns:basic="http://www.eclipse.org/ui/2010/UIModel/application/ui/basic" xmlns:menu="http://www.eclipse.org/ui/2010/UIModel/application/ui/menu" xmi:id="_k_uxEUbHEeWJ0OUswaJgig" elementId="org.eclipse.e4.application" bindingContexts="_k_uxEEbHEeWJ0OUswaJgig">
  <children xsi:type="basic:TrimmedWindow" xmi:id="_wCjlUEbHEeWJ0OUswaJgig" elementId="twobox.app.trimmedwindow.0">
    <children xsi:type="basic:PartSashContainer" xmi:id="_w3WfUEbHEeWJ0OUswaJgig" elementId="twobox.app.partsashcontainer.0">
      <children xsi:type="basic:Part" xmi:id="_xri8YEbHEeWJ0OUswaJgig" elementId="twobox.app.part.TopBox" contributionURI="bundleclass://TwoBox.app/core.TopBox" label="TopBox" closeable="true">
        <tags>Container:BorderPane</tags>
        <toolbar xmi:id="_lJdu4Ew4EeW5B9szxvF73g" elementId="twobox.app.toolbar.0">
          <children xsi:type="menu:HandledToolItem" xmi:id="_ERqKIEziEeW7Qp-pzyj-PA" elementId="twobox.app.handledtoolitem.topology" label="Topology" command="_JYU3EEzkEeW7Qp-pzyj-PA">
            <menu xmi:id="_FPjVwEziEeW7Qp-pzyj-PA" elementId="twobox.app.menu.0">
              <children xsi:type="menu:HandledMenuItem" xmi:id="_Oc7EQEziEeW7Qp-pzyj-PA" elementId="twobox.app.handledmenuitem.lineTopology" label="Line Topology" selected="true" type="Radio" command="_g9T2QEziEeW7Qp-pzyj-PA"/>
              <children xsi:type="menu:HandledMenuItem" xmi:id="_VWZdgEziEeW7Qp-pzyj-PA" elementId="twobox.app.handledmenuitem.loopTopology" label="Loop Topology" type="Radio" command="_vG-foEziEeW7Qp-pzyj-PA"/>
            </menu>
          </children>
          <children xsi:type="menu:ToolControl" xmi:id="_s_lAMEzgEeW7Qp-pzyj-PA" elementId="twobox.app.toolcontrol.0"/>
          <children xsi:type="menu:ToolBarSeparator" xmi:id="_38sqgEzfEeW7Qp-pzyj-PA" elementId="twobox.app.toolbarseparator.0"/>
          <children xsi:type="menu:HandledToolItem" xmi:id="_uSJKoEw4EeW5B9szxvF73g" elementId="twobox.app.handledtoolitem.zoomIn" label="Zoom In" command="_pb3sUExFEeW5B9szxvF73g"/>
          <children xsi:type="menu:HandledToolItem" xmi:id="_ZGkIQEw5EeW5B9szxvF73g" elementId="twobox.app.handledtoolitem.zoomOut" label="Zoom Out" command="_01srUExFEeW5B9szxvF73g"/>
          <children xsi:type="menu:HandledToolItem" xmi:id="_Emm_UExGEeW5B9szxvF73g" elementId="twobox.app.handledtoolitem.ZoomReset" label="Zoom Reset" command="_7u1GUExFEeW5B9szxvF73g">
            <parameters xmi:id="_uXDrkExTEeW5B9szxvF73g" elementId="twobox.app.parameter.0" name="core.twobox.app.commandparameter.zoomResetSceneGraph.Scene_Graph" value="core.twobox.app.commandparameter.zoomResetSceneGraph"/>
          </children>
        </toolbar>
      </children>
      <children xsi:type="basic:PartSashContainer" xmi:id="_HDNRsEdxEeWQuaDNY149jw" elementId="twobox.app.partsashcontainer.1" horizontal="true">
        <children xsi:type="basic:Part" xmi:id="_yKIV0EbHEeWJ0OUswaJgig" elementId="twobox.app.part.BottomLeftBox" contributionURI="bundleclass://TwoBox.app/core.BottomLeftBox" label="BottomLeftBox">
          <tags>Container:AnchorPane</tags>
        </children>
        <children xsi:type="basic:Part" xmi:id="_Mbe98EdxEeWQuaDNY149jw" elementId="twobox.app.part.BottomRightBox" contributionURI="bundleclass://TwoBox.app/core.BottomRightBox" label="BottomRightBox"/>
      </children>
    </children>
  </children>
  <handlers xmi:id="_c4YH0ExLEeW5B9szxvF73g" elementId="twobox.app.handler.zoomIn" contributionURI="bundleclass://TwoBox.app/handlers.EtherColumnZoomIn" command="_pb3sUExFEeW5B9szxvF73g"/>
  <handlers xmi:id="_fklPYExLEeW5B9szxvF73g" elementId="twobox.app.handler.zoomOut" contributionURI="bundleclass://TwoBox.app/handlers.EtherColumnZoomOut" command="_01srUExFEeW5B9szxvF73g"/>
  <handlers xmi:id="_l3jpUExLEeW5B9szxvF73g" elementId="twobox.app.handler.zoomReset" contributionURI="bundleclass://TwoBox.app/handlers.EtherColumnZoomReset" command="_7u1GUExFEeW5B9szxvF73g"/>
  <handlers xmi:id="_6PJG4EziEeW7Qp-pzyj-PA" elementId="twobox.app.handler.etherColumnTopologyToLine" contributionURI="bundleclass://TwoBox.app/handlers.EtherColumnTopolgyToLine" command="_g9T2QEziEeW7Qp-pzyj-PA"/>
  <handlers xmi:id="_Ezf2cEzjEeW7Qp-pzyj-PA" elementId="twobox.app.handler.command.etherColumnTopolgyToLoop" contributionURI="bundleclass://TwoBox.app/handlers.EtherColumnTopolgyToLoop" command="_vG-foEziEeW7Qp-pzyj-PA"/>
  <handlers xmi:id="_M_VaAEzkEeW7Qp-pzyj-PA" elementId="twobox.app.handler.noop" contributionURI="bundleclass://TwoBox.app/handlers.NoOp" command="_JYU3EEzkEeW7Qp-pzyj-PA"/>
  <rootContext xmi:id="_k_uxEEbHEeWJ0OUswaJgig" elementId="org.eclipse.ui.contexts.dialogAndWindow" name="In Dialog and Windows">
    <children xmi:id="_k_uxEkbHEeWJ0OUswaJgig" elementId="org.eclipse.ui.contexts.window" name="In Windows"/>
    <children xmi:id="_k_uxE0bHEeWJ0OUswaJgig" elementId="org.eclipse.ui.contexts.dialog" name="In Dialogs"/>
  </rootContext>
  <commands xmi:id="_pb3sUExFEeW5B9szxvF73g" elementId="twobox.app.command.etherColumnZoomIn" commandName="Ether Column Zoom In" description="Zoom in"/>
  <commands xmi:id="_01srUExFEeW5B9szxvF73g" elementId="twobox.app.command.etherColumnZoomOut" commandName="Ether Column Zoom Out" description="Zoom Out"/>
  <commands xmi:id="_7u1GUExFEeW5B9szxvF73g" elementId="twobox.app.command.Ether Column Zoom Reset" commandName="Ether Column Zoom Reset" description="Zoom reset">
    <parameters xmi:id="_RtWnkExQEeW5B9szxvF73g" elementId="core.twobox.app.commandparameter.zoomResetSceneGraph.Scene_Graph" name="SceneGraph" typeId=""/>
  </commands>
  <commands xmi:id="_g9T2QEziEeW7Qp-pzyj-PA" elementId="twobox.app.command.etherColumnTopolgyToLine" commandName="Ether Column Topolgy To Line" description="Change the ether column topolgy to a line"/>
  <commands xmi:id="_vG-foEziEeW7Qp-pzyj-PA" elementId="twobox.app.command.command.etherColumnTopolgyToLoop" commandName="Ether Column Topology To Loop" description="Change the ether column topolgy to a loop"/>
  <commands xmi:id="_JYU3EEzkEeW7Qp-pzyj-PA" elementId="twobox.app.command.noop" commandName="noop" description="No Operation"/>
  <addons xmi:id="_k_uxFEbHEeWJ0OUswaJgig" elementId="org.eclipse.e4.core.commands.service" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
  <addons xmi:id="_k_uxFUbHEeWJ0OUswaJgig" elementId="org.eclipse.e4.ui.contexts.service" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
  <addons xmi:id="_k_uxFkbHEeWJ0OUswaJgig" elementId="org.eclipse.fx.ui.keybindings.e4.service" contributionURI="bundleclass://org.eclipse.fx.ui.keybindings.e4/org.eclipse.fx.ui.keybindings.e4.BindingServiceAddon"/>
  <addons xmi:id="_k_uxF0bHEeWJ0OUswaJgig" elementId="org.eclipse.e4.ui.workbench.commands.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.CommandProcessingAddon"/>
  <addons xmi:id="_k_uxGEbHEeWJ0OUswaJgig" elementId="org.eclipse.e4.ui.workbench.contexts.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.ContextProcessingAddon"/>
  <addons xmi:id="_k_uxGUbHEeWJ0OUswaJgig" elementId="org.eclipse.fx.ui.keybindings.e4.model" contributionURI="bundleclass://org.eclipse.fx.ui.keybindings.e4/org.eclipse.fx.ui.keybindings.e4.BindingProcessingAddon"/>
  <addons xmi:id="_k_uxGkbHEeWJ0OUswaJgig" elementId="org.eclipse.e4.ui.workbench.addons.HandlerProcessingAddon" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.HandlerProcessingAddon"/>
</application:Application>
  • Attachment: Snap8.png
    (Size: 3.69KB, Downloaded 507 times)


Oxygen 3a
Windows 10
Re: How to configure e4xmi for a radio button menu [message #1706613 is a reply to message #1706590] Fri, 28 August 2015 07:38 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6414
Registered: July 2009
Senior Member
Hi,

This looks like a bug in the JavaFX renderer. Please file a bug at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Efxclipse

Tom

On 28.08.15 02:17, Paul Roubekas wrote:
> I get check marks, not radio buttons.
>
>
>
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <application:Application xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:application="http://www.eclipse.org/ui/2010/UIModel/application" xmlns:basic="http://www.eclipse.org/ui/2010/UIModel/application/ui/basic" xmlns:menu="http://www.eclipse.org/ui/2010/UIModel/application/ui/menu" xmi:id="_k_uxEUbHEeWJ0OUswaJgig" elementId="org.eclipse.e4.application" bindingContexts="_k_uxEEbHEeWJ0OUswaJgig">
> <children xsi:type="basic:TrimmedWindow" xmi:id="_wCjlUEbHEeWJ0OUswaJgig" elementId="twobox.app.trimmedwindow.0">
> <children xsi:type="basic:PartSashContainer" xmi:id="_w3WfUEbHEeWJ0OUswaJgig" elementId="twobox.app.partsashcontainer.0">
> <children xsi:type="basic:Part" xmi:id="_xri8YEbHEeWJ0OUswaJgig" elementId="twobox.app.part.TopBox" contributionURI="bundleclass://TwoBox.app/core.TopBox" label="TopBox" closeable="true">
> <tags>Container:BorderPane</tags>
> <toolbar xmi:id="_lJdu4Ew4EeW5B9szxvF73g" elementId="twobox.app.toolbar.0">
> <children xsi:type="menu:HandledToolItem" xmi:id="_ERqKIEziEeW7Qp-pzyj-PA" elementId="twobox.app.handledtoolitem.topology" label="Topology" command="_JYU3EEzkEeW7Qp-pzyj-PA">
> <menu xmi:id="_FPjVwEziEeW7Qp-pzyj-PA" elementId="twobox.app.menu.0">
> <children xsi:type="menu:HandledMenuItem" xmi:id="_Oc7EQEziEeW7Qp-pzyj-PA" elementId="twobox.app.handledmenuitem.lineTopology" label="Line Topology" selected="true" type="Radio" command="_g9T2QEziEeW7Qp-pzyj-PA"/>
> <children xsi:type="menu:HandledMenuItem" xmi:id="_VWZdgEziEeW7Qp-pzyj-PA" elementId="twobox.app.handledmenuitem.loopTopology" label="Loop Topology" type="Radio" command="_vG-foEziEeW7Qp-pzyj-PA"/>
> </menu>
> </children>
> <children xsi:type="menu:ToolControl" xmi:id="_s_lAMEzgEeW7Qp-pzyj-PA" elementId="twobox.app.toolcontrol.0"/>
> <children xsi:type="menu:ToolBarSeparator" xmi:id="_38sqgEzfEeW7Qp-pzyj-PA" elementId="twobox.app.toolbarseparator.0"/>
> <children xsi:type="menu:HandledToolItem" xmi:id="_uSJKoEw4EeW5B9szxvF73g" elementId="twobox.app.handledtoolitem.zoomIn" label="Zoom In" command="_pb3sUExFEeW5B9szxvF73g"/>
> <children xsi:type="menu:HandledToolItem" xmi:id="_ZGkIQEw5EeW5B9szxvF73g" elementId="twobox.app.handledtoolitem.zoomOut" label="Zoom Out" command="_01srUExFEeW5B9szxvF73g"/>
> <children xsi:type="menu:HandledToolItem" xmi:id="_Emm_UExGEeW5B9szxvF73g" elementId="twobox.app.handledtoolitem.ZoomReset" label="Zoom Reset" command="_7u1GUExFEeW5B9szxvF73g">
> <parameters xmi:id="_uXDrkExTEeW5B9szxvF73g" elementId="twobox.app.parameter.0" name="core.twobox.app.commandparameter.zoomResetSceneGraph.Scene_Graph" value="core.twobox.app.commandparameter.zoomResetSceneGraph"/>
> </children>
> </toolbar>
> </children>
> <children xsi:type="basic:PartSashContainer" xmi:id="_HDNRsEdxEeWQuaDNY149jw" elementId="twobox.app.partsashcontainer.1" horizontal="true">
> <children xsi:type="basic:Part" xmi:id="_yKIV0EbHEeWJ0OUswaJgig" elementId="twobox.app.part.BottomLeftBox" contributionURI="bundleclass://TwoBox.app/core.BottomLeftBox" label="BottomLeftBox">
> <tags>Container:AnchorPane</tags>
> </children>
> <children xsi:type="basic:Part" xmi:id="_Mbe98EdxEeWQuaDNY149jw" elementId="twobox.app.part.BottomRightBox" contributionURI="bundleclass://TwoBox.app/core.BottomRightBox" label="BottomRightBox"/>
> </children>
> </children>
> </children>
> <handlers xmi:id="_c4YH0ExLEeW5B9szxvF73g" elementId="twobox.app.handler.zoomIn" contributionURI="bundleclass://TwoBox.app/handlers.EtherColumnZoomIn" command="_pb3sUExFEeW5B9szxvF73g"/>
> <handlers xmi:id="_fklPYExLEeW5B9szxvF73g" elementId="twobox.app.handler.zoomOut" contributionURI="bundleclass://TwoBox.app/handlers.EtherColumnZoomOut" command="_01srUExFEeW5B9szxvF73g"/>
> <handlers xmi:id="_l3jpUExLEeW5B9szxvF73g" elementId="twobox.app.handler.zoomReset" contributionURI="bundleclass://TwoBox.app/handlers.EtherColumnZoomReset" command="_7u1GUExFEeW5B9szxvF73g"/>
> <handlers xmi:id="_6PJG4EziEeW7Qp-pzyj-PA" elementId="twobox.app.handler.etherColumnTopologyToLine" contributionURI="bundleclass://TwoBox.app/handlers.EtherColumnTopolgyToLine" command="_g9T2QEziEeW7Qp-pzyj-PA"/>
> <handlers xmi:id="_Ezf2cEzjEeW7Qp-pzyj-PA" elementId="twobox.app.handler.command.etherColumnTopolgyToLoop" contributionURI="bundleclass://TwoBox.app/handlers.EtherColumnTopolgyToLoop" command="_vG-foEziEeW7Qp-pzyj-PA"/>
> <handlers xmi:id="_M_VaAEzkEeW7Qp-pzyj-PA" elementId="twobox.app.handler.noop" contributionURI="bundleclass://TwoBox.app/handlers.NoOp" command="_JYU3EEzkEeW7Qp-pzyj-PA"/>
> <rootContext xmi:id="_k_uxEEbHEeWJ0OUswaJgig" elementId="org.eclipse.ui.contexts.dialogAndWindow" name="In Dialog and Windows">
> <children xmi:id="_k_uxEkbHEeWJ0OUswaJgig" elementId="org.eclipse.ui.contexts.window" name="In Windows"/>
> <children xmi:id="_k_uxE0bHEeWJ0OUswaJgig" elementId="org.eclipse.ui.contexts.dialog" name="In Dialogs"/>
> </rootContext>
> <commands xmi:id="_pb3sUExFEeW5B9szxvF73g" elementId="twobox.app.command.etherColumnZoomIn" commandName="Ether Column Zoom In" description="Zoom in"/>
> <commands xmi:id="_01srUExFEeW5B9szxvF73g" elementId="twobox.app.command.etherColumnZoomOut" commandName="Ether Column Zoom Out" description="Zoom Out"/>
> <commands xmi:id="_7u1GUExFEeW5B9szxvF73g" elementId="twobox.app.command.Ether Column Zoom Reset" commandName="Ether Column Zoom Reset" description="Zoom reset">
> <parameters xmi:id="_RtWnkExQEeW5B9szxvF73g" elementId="core.twobox.app.commandparameter.zoomResetSceneGraph.Scene_Graph" name="SceneGraph" typeId=""/>
> </commands>
> <commands xmi:id="_g9T2QEziEeW7Qp-pzyj-PA" elementId="twobox.app.command.etherColumnTopolgyToLine" commandName="Ether Column Topolgy To Line" description="Change the ether column topolgy to a line"/>
> <commands xmi:id="_vG-foEziEeW7Qp-pzyj-PA" elementId="twobox.app.command.command.etherColumnTopolgyToLoop" commandName="Ether Column Topology To Loop" description="Change the ether column topolgy to a loop"/>
> <commands xmi:id="_JYU3EEzkEeW7Qp-pzyj-PA" elementId="twobox.app.command.noop" commandName="noop" description="No Operation"/>
> <addons xmi:id="_k_uxFEbHEeWJ0OUswaJgig" elementId="org.eclipse.e4.core.commands.service" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
> <addons xmi:id="_k_uxFUbHEeWJ0OUswaJgig" elementId="org.eclipse.e4.ui.contexts.service" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
> <addons xmi:id="_k_uxFkbHEeWJ0OUswaJgig" elementId="org.eclipse.fx.ui.keybindings.e4.service" contributionURI="bundleclass://org.eclipse.fx.ui.keybindings.e4/org.eclipse.fx.ui.keybindings.e4.BindingServiceAddon"/>
> <addons xmi:id="_k_uxF0bHEeWJ0OUswaJgig" elementId="org.eclipse.e4.ui.workbench.commands.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.CommandProcessingAddon"/>
> <addons xmi:id="_k_uxGEbHEeWJ0OUswaJgig" elementId="org.eclipse.e4.ui.workbench.contexts.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.ContextProcessingAddon"/>
> <addons xmi:id="_k_uxGUbHEeWJ0OUswaJgig" elementId="org.eclipse.fx.ui.keybindings.e4.model" contributionURI="bundleclass://org.eclipse.fx.ui.keybindings.e4/org.eclipse.fx.ui.keybindings.e4.BindingProcessingAddon"/>
> <addons xmi:id="_k_uxGkbHEeWJ0OUswaJgig" elementId="org.eclipse.e4.ui.workbench.addons.HandlerProcessingAddon" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.HandlerProcessingAddon"/>
> </application:Application>
>
Re: How to configure e4xmi for a radio button menu [message #1706624 is a reply to message #1706613] Fri, 28 August 2015 08:35 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6414
Registered: July 2009
Senior Member
Hi,

Went ahead file and fixed the bug myself so that it will make it into
the next release scheduled for Sep 2nd 2015

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=476097

Tom

On 28.08.15 09:38, Tom Schindl wrote:
> Hi,
>
> This looks like a bug in the JavaFX renderer. Please file a bug at
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Efxclipse
>
> Tom
>
> On 28.08.15 02:17, Paul Roubekas wrote:
>> I get check marks, not radio buttons.
>>
>>
>>
>>
>>
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <application:Application xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:application="http://www.eclipse.org/ui/2010/UIModel/application" xmlns:basic="http://www.eclipse.org/ui/2010/UIModel/application/ui/basic" xmlns:menu="http://www.eclipse.org/ui/2010/UIModel/application/ui/menu" xmi:id="_k_uxEUbHEeWJ0OUswaJgig" elementId="org.eclipse.e4.application" bindingContexts="_k_uxEEbHEeWJ0OUswaJgig">
>> <children xsi:type="basic:TrimmedWindow" xmi:id="_wCjlUEbHEeWJ0OUswaJgig" elementId="twobox.app.trimmedwindow.0">
>> <children xsi:type="basic:PartSashContainer" xmi:id="_w3WfUEbHEeWJ0OUswaJgig" elementId="twobox.app.partsashcontainer.0">
>> <children xsi:type="basic:Part" xmi:id="_xri8YEbHEeWJ0OUswaJgig" elementId="twobox.app.part.TopBox" contributionURI="bundleclass://TwoBox.app/core.TopBox" label="TopBox" closeable="true">
>> <tags>Container:BorderPane</tags>
>> <toolbar xmi:id="_lJdu4Ew4EeW5B9szxvF73g" elementId="twobox.app.toolbar.0">
>> <children xsi:type="menu:HandledToolItem" xmi:id="_ERqKIEziEeW7Qp-pzyj-PA" elementId="twobox.app.handledtoolitem.topology" label="Topology" command="_JYU3EEzkEeW7Qp-pzyj-PA">
>> <menu xmi:id="_FPjVwEziEeW7Qp-pzyj-PA" elementId="twobox.app.menu.0">
>> <children xsi:type="menu:HandledMenuItem" xmi:id="_Oc7EQEziEeW7Qp-pzyj-PA" elementId="twobox.app.handledmenuitem.lineTopology" label="Line Topology" selected="true" type="Radio" command="_g9T2QEziEeW7Qp-pzyj-PA"/>
>> <children xsi:type="menu:HandledMenuItem" xmi:id="_VWZdgEziEeW7Qp-pzyj-PA" elementId="twobox.app.handledmenuitem.loopTopology" label="Loop Topology" type="Radio" command="_vG-foEziEeW7Qp-pzyj-PA"/>
>> </menu>
>> </children>
>> <children xsi:type="menu:ToolControl" xmi:id="_s_lAMEzgEeW7Qp-pzyj-PA" elementId="twobox.app.toolcontrol.0"/>
>> <children xsi:type="menu:ToolBarSeparator" xmi:id="_38sqgEzfEeW7Qp-pzyj-PA" elementId="twobox.app.toolbarseparator.0"/>
>> <children xsi:type="menu:HandledToolItem" xmi:id="_uSJKoEw4EeW5B9szxvF73g" elementId="twobox.app.handledtoolitem.zoomIn" label="Zoom In" command="_pb3sUExFEeW5B9szxvF73g"/>
>> <children xsi:type="menu:HandledToolItem" xmi:id="_ZGkIQEw5EeW5B9szxvF73g" elementId="twobox.app.handledtoolitem.zoomOut" label="Zoom Out" command="_01srUExFEeW5B9szxvF73g"/>
>> <children xsi:type="menu:HandledToolItem" xmi:id="_Emm_UExGEeW5B9szxvF73g" elementId="twobox.app.handledtoolitem.ZoomReset" label="Zoom Reset" command="_7u1GUExFEeW5B9szxvF73g">
>> <parameters xmi:id="_uXDrkExTEeW5B9szxvF73g" elementId="twobox.app.parameter.0" name="core.twobox.app.commandparameter.zoomResetSceneGraph.Scene_Graph" value="core.twobox.app.commandparameter.zoomResetSceneGraph"/>
>> </children>
>> </toolbar>
>> </children>
>> <children xsi:type="basic:PartSashContainer" xmi:id="_HDNRsEdxEeWQuaDNY149jw" elementId="twobox.app.partsashcontainer.1" horizontal="true">
>> <children xsi:type="basic:Part" xmi:id="_yKIV0EbHEeWJ0OUswaJgig" elementId="twobox.app.part.BottomLeftBox" contributionURI="bundleclass://TwoBox.app/core.BottomLeftBox" label="BottomLeftBox">
>> <tags>Container:AnchorPane</tags>
>> </children>
>> <children xsi:type="basic:Part" xmi:id="_Mbe98EdxEeWQuaDNY149jw" elementId="twobox.app.part.BottomRightBox" contributionURI="bundleclass://TwoBox.app/core.BottomRightBox" label="BottomRightBox"/>
>> </children>
>> </children>
>> </children>
>> <handlers xmi:id="_c4YH0ExLEeW5B9szxvF73g" elementId="twobox.app.handler.zoomIn" contributionURI="bundleclass://TwoBox.app/handlers.EtherColumnZoomIn" command="_pb3sUExFEeW5B9szxvF73g"/>
>> <handlers xmi:id="_fklPYExLEeW5B9szxvF73g" elementId="twobox.app.handler.zoomOut" contributionURI="bundleclass://TwoBox.app/handlers.EtherColumnZoomOut" command="_01srUExFEeW5B9szxvF73g"/>
>> <handlers xmi:id="_l3jpUExLEeW5B9szxvF73g" elementId="twobox.app.handler.zoomReset" contributionURI="bundleclass://TwoBox.app/handlers.EtherColumnZoomReset" command="_7u1GUExFEeW5B9szxvF73g"/>
>> <handlers xmi:id="_6PJG4EziEeW7Qp-pzyj-PA" elementId="twobox.app.handler.etherColumnTopologyToLine" contributionURI="bundleclass://TwoBox.app/handlers.EtherColumnTopolgyToLine" command="_g9T2QEziEeW7Qp-pzyj-PA"/>
>> <handlers xmi:id="_Ezf2cEzjEeW7Qp-pzyj-PA" elementId="twobox.app.handler.command.etherColumnTopolgyToLoop" contributionURI="bundleclass://TwoBox.app/handlers.EtherColumnTopolgyToLoop" command="_vG-foEziEeW7Qp-pzyj-PA"/>
>> <handlers xmi:id="_M_VaAEzkEeW7Qp-pzyj-PA" elementId="twobox.app.handler.noop" contributionURI="bundleclass://TwoBox.app/handlers.NoOp" command="_JYU3EEzkEeW7Qp-pzyj-PA"/>
>> <rootContext xmi:id="_k_uxEEbHEeWJ0OUswaJgig" elementId="org.eclipse.ui.contexts.dialogAndWindow" name="In Dialog and Windows">
>> <children xmi:id="_k_uxEkbHEeWJ0OUswaJgig" elementId="org.eclipse.ui.contexts.window" name="In Windows"/>
>> <children xmi:id="_k_uxE0bHEeWJ0OUswaJgig" elementId="org.eclipse.ui.contexts.dialog" name="In Dialogs"/>
>> </rootContext>
>> <commands xmi:id="_pb3sUExFEeW5B9szxvF73g" elementId="twobox.app.command.etherColumnZoomIn" commandName="Ether Column Zoom In" description="Zoom in"/>
>> <commands xmi:id="_01srUExFEeW5B9szxvF73g" elementId="twobox.app.command.etherColumnZoomOut" commandName="Ether Column Zoom Out" description="Zoom Out"/>
>> <commands xmi:id="_7u1GUExFEeW5B9szxvF73g" elementId="twobox.app.command.Ether Column Zoom Reset" commandName="Ether Column Zoom Reset" description="Zoom reset">
>> <parameters xmi:id="_RtWnkExQEeW5B9szxvF73g" elementId="core.twobox.app.commandparameter.zoomResetSceneGraph.Scene_Graph" name="SceneGraph" typeId=""/>
>> </commands>
>> <commands xmi:id="_g9T2QEziEeW7Qp-pzyj-PA" elementId="twobox.app.command.etherColumnTopolgyToLine" commandName="Ether Column Topolgy To Line" description="Change the ether column topolgy to a line"/>
>> <commands xmi:id="_vG-foEziEeW7Qp-pzyj-PA" elementId="twobox.app.command.command.etherColumnTopolgyToLoop" commandName="Ether Column Topology To Loop" description="Change the ether column topolgy to a loop"/>
>> <commands xmi:id="_JYU3EEzkEeW7Qp-pzyj-PA" elementId="twobox.app.command.noop" commandName="noop" description="No Operation"/>
>> <addons xmi:id="_k_uxFEbHEeWJ0OUswaJgig" elementId="org.eclipse.e4.core.commands.service" contributionURI="bundleclass://org.eclipse.e4.core.commands/org.eclipse.e4.core.commands.CommandServiceAddon"/>
>> <addons xmi:id="_k_uxFUbHEeWJ0OUswaJgig" elementId="org.eclipse.e4.ui.contexts.service" contributionURI="bundleclass://org.eclipse.e4.ui.services/org.eclipse.e4.ui.services.ContextServiceAddon"/>
>> <addons xmi:id="_k_uxFkbHEeWJ0OUswaJgig" elementId="org.eclipse.fx.ui.keybindings.e4.service" contributionURI="bundleclass://org.eclipse.fx.ui.keybindings.e4/org.eclipse.fx.ui.keybindings.e4.BindingServiceAddon"/>
>> <addons xmi:id="_k_uxF0bHEeWJ0OUswaJgig" elementId="org.eclipse.e4.ui.workbench.commands.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.CommandProcessingAddon"/>
>> <addons xmi:id="_k_uxGEbHEeWJ0OUswaJgig" elementId="org.eclipse.e4.ui.workbench.contexts.model" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.ContextProcessingAddon"/>
>> <addons xmi:id="_k_uxGUbHEeWJ0OUswaJgig" elementId="org.eclipse.fx.ui.keybindings.e4.model" contributionURI="bundleclass://org.eclipse.fx.ui.keybindings.e4/org.eclipse.fx.ui.keybindings.e4.BindingProcessingAddon"/>
>> <addons xmi:id="_k_uxGkbHEeWJ0OUswaJgig" elementId="org.eclipse.e4.ui.workbench.addons.HandlerProcessingAddon" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.HandlerProcessingAddon"/>
>> </application:Application>
>>
>
Re: How to configure e4xmi for a radio button menu [message #1706649 is a reply to message #1706624] Fri, 28 August 2015 12:24 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
Wow that was fast, thanks.

So when you say you fixed it will the fix also get the group of menu items to behave like radio button, not just look like radio buttons?


Oxygen 3a
Windows 10
Re: How to configure e4xmi for a radio button menu [message #1706652 is a reply to message #1706649] Fri, 28 August 2015 12:34 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6414
Registered: July 2009
Senior Member
In a JavaFX menu a radio button in a drop down menu looks exactly like
this (with the check mark)! The fix only makes the to button grouped so
that only one is selected at a time.

If you don't like the visual representation you need to fix that
yourself (I hope it can be done via CSS)

Tom

On 28.08.15 14:24, Paul Roubekas wrote:
> Wow that was fast, thanks.
>
> So when you say you fixed it will the fix also get the group of menu
> items to behave like radio button, not just look like radio buttons?
Re: How to configure e4xmi for a radio button menu [message #1706655 is a reply to message #1706652] Fri, 28 August 2015 12:56 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
My bad

I miss understood your first answer

As long as it works like a radio button I am happy with that




Oxygen 3a
Windows 10
Re: How to configure e4xmi for a radio button menu [message #1706658 is a reply to message #1706655] Fri, 28 August 2015 12:57 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6414
Registered: July 2009
Senior Member
On 28.08.15 14:56, Paul Roubekas wrote:
> My bad
>
> I miss understood your first answer
> As long as it works like a radio button I am happy with that
>
>

Yes it now behaves like this.

Tom
Previous Topic:How to get a specific MPart in a command handler with DI
Next Topic:Eclipse 4.5 Mars appearance regression
Goto Forum:
  


Current Time: Wed Oct 17 04:14:06 GMT 2018

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

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

Back to the top