| <?xml version="1.0" encoding="UTF-8"?> | |
| <?eclipse version="3.4"?> | |
| <plugin> | |
| <extension | |
| point="org.eclipse.ui.menus"> | |
| <menuContribution | |
| allPopups="false" | |
| locationURI="popup:org.eclipse.ui.popup.any?after=group.open"> | |
| <command | |
| commandId="org.eclipse.fx.ide.ui.openwithsceneb" | |
| label="%command.label" | |
| style="push"> | |
| <visibleWhen | |
| checkEnabled="false"> | |
| <with | |
| variable="activeMenuSelection"> | |
| <iterate | |
| ifEmpty="false" | |
| operator="and"> | |
| <adapt | |
| type="org.eclipse.core.resources.IFile"> | |
| <test | |
| property="org.eclipse.core.resources.name" | |
| value="*.fxml"> | |
| </test> | |
| </adapt> | |
| </iterate> | |
| <count | |
| value="1"> | |
| </count> | |
| </with> | |
| </visibleWhen> | |
| </command> | |
| </menuContribution> | |
| </extension> | |
| <extension | |
| point="org.eclipse.ui.commands"> | |
| <command | |
| id="org.eclipse.fx.ide.ui.openwithsceneb" | |
| name="%command.name"> | |
| </command> | |
| </extension> | |
| <extension | |
| point="org.eclipse.ui.handlers"> | |
| <handler | |
| class="org.eclipse.fx.ide.ui.handler.OpenWithFXMLHandler" | |
| commandId="org.eclipse.fx.ide.ui.openwithsceneb"> | |
| </handler> | |
| </extension> | |
| <extension | |
| point="org.eclipse.ui.preferencePages"> | |
| <page | |
| class="org.eclipse.fx.ide.ui.wizards.internal.JFXWorkbenchPreferencePage" | |
| id="org.eclipse.fx.ide.ui" | |
| name="JavaFX"> | |
| </page> | |
| </extension> | |
| </plugin> |