Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alliuqemal committed Jan 22, 2025
1 parent b575ce0 commit b0872c0
Showing 1 changed file with 3 additions and 26 deletions.
29 changes: 3 additions & 26 deletions plugins/org.eclipse.fordiac.ide.application/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -921,26 +921,6 @@

<extension point="org.eclipse.ui.menus">
<menuContribution locationURI="menu:navigate?after=goTo">
<command commandId="org.eclipse.fordiac.ide.application.commands.openType">
<visibleWhen checkEnabled="true">
<or>
<with variable="selection" >
<count value="1" />
<iterate ifEmpty="false">
<or>
<instanceof value="org.eclipse.fordiac.ide.model.libraryElement.FBNetworkElement" />
<reference definitionId="org.eclipse.fordiac.ide.application.FBNelementEditPartSelection" />
<instanceof value="org.eclipse.fordiac.ide.model.libraryElement.IInterfaceElement" />
<instanceof value="org.eclipse.fordiac.ide.gef.editparts.InterfaceEditPart"/>
</or>
</iterate>
</with>
<with variable="activeEditor">
<adapt type="org.eclipse.fordiac.ide.model.libraryElement.FBNetworkElement" />
</with>
</or>
</visibleWhen>
</command>
<command commandId="org.eclipse.fordiac.ide.application.commands.gotoparent"
icon="platform:/plugin/org.eclipse.search/icons/full/elcl16/search_prev.png"/>
<command commandId="org.eclipse.fordiac.ide.application.commands.gotochild"
Expand Down Expand Up @@ -1273,7 +1253,7 @@
<with variable="activeEditor">
<adapt type="org.eclipse.fordiac.ide.model.libraryElement.FBNetwork" />
</with>
<with variable="selection">
<with variable="selection">
<iterate ifEmpty="true">
<or>
<instanceof value="org.eclipse.fordiac.ide.application.editparts.AbstractFBNElementEditPart" />
Expand Down Expand Up @@ -1495,7 +1475,6 @@
</command>
<command commandId="org.eclipse.fordiac.ide.application.commands.openType"
style="push">
<!-- Menu on System Explorer -->
<visibleWhen checkEnabled="true">
<with variable="selection" >
<count value="1" />
Expand Down Expand Up @@ -1523,10 +1502,8 @@
<count value="1" />
<iterate ifEmpty="false">
<or>
<instanceof value="org.eclipse.fordiac.ide.model.libraryElement.FBNetworkElement" />
<reference definitionId="org.eclipse.fordiac.ide.application.FBNelementEditPartSelection" />
<instanceof value="org.eclipse.fordiac.ide.model.libraryElement.IInterfaceElement" />
<instanceof value="org.eclipse.fordiac.ide.gef.editparts.InterfaceEditPart"/>
<instanceof value="org.eclipse.fordiac.ide.model.libraryElement.TypedSubApp" />
<instanceof value="org.eclipse.fordiac.ide.model.libraryElement.CFBInstance" />
</or>
</iterate>
</with>
Expand Down

0 comments on commit b0872c0

Please sign in to comment.