Skip to content

Commit 3b5d1ca

Browse files
committed
More examples for using the visibleWhen in e3
1 parent c5b2526 commit 3b5d1ca

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

com.vogella.eclipse.e3.coreexpressions/plugin.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@
7676
commandId="org.eclipse.ui.file.exit"
7777
label="Exit visible"
7878
style="push">
79+
<visibleWhen
80+
checkEnabled="false">
81+
<reference
82+
definitionId="oneElementSelected">
83+
</reference>
84+
</visibleWhen>
7985
</command>
8086
<command
8187
commandId="org.eclipse.ui.file.exit"

0 commit comments

Comments
 (0)